diff --git a/addons/stock/models/stock_move.py b/addons/stock/models/stock_move.py index 40e8c4d19b6..e92b0bf7e2c 100644 --- a/addons/stock/models/stock_move.py +++ b/addons/stock/models/stock_move.py @@ -99,12 +99,13 @@ class StockMove(models.Model): help="Optional: previous stock move when chaining them") picking_id = fields.Many2one('stock.picking', 'Transfer', index=True, states={'done': [('readonly', True)]}, check_company=True) state = fields.Selection([ - ('draft', 'New'), ('cancel', 'Cancelled'), + ('draft', 'New'), ('waiting', 'Waiting Another Move'), ('confirmed', 'Waiting Availability'), ('partially_available', 'Partially Available'), ('assigned', 'Available'), - ('done', 'Done')], string='Status', + ('done', 'Done'), + ('cancel', 'Cancelled')], string='Status', copy=False, default='draft', index=True, readonly=True, help="* New: When the stock move is created and not yet confirmed.\n" "* Waiting Another Move: This state can be seen when a move is waiting for another one, for example in a chained flow.\n" diff --git a/addons/stock/views/stock_move_line_views.xml b/addons/stock/views/stock_move_line_views.xml index b3885c1fc39..aee20c870e3 100644 --- a/addons/stock/views/stock_move_line_views.xml +++ b/addons/stock/views/stock_move_line_views.xml @@ -64,7 +64,7 @@
- +