Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3769 Prikazi

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

Avatar
Opusti
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
Opusti
Avtor

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 Odgovori Prikazi Aktivnost
1
avg. 21
2333
0
apr. 21
2263
1
jun. 23
3099
1
jan. 23
2880
0
sep. 22
2573