コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3807 ビュー

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
2359
0
4月 21
2315
1
6月 23
3126
1
1月 23
2917
0
9月 22
2624