Skip to content

Commit

Permalink
[12.0][MIG] stock_inventory_preparation_filter: Migration to 12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierpiernas committed May 28, 2019
1 parent 44ef99c commit bd421a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stock_inventory_preparation_filter/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{
"name": "Extended Inventory Preparation Filters",
"version": "11.0.1.0.0",
"version": "12.0.1.0.0",
"depends": [
"stock",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,28 +62,28 @@ def setUp(self):
(0, 0, {
'product_id': self.product1.id,
'product_uom_id': self.env.ref(
"product.product_uom_unit").id,
"uom.product_uom_unit").id,
'product_qty': 2.0,
'location_id': self.location.id,
}),
(0, 0, {
'product_id': self.product2.id,
'product_uom_id': self.env.ref(
"product.product_uom_unit").id,
"uom.product_uom_unit").id,
'product_qty': 4.0,
'location_id': self.location.id,
}),
(0, 0, {
'product_id': self.product_lot.id,
'product_uom_id': self.env.ref(
"product.product_uom_unit").id,
"uom.product_uom_unit").id,
'product_qty': 6.0,
'location_id': self.location.id,
'prod_lot_id': self.lot.id,
}),
],
})
inventory.action_done()
inventory._action_done()

def test_inventory_category_filter(self):
inventory = self.inventory_model.create({
Expand Down

0 comments on commit bd421a8

Please sign in to comment.