Skip to content

Commit

Permalink
[MIG] purchase_all_shipments: Migration to 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelZilli committed May 6, 2022
1 parent 41fe6d6 commit 2de32d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion purchase_all_shipments/__manifest__.py
Expand Up @@ -2,7 +2,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
"name": "Purchase All Shipments",
"version": "13.0.1.0.0",
"version": "15.0.1.0.0",
"author": "Camptocamp,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/purchase-workflow",
"category": "Purchases",
Expand Down
3 changes: 1 addition & 2 deletions purchase_all_shipments/tests/test_three_step_reception.py
Expand Up @@ -10,12 +10,11 @@ def setUpClass(cls):
super().setUpClass()
cls.wh = cls.env.ref("stock.warehouse0")
cls.po = cls.env.ref("purchase.purchase_order_1")
cls.po.location_id = cls.wh.wh_input_stock_loc_id

def test_three_steps_generate_three_pickings(self):
self.wh.reception_steps = "three_steps"
self.po.button_confirm()
self.assertEqual(1, self.po.picking_count)
self.assertEqual(1, self.po.incoming_picking_count)
self.assertEqual(3, self.po.all_picking_count)

def test_action_view_all_pickings_one_step(self):
Expand Down

0 comments on commit 2de32d6

Please sign in to comment.