Skip to Content
Menu
This question has been flagged
1 Atsakyti
4064 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
2543
0
bal. 21
2486
1
birž. 23
3325
1
saus. 23
3142
0
rugs. 22
2863