Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6363 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 22
5532
2
thg 5 25
1813
4
thg 5 25
5744
1
thg 4 25
2329
1
thg 8 24
2824