← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 669545] Re: Blocked import on cancel SO and update SO status in OERP from magento and vis-versa

 

I tested it and it seems to work fine so I pushed it.

Thank you!

** Changed in: magentoerpconnect
       Status: Confirmed => Fix Released

-- 
Blocked import on cancel SO and update SO status in OERP from magento and vis-versa
https://bugs.launchpad.net/bugs/669545
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in Magento Open ERP Connector: Fix Released

Bug description:
Hi,


When a SO is blocked because the payment process was cancel or because the credit card isn't valid, the SO is still imported trough the connector !!!

This is quite dangerous, cause nobody will see that. Even worst, if for your payment method you said validate the order, the order will be validated !

The result is a validated SO with delivery order that you'll ship, but you'll never receive the payment.

Here is a patch that allow to tic a box to ensure the blocked SO will never ever be imported into OpenERP. You will need to create a new SO. This SO, even if the state change, will remain only on the website.

The reason of this was that it is quite complexe to deal with state update between OERP & Magento, so I decided to do this this way.

By default, the comportement remain the same (box untic) so the blocked SO are imported !

Thanks to apply ASAP,

Regards,

Joël





References