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

I am currently using version 13 Enterprise of Odoo and I need the journal sequences not to take the system date, but the accounting record date.

For example, when a transaction is recorded after the end of the month, the entry bears the date of the following month in progress and not the month in which the movement must be recorded in accounting. This makes it difficult for me to keep a monthly physical file (required by the regulatory entity) for example in month 05 I would have journals with the number 06 instead of 05.

Does anyone have an idea how to solve this? Because the sequence of the diaries parameterized in the system does not allow me to do it.

Example as it is created:

MMI-BILL-%(range_year)s-%(month)s-


아바타
취소
베스트 답변

You can't do that  with a sequence because its for current dates only not past dates.

You can use an alternative way. All sequences fields are regular text fields (Char) .

Make the field editable by going In the form view of the record (Debug mode), click on the debug and Edit View: Form. Usually, the field is "name" or "number", depending on the model. Add the attribute readonly="False" then click on save and update . Refresh your page and then you can update the sequence field directly every time you have past dates.


아바타
취소
작성자 베스트 답변

to risky

아바타
취소
관련 게시물 답글 화면 활동
11
1월 24
17800
0
3월 15
4034
1
3월 15
5387
1
12월 23
25573
5
2월 25
11810