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

I have made my custom button in journal entries form of odoo 15 and i want to generate sequence with that button instead of post button please guide me.

아바타
취소
작성자

Thank you @Mehjabin.


베스트 답변

Hi Danish,

name = fields.Char(string='Number', copy=False, compute='_compute_name', readonly=False, store=True, index=True, tracking=True)

This is the field where the sequence is generating in journal entry, and is using the compute function "_compute_name" for this. You can modify this function as you need and try

Hope this will help you

Thank You

아바타
취소
관련 게시물 답글 화면 활동
1
7월 22
4123
1
3월 25
1919
4
10월 24
2173
0
4월 24
2415
0
2월 24
1495