跳至内容
菜单
此问题已终结
1 回复
3824 查看

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
2370
0
4月 21
2331
1
6月 23
3131
1
1月 23
2929
0
9月 22
2632