This issue was fixed and or invalid.
** Changed in: magentoerpconnect
Status: New => Invalid
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/685412
Title:
connector attempts to create invoice that already exists
Status in Magento Open ERP Connector:
Invalid
Bug description:
When I was updating the order status back to magento I ran across an
error.
[2010-11-30 16:09:57,419][midwest] ERROR:Magento Call:[17]:
Arguments:[u'190497', [], 'Invoice Created', True, True]
[2010-11-30 16:09:57,419][midwest] ERROR:Magento Call:[18]: Error:<Fault 102:
'Can not do invoice for order.'>
[2010-11-30 16:09:57,426][midwest] WARNING:Magento Call:Webservice Failure,
sleeping 1 second before next attempt
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse><fault><value><struct><member><name>faultCode</name><value><int>102</int></value></member><member><name>faultString</name><value><string>Can
not do invoice for
order.</string></value></member></struct></value></fault></methodResponse>
Looking at the code it appears it is trying to create an invoice in
magento. I am not sure if the statement is designed to create an
invoice if one already exists, but what happens is when a customer
pays magento already creates an invoice. When I run the updates it
tries to create an invoice where it already exists, even if there were
never any changes since importing the order. To bypass the issue I
commented out the lines shown in the error. I am not sure if it is a
bug just thought id report it.
Perhaps if I turned off create invoice in base_sale it wouldnt do that
but if I did that I couldnt capture payment details.
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp