콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
6119 화면

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.

아바타
취소
베스트 답변

 Hi E.m.,

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

\https://doc.odoo.com/6.1/book/3/3_9/payment_terms/

Hope this helps.

 Cheers!!

아바타
취소
작성자

Question is how to mix net days + next fixed day (which can be same month or next month depending on when net days calculation falls in the calendar and which fixed date has been selected).

관련 게시물 답글 화면 활동
2
12월 23
2116
1
11월 16
7745
1
12월 22
5742
2
6월 20
4074
5
1월 20
8466