mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
MIG purchase_by_sale_history to 12.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
'name': 'Purchase by Sale History',
|
'name': 'Purchase by Sale History',
|
||||||
'author': 'Hibou Corp. <hello@hibou.io>',
|
'author': 'Hibou Corp. <hello@hibou.io>',
|
||||||
'version': '11.0.1.0.0',
|
'version': '12.0.1.0.0',
|
||||||
'category': 'Purchases',
|
'category': 'Purchases',
|
||||||
'sequence': 95,
|
'sequence': 95,
|
||||||
'summary': 'Fill Purchase Orders by Sales History',
|
'summary': 'Fill Purchase Orders by Sales History',
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ class TestPurchaseBySaleHistory(common.TransactionCase):
|
|||||||
'product_qty': 100.0,
|
'product_qty': 100.0,
|
||||||
'location_id': wh1.lot_stock_id.id,
|
'location_id': wh1.lot_stock_id.id,
|
||||||
})
|
})
|
||||||
adjust_product11.action_done()
|
adjust_product11.action_validate()
|
||||||
|
|
||||||
wiz.action_confirm()
|
wiz.action_confirm()
|
||||||
self.assertEqual(po1.order_line.filtered(lambda l: l.product_id == product11).product_qty, 0.0) # Because we have so much in stock now.
|
self.assertEqual(po1.order_line.filtered(lambda l: l.product_id == product11).product_qty, 0.0) # Because we have so much in stock now.
|
||||||
|
|||||||
Reference in New Issue
Block a user