Skip to Content
Menu
This question has been flagged
1 Atsakyti
3812 Rodiniai

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

Portretas
Atmesti
Best Answer

You can add as following


class AccountInvoiceInherit(models.Model):
_inherit = 'account.move'

state = fields.Selection(selection_add=[
('new_state', 'New Satate'), ('done',)
])
Portretas
Atmesti
Autorius

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 Rodiniai Veikla
1
rugp. 21
2362
0
bal. 21
2321
1
birž. 23
3127
1
saus. 23
2920
0
rugs. 22
2627