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

Hello everyone,


Is there a way to remove the sales description and Taxes column on the exported Invoice PDF? When I make an invoice and send it, the sales description is added in pdf, which makes the invoice messy. Also, we do not have to include taxes on products in our invoice so it is not necessary for us to include that column. Is there any way to remove it 


Odoo 17.00 FREE VERSION


Many thanks


아바타
취소
베스트 답변

Hi,

To remove the description and  taxes from the invoice report layout you need to inherit the original XML template of the invoice


1. First you need to locate the actual template from the addons

2. Inherit the template in your custom module

3. Remove the data of description and tax from the template.

4. Run the module


Please refer to the below blog to get an idea of the inheritance of the XML Template

https://www.cybrosys.com/blog/an-overview-of-template-inheritance-in-odoo-16

Regards

아바타
취소

Even if you don't like this AI generated answer it is the best one and it is the real solution. What you are asking for is only possible via XML edit.
And there is no such thing as Odoo 17.00 FREE VERSION, you are either referring to Odoo 17 Community Editon (self hosted self suported) or Odoo 17 Enterprise Free Plan.

베스트 답변

You can use this module to hide taxes column on Sales PDF https://apps.odoo.com/apps/modules/17.0/sale_hide_tax_columns/

And you can use this module to hide taxes column on Invoice PDF https://apps.odoo.com/apps/modules/17.0/account_hide_tax_columns/

아바타
취소
베스트 답변

The invoice template is located in C:\Program Files\Odoo 17.0.20240307\server\odoo\addons\account\views\report_invoice.xml (Line 116)

If you also want to remove the tax column from the quotation, for the preview, it's in C:\Program Files\Odoo 17.0.20240307\server\odoo\addons\sale\views\sale_portal_templates.xml (line 552)\

and the PDF is "C:\Program Files\Odoo 17.0.20240307\server\odoo\addons\sale\report\ir_actions_report_templates.xml"

Took forever for me to find it, but in the end I was able to remove the taxes column. Make sure you click "Upgrade" on the relevant module (which is "invoicing" for all of these) after making any changes to the templates.

아바타
취소
관련 게시물 답글 화면 활동
2
12월 23
3176
4
5월 22
2970
6
3월 22
9536
1
3월 15
7886
0
3월 15
3929