How do I change 'customer invoice' to 'tax invoice' in odoo 17?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
change between 2 Invoice formats
Resuelto
|
|
1
jul 25
|
541 | |
|
2
jul 25
|
686 | ||
|
1
jul 25
|
1743 | ||
|
3
abr 25
|
1761 | ||
|
3
abr 25
|
2796 |