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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
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
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
1
7月 25
|
756 | ||
|
2
7月 25
|
856 | ||
|
1
7月 25
|
1929 | ||
|
3
4月 25
|
1950 | ||
|
3
4月 25
|
2920 |