Помощь

0

Adding new state to existing invoice model

Avatar
jain

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

Аватар
Отменить
1 Ответ
1
Avatar
Fasil
Best Answer

You can add as following


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

state = fields.Selection(selection_add=[
('new_state', 'New Satate'), ('done',)
])
2 Комментарии
Аватар
Отменить
Avatar
jain
-

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

Avatar
Fasil
-

Hi,

Updated in my answer

Thanks