Skip to Content
Menu
This question has been flagged
1 Odpoveď
3859 Zobrazenia

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

Avatar
Zrušiť
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
Zrušiť
Autor

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 Zobrazenia Aktivita
1
aug 21
2384
0
apr 21
2347
1
jún 23
3151
1
jan 23
2951
0
sep 22
2669