Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3655 Vistas

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

Avatar
Descartar
Mejor respuesta

You can add as following


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

state = fields.Selection(selection_add=[
('new_state', 'New Satate'), ('done',)
])
Avatar
Descartar
Autor

Thank you..But i want to add statein between draft and open.how can i do that?

Hi,

Updated in my answer

Thanks

Publicaciones relacionadas Respuestas Vistas Actividad
1
ago 21
2244
0
abr 21
2189
1
jun 23
3020
1
ene 23
2793
0
sept 22
2500