← 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

 

Hello,

I'm taking a look at it right now and we are implementing it part by part. 
First we're only committing the change in order not to import magento's cancelled sale orders. We don't think that the tick box is necessary so we don't allow to import them, ever. So this will change actual behaviour but we do believe this is an improvement so there is no problem with that. 

We'll get through the update improvement ASAP.

Thank you for this great stuff!

** Changed in: magentoerpconnect
     Assignee: (unassigned) => Vianney - www.akretion.com.br (vianneydc)

** Changed in: magentoerpconnect
   Importance: Undecided => High

** Changed in: magentoerpconnect
   Importance: High => Medium

-- 
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: Confirmed

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