Import Price - New Excel file structure
This commit is contained in:
Binary file not shown.
@@ -228,7 +228,7 @@ class ImportPrices(Wizard):
|
||||
}
|
||||
references = [
|
||||
('price_type', 'price.fixtype', [('name', '=', 'Market price')]),
|
||||
('price_currency', 'currency.currency', [('code', '=', 'USD')]),
|
||||
('price_currency', 'currency.currency', [('name', '=', 'USD')]),
|
||||
('price_calendar', 'price.calendar', [('name', '=', 'Argus EU')]),
|
||||
('price_unit', 'product.uom', [('name', '=', 'Mt')]),
|
||||
]
|
||||
|
||||
Binary file not shown.
@@ -112,7 +112,7 @@ class PurchaseTradeTestCase(ModuleTestCase):
|
||||
'price.fixtype': _FakeRecordModel([
|
||||
SimpleNamespace(id=10, name='Market price')]),
|
||||
'currency.currency': _FakeRecordModel([
|
||||
SimpleNamespace(id=20, code='USD')]),
|
||||
SimpleNamespace(id=20, name='USD')]),
|
||||
'price.calendar': _FakeRecordModel([
|
||||
SimpleNamespace(id=30, name='Argus EU')]),
|
||||
'product.uom': _FakeRecordModel([
|
||||
@@ -147,7 +147,7 @@ class PurchaseTradeTestCase(ModuleTestCase):
|
||||
'price.fixtype': _FakeRecordModel([
|
||||
SimpleNamespace(id=10, name='Market price')]),
|
||||
'currency.currency': _FakeRecordModel([
|
||||
SimpleNamespace(id=20, code='USD')]),
|
||||
SimpleNamespace(id=20, name='USD')]),
|
||||
'price.calendar': _FakeRecordModel([
|
||||
SimpleNamespace(id=30, name='Argus EU')]),
|
||||
'product.uom': _FakeRecordModel([
|
||||
|
||||
Reference in New Issue
Block a user