Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I would like to configure a payment term of 90 days since invoice date and day 20.
This means that if invoice is 20/12/2015, then:
20/12/2015 + 90 days = 19/03/2016, so due date would be 20/03/2016.
But if configured 90 days + day 20 Odoo will go for day 20th of the next month (20/04/2016).
Is it possible to configure due date to be 20/03 in this case?
The problem is in the class account_payment_term from the file account.py in the account addon. There is a line in the method copute() that says:
next_date += relativedelta(day=line.days2, months=1)
If you change months to 0, it might be wrong when the amount of days in the "days" field results in a smaller day date than the one specified in days2.
I tried to post a link to the module we created to solve it, but it seems I'm not allowed to do so.
W.r.t your query I have gone through it and tried to replicate it. Few recommendations which I would like to suggest are :-
1) By default in Odoo if we set Day of the Month as positive it gives the day of the next month. And this is what is happening in your case.This scan be done by following Accounting>Configuration>Miscellaneous>Payment Terms
2) My recommendation would be to set Day of the Month as Zero, if you do so it would be calculate for net days. By doing so I hope you issue might get resolved
3) Also refer to below link for more info on the payment terms
Hope this helps.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/31/16, 3:55 PM|
|Seen: 936 times|
|Last updated: 9/6/16, 9:48 AM|