Thread Previous • Date Previous • Date Next • Thread Next |
Thank you Guewen. I've checked my modules and the changes from these bug wasn't there.So I updated all to newest branch and retried importing orders. (Haven't changed that in Backend. Because we need that)
Now I can't import any order. Following error is given:Traceback (most recent call last): File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector/connector/queue/worker.py", line 122, in run_job job.perform(session) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector/connector/queue/job.py", line 472, in perform self.result = self.func(session, *self.args, **self.kwargs) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 332, in import_record importer.run(magento_id, force=force) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 189, in run record = self._create_data(map_record) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector-magento/magentoerpconnect/sale.py", line 644, in _create_data map_record, tax_include=tax_include, **kwargs) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector-magento/magentoerpconnect/unit/import_synchronizer.py", line 130, in _create_data return map_record.values(for_create=True, **kwargs) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector/connector/unit/mapper.py", line 895, in values values = self._mapper._apply(self, options=options) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector/connector/unit/mapper.py", line 641, in _apply return self._apply_with_options(map_record) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector/connector/unit/mapper.py", line 686, in _apply_with_options return self.finalize(map_record, result) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector-magento/magentoerpconnect/sale.py", line 739, in finalize values = self._add_cash_on_delivery_line(map_record, values) File "/opt/openerp/server-7.0/openerp/my_addons/new/openerp-connector-magento/magentoerpconnect/sale.py", line 711, in _add_cash_on_delivery_line amount_excl = float(record.get('cod_fee', 0.0)) TypeError: float() argument must be a string or a number
Do you know what to do? Am 2014-01-22 10:45, schrieb Guewen Baconnier:
On 01/22/2014 10:40 AM, jan-philipp.fischer@xxxxxxxxxxxxxx wrote:Did you activated the "Prices include taxes" checkbox on the backend?Which Backend do you mean? In OpenERP Accounting -> Taxes -> Tax included Price is checked.And in Magento Backend the prices are set to included taxes as well.I was speaking about this one. Can you just do the same test without this option? Can be a regression in https://code.launchpad.net/~camptocamp/openerp-connector-magento/7.0-magentoerpconnect-handle-shipping-tax-in-tax_included-context-rde/+merge/193927Is there an other checkbox?
Thread Previous • Date Previous • Date Next • Thread Next |