Skip to Content
Menú
This question has been flagged
1 Respondre
3763 Vistes

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

Avatar
Descartar
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
Descartar
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 Respostes Vistes Activitat
1
d’ag. 21
2332
0
d’abr. 21
2261
1
de juny 23
3098
1
de gen. 23
2872
0
de set. 22
2567