Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3801 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

You can add as following


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

state = fields.Selection(selection_add=[
('new_state', 'New Satate'), ('done',)
])
Avatar
Zrušit
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 Odpovědi Zobrazení Aktivita
1
srp 21
2355
0
dub 21
2305
1
čvn 23
3122
1
led 23
2915
0
zář 22
2623