Browse Source

[FIX] list price import

pull/10/head
Thibault Francois 9 years ago
parent
commit
92e50892f8
  1. 1
      beesdoo_migration_asbl_to_coop/migration.py
  2. 2
      import_base/mapper.py

1
beesdoo_migration_asbl_to_coop/migration.py

@ -202,6 +202,7 @@ class migration_framework(import_framework):
'uom_id/id' : 'uom_id/id',
'uom_po_id/id' : 'uom_po_id/id',
'weight' : 'weight',
'list_price' : 'list_price',
}
},
'product.supplierinfo': {

2
import_base/mapper.py

@ -148,9 +148,7 @@ class map_val_default(mapper):
self.map = map
def __call__(self, external_values):
print self.val(external_values)
value = self.map.get(self.val(external_values), self.val(external_values))
print value
return value
def get_fields(self):

Loading…
Cancel
Save