콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2453 화면

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

아바타
취소
관련 게시물 답글 화면 활동
1
7월 25
1104
2
7월 25
1260
1
7월 25
2348
3
4월 25
2252
3
4월 25
3277