Hello, we need to define new payment terms in V8. Most of them are easy but one is tricky: 30 days starting on the 1st of next month.
Current literature I can access is for V6.1 https://doc.odoo.com/v6.1/book/3/3_9/payment_terms/
and the columns shown there are very different from what the system is presenting in V8. Any pointer in the proper direction will be gratly appreciated.
Payments terms are defined this way: for example (today 15.12.2014) :
- Number of days = 90 and Day of the month = 0 then ... payment date = current date + 90 = 15.03.2015
- Number of days = 90 and Day of the month = -1 then ... xxx = ( current date + 90 ) ... payment date = last_day_of_month(xxx) = 31.03.2015
- Number of days = 90 and Day of the month = 13 then ... xxx = ( current date + 90 ) ... payment date = day 13 of next_month(xxx) = 13.04.2015
Day of the month - set -1 for the last day of the month. If it's positive, it gives the day of the next month. Set 0 for net days.
I can not comment on previous answer as I do not have 50 karma. So here goes my comment.
Thank you for your response.
Regulat days intervals work fine: 15, 30 or whatever number of days.
The way you describe the handling of the "Date of the month" is innovative from my previous beliefs. I will have to test different scenarios but somehow I feel it will not really help me.
Of all the cases where I used -1, only with 90 days (starting on 15.12) did I get a perfect hit. I tried current month + 30, 45, 60 , 75 and 90. The responses should have been 30/1; 14/2; 1/3; 16/3 and 31/3. Instead I got 31/1; 31/1 (really off the mark); 28/2; 28/2 (another gorss miscalculaton) and, finally, yes, 31/3.
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
|Asked: 12/11/14, 8:59 AM|
|Seen: 1508 times|
|Last updated: 3/16/15, 8:10 AM|