Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3804 Vues

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

Avatar
Ignorer
Meilleure réponse

You can add as following


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

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

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

Hi,

Updated in my answer

Thanks

Publications associées Réponses Vues Activité
1
août 21
2356
0
avr. 21
2312
1
juin 23
3126
1
janv. 23
2915
0
sept. 22
2624