diff options
| author | Tiffany Chang (tic) <tic@odoo.com> | 2020-02-17 15:03:54 +0000 |
|---|---|---|
| committer | Tiffany Chang (tic) <tic@odoo.com> | 2020-03-05 13:04:10 +0000 |
| commit | 99252f3d93ca68077e0169c580eaecb6fc8ce8fd (patch) | |
| tree | cab40e8d6743773755f575d33e8d717228cb24ec /addons/stock/views/stock_move_views.xml | |
| parent | 70146bed17e013a3ecb6b89677060c707df6c546 (diff) | |
[IMP] stock/mrp: Update UX
This commit updates product, stock and manufacturing views for improved
usability. Handles view only changes of overall usability improvement
task. Specifically spec numbers:
1. Add "Run Scheduler" (from stock) to the manufacturing app under operations
5. Make "detailed operations" wizard modal have more intitutive footer
buttons (i.e. don't say "Confirm"/"Cancel" when changes aren't
possible.
8. Rearranging of vendor pricelist view
9. Updating of tooltip content for "property_stock_account_input_categ_id"
Task: 2041853
Diffstat (limited to 'addons/stock/views/stock_move_views.xml')
| -rw-r--r-- | addons/stock/views/stock_move_views.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/stock/views/stock_move_views.xml b/addons/stock/views/stock_move_views.xml index 3ad6c21c2a9..71a972c3727 100644 --- a/addons/stock/views/stock_move_views.xml +++ b/addons/stock/views/stock_move_views.xml @@ -212,10 +212,13 @@ </group> </group> <field name="move_line_ids" attrs="{'readonly': ['|', ('state', '=', 'cancel'), '&', ('state', '=', 'done'), ('is_locked', '=', True)]}" context="{'tree_view_ref': 'stock.view_stock_move_line_operation_tree', 'default_product_uom_id': product_uom, 'default_picking_id': picking_id, 'default_move_id': id, 'default_product_id': product_id, 'default_location_id': location_id, 'default_location_dest_id': location_dest_id, 'default_company_id': company_id}"/> - <footer class="oe_edit_only"> + <footer class="oe_edit_only" attrs="{'invisible': ['|', ('state', '=', 'cancel'), '&', ('state', '=', 'done'), ('is_locked', '=', True)]}"> <button string="Confirm" special="save" class="oe_highlight"/> <button string="Discard" special="cancel"/> </footer> + <footer class="oe_edit_only" attrs="{'invisible': ['|', '&', ('state', '!=', 'cancel'), ('state', '!=', 'done'), '&', ('state', '=', 'done'), ('is_locked', '!=', True)]}"> + <button string="Close" special="cancel"/> + </footer> </form> </field> </record> |
