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

Hello,

I am testing Odoo 17 and setup a database with sequences (ir.sequence) for both 2023 and 2024.

When I try to issue a document using a date from 2023, Odoo cannot find the "subsequence for date range" and always considering 2024 as the sequence.

In later versions, the sequence number is based in "use date range option".

Please check the following image with sequences setup:

https://ibb.co/BfDngQm

Thank you all in advance


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

Hello,

I have found it.

I forgot to pass the "date" argument to the ir_sequence.next_by_id(date) method.

It is solved.

Thank you all

아바타
취소
관련 게시물 답글 화면 활동
0
3월 24
3191
2
11월 23
2593
4
5월 25
2673
2
5월 25
6093
1
3월 25
1790