Export of invoice, Magento may return an empty ID, provoking a dup constraint error

Bug #1337778 reported by Guewen Baconnier @ Camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Connector - Magento
Fix Committed
Undecided
Unassigned

Bug Description

When we create an invoice on Magento, it may happen that instead of returning an ID, it returns Nothing.

In that case, we'll bind the magento.account.invoice with 'None' (as str! the binder must not allow that). And as soon as 2 bindings have the same issue, both will be bound with 'None', raising a duplicate constraint error.

Related branches

Changed in openerp-connector-magento:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.