Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Import Sales orders Failed because not paid since 30 days

Ahmed Ababneh
on 10/1/15, 5:04 AM 453 views


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

Ahmed Ababneh
On 10/1/15, 5:18 AM

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 10/1/15, 5:04 AM
Seen: 453 times
Last updated: 10/1/15, 5:18 AM