Skip to Content
Menu
This question has been flagged
1 Reply
3387 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
1966
0
Apr 21
1983
1
Jun 23
2564
1
Jan 23
2463
0
Sep 22
2269