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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
2622
화면
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 |
Thank you @Mehjabin.