Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
6370 มุมมอง

Hi,

When I try to import sales orders, I get the following message:

Import of the order 100001764 canceled because it has not been paid since 30 days

I need to import all orders (whether they are paid or not).

I thought of overriding "SaleImportRule.check" or "SaleImportRule._rule_global" method, in order to remove this check.

So, How can I import the sales order always?

Thank you

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Ok .. I have just found the solution for this. I am posting it, in case anyone will need it one day :)

Go to Sales->Configuratoin->Sales->Payment Methods.

For each payment mehtod, change the "Days before cancel" to 0.

This way the import process will import sales orders with out performing this check.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ธ.ค. 22
5532
2
พ.ค. 25
1821
Import from Winbooks แก้ไขแล้ว
4
พ.ค. 25
5757
1
เม.ย. 25
2333
1
ส.ค. 24
2830