Skip to content

Commit

Permalink
[15.0][MIG] stock_picking_back2draft: Migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BT-dmontull authored and otmanelagy committed Nov 8, 2022
1 parent c7c925e commit 92d9cb2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stock_picking_back2draft/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Pickings back to draft",
"summary": "Reopen cancelled pickings",
"version": "14.0.1.0.0",
"version": "15.0.1.0.0",
"category": "Warehouse Management",
"website": "https://github.com/OCA/stock-logistics-workflow",
"author": "Agile Business Group, Odoo Community Association (OCA)",
Expand Down
1 change: 1 addition & 0 deletions stock_picking_back2draft/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Lorenzo Battistini <[email protected]>
* Iván Montagud <[email protected]>
* Pimolnat Suntian <[email protected]>
* David Montull Guasch <[email protected]>
2 changes: 1 addition & 1 deletion stock_picking_back2draft/tests/test_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_back_to_draft(self):
self.picking_a.action_back_to_draft()
self.assertEqual(self.picking_a.state, "draft")
self.picking_a.action_confirm()
self.assertEqual(self.picking_a.state, "confirmed")
self.assertEqual(self.picking_a.state, "assigned")
with self.assertRaises(UserError):
self.picking_a.action_back_to_draft()
self.picking_a.action_cancel()
Expand Down

0 comments on commit 92d9cb2

Please sign in to comment.