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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
2533
瀏覽次數
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
|
3753 | ||
|
1
3月 25
|
1627 | ||
|
4
10月 24
|
1899 | ||
|
0
4月 24
|
2093 | ||
|
0
2月 24
|
1307 |
Thank you @Mehjabin.