Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6109 Widoki

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 22
5376
2
maj 25
1418
4
maj 25
5098
1
kwi 25
2130
1
sie 24
2384