Use new keyword for products_by_location
This commit is contained in:
1 parent
a6e9d93d09
commit
91d1abe795
1 file changed
+2
-1
+2
-1
@@ -785,7 +785,8 @@ class PurchaseLine(OSV):
|
||||
'_parent_purchase.party', '_parent_purchase.currency'],
|
||||
context="{'locations': [_parent_purchase.warehouse], " \
|
||||
"'stock_date_end': _parent_purchase.purchase_date, " \
|
||||
"'purchasable': True}")
|
||||
"'purchasable': True, " \
|
||||
"'stock_skip_warehouse': True}")
|
||||
unit_price = fields.Numeric('Unit Price', digits=(16, 4),
|
||||
states={
|
||||
'invisible': "type != 'line'",
|
||||
|
||||
Reference in new issue
Block a user