跳至內容
選單
此問題已被標幟
1 回覆
3834 瀏覽次數

How to add new state in invoice form view in odoo 13

頭像
捨棄
最佳答案

You can add as following


class AccountInvoiceInherit(models.Model):
_inherit = 'account.move'

state = fields.Selection(selection_add=[
('new_state', 'New Satate'), ('done',)
])
頭像
捨棄
作者

Thank you..But i want to add statein between draft and open.how can i do that?

Hi,

Updated in my answer

Thanks

相關帖文 回覆 瀏覽次數 活動
1
8月 21
2375
0
4月 21
2336
1
6月 23
3137
1
1月 23
2941
0
9月 22
2656