Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3835 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

You can add as following


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

state = fields.Selection(selection_add=[
('new_state', 'New Satate'), ('done',)
])
Imagine profil
Abandonează
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 Răspunsuri Vizualizări Activitate
1
aug. 21
2375
0
apr. 21
2336
1
iun. 23
3137
1
ian. 23
2941
0
sept. 22
2656