Skip to Content
मेन्यू
This question has been flagged
1 Reply
3850 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
अग॰ 21
2381
0
अप्रैल 21
2346
1
जून 23
3150
1
जन॰ 23
2949
0
सित॰ 22
2666