Answer.Cost price not sync + customized field not sync
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Connector - Magento |
New
|
Undecided
|
Unassigned |
Bug Description
Hello, i'm in magento 1.9 with the version 7 for the connector revision 1020
I'm trying to extend the connector with a module, to be capable to import other fields like msrp from magento.
I have write this in new module magento19_
@magento_myversion
class MyProductImport
_model_name = 'magento.
@mapping
def msrp(self, record):
return {'pvp': record.get('msrp', 0.0)}
The pvp field is a field that belongs to another module that extends product.product module.
The fiels msrp is not synced, is this definition correctly?
And a second question : Why the cost price isn't synced too? this is in the default module:
@magento
class ProductImportMa
_model_name = 'magento.
# TODO : categ, special_price => minimal_price
direct = [('name', 'name'),
]
Thanks, and excuseme to use this form, but in anwers, i can't