Doesn't import orders because of "cod_fee = NULL"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Connector - Magento |
Fix Released
|
Critical
|
Guewen Baconnier @ Camptocamp |
Bug Description
There is a magento extention which is calles CashOnDelivery. This is done in Connector as well as far as I see.
But if no CashOnDelivery is selected the Magento API gives back a NULL Value.
Snippet from PHP API Request:
["cod_fee"]=> NULL ["base_cod_fee"]=> NULL ["cod_fee_
You can see: ["cod_fee"]=> NULL
but Connector expects a "float(
string or a number".
So I think there is the bug.
Revision Info of openerp-
Get all branches updated to newest version 3 hours ago.
Related branches
- Jan-Philipp Fischer (community): Approve (tested)
- OpenERP Connector Core Editors: Pending requested
-
Diff: 59 lines (+5/-26)1 file modifiedmagentoerpconnect/sale.py (+5/-26)
Changed in openerp-connector-magento: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Removing float funtion in Line 711,712 on sale.py seems to working. Can somebody confirm that?