Skip to Content
Menu
This question has been flagged
1 Reply
2418 Views

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

Avatar
Discard
Best Answer

You can add as following


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

state = fields.Selection(selection_add=[
('new_state', 'New Satate'), ('done',)
])
Avatar
Discard
Author

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

Hi,

Updated in my answer

Thanks

Related Posts Replies Views Activity
1
Aug 21
1233
0
Apr 21
1379
1
Jun 23
1795
1
Jan 23
1551
0
Sep 22
1454