Skip to Content
Menu
This question has been flagged
1 Odpoveď
4164 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
2679
0
apr 21
2666
1
jún 23
3423
1
jan 23
3273
0
sep 22
2966