This question has been flagged
1 Reply
2024 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