Skip to content

Commit

Permalink
[ADD] l10n_br_sale_hide_tax_report: : add new module
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaynnan committed Aug 15, 2023
1 parent 2825752 commit ca1b972
Show file tree
Hide file tree
Showing 8 changed files with 144 additions and 0 deletions.
81 changes: 81 additions & 0 deletions l10n_br_sale_hide_tax_report/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
===================
BR Sale Hide Tax
===================
.. |badge1| image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

|badge1|

l10n_br_sale_hide_tax_report

**Table of contents**

.. contents::
:local:

Configuration
=============

To Configure...

Usage
=====

To usage...

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/Escodoo/{project_repo}/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Escodoo

Contributors
~~~~~~~~~~~~

* Marcel Savegnago <[email protected]>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Escodoo - `https://www.escodoo.com.br <https://www.escodoo.com.br>`_

Maintainers
~~~~~~~~~~~

This module is maintained by the Escodoo.

.. |maintainer-escodoo| image:: https://github.com/escodoo.png?size=80px
:target: https://github.com/Escodoo
:alt: escodoo

|maintainer-escodoo|

We at Escodoo are exclusively dedicated to deploying the Odoo Platform and are
focused on providing solutions that make our customers more competitive, lowering
costs, making technology more accessible and ensuring it is used strategically to
add even more value to the business.

.. |maintainer-marcelsavegnago| image:: https://github.com/marcelsavegnago.png?size=40px
:target: https://github.com/marcelsavegnago
:alt: marcelsavegnago

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-marcelsavegnago|

To contribute to this module, please visit https://www.escodoo.com.br.
Empty file.
12 changes: 12 additions & 0 deletions l10n_br_sale_hide_tax_report/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright 2023 - TODAY, Escodoo
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Brazilian Localization Sale Hide Tax Report",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "Escodoo, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-brazil",
"depends": ["l10n_br_sale"],
"data": ["report/sale_report_templates.xml"],
}
Empty file.
Empty file.
Empty file.
51 changes: 51 additions & 0 deletions l10n_br_sale_hide_tax_report/report/sale_report_templates.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template
id="report_saleorder_document_l10n_br_sale_custom"
inherit_id="l10n_br_sale.report_saleorder_document_l10n_br_sale"
priority="100"
>
<!-- HIDDEN AMOUNT UNTAXED LABEL -->
<xpath
expr="//div[@name='total']/div/table/tr[@style='']/td[@name='td_amount_untaxed_label']"
position="attributes"
>
<attribute name="class">d-none</attribute>
</xpath>
<!-- HIDDEN AMOUNT UNTAXED -->
<xpath
expr="//div[@name='total']/div/table/tr[@style='']/td[@name='td_amount_untaxed']"
position="attributes"
>
<attribute name="class">d-none</attribute>
</xpath>
<!-- HIDDEN AMOUNT TAX LABEL -->
<xpath
expr="//div[@name='total']/div/table/tr[@style='']/td[@name='td_amount_tax_label']"
position="attributes"
>
<attribute name="class">d-none</attribute>
</xpath>
<!-- HIDDEN AMOUNT TAX -->
<xpath
expr="//div[@name='total']/div/table/tr[@style='']/td[@name='td_amount_tax']"
position="attributes"
>
<attribute name="class">d-none</attribute>
</xpath>
<!-- HIDDEN AMOUNT BY GROUP (IPI, COFFINS, ETC) -->
<xpath
expr="//div[@name='total']/div/table//td[@name='td_amount_by_group_label']"
position="attributes"
>
<attribute name="class">d-none</attribute>
</xpath>
<!-- HIDDEN AMOUNT BY GROUP (IPI, COFFINS, ETC) -->
<xpath
expr="//div[@name='total']/div/table//td[@name='td_amount_by_group']"
position="attributes"
>
<attribute name="class">d-none</attribute>
</xpath>
</template>
</odoo>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ca1b972

Please sign in to comment.