Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2297 Переглядів

How do I change 'customer invoice' to 'tax invoice' in odoo 17? 

Аватар
Відмінити
Найкраща відповідь

Hi,


Inherit the model 'account.move' and replace the field move_type with changing the 'Customer Invoice' to 'Tax Invoice'.


Go through the code:


_inherit = 'account.move'


move_type = fields.Selection(

selection=[

('entry', 'Journal Entry'),

('out_invoice', 'Tax Invoice'),

('out_refund', 'Customer Credit Note'),

('in_invoice', 'Vendor Bill'),

('in_refund', 'Vendor Credit Note'),

('out_receipt', 'Sales Receipt'),

('in_receipt', 'Purchase Receipt'),

],

string='Type',

required=True,

readonly=True,

tracking=True,

change_default=True,

index=True,

default="entry")


Hope it helps

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лип. 25
870
2
лип. 25
1011
1
лип. 25
2087
3
квіт. 25
2045
3
квіт. 25
3066