-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] remove product taxes in purchase report
- Loading branch information
Showing
12 changed files
with
584 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
========================== | ||
Purchase Report Hide Taxes | ||
========================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:558139aca719d50057691582be91048ffe7b1602d25c91d3c633c9d18e7f0526 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html | ||
:alt: License: LGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-KMEE%2Fkmee--odoo--addons-lightgray.png?logo=github | ||
:target: https://github.com/KMEE/kmee-odoo-addons/tree/14.0/purchase_report_hide_taxes | ||
:alt: KMEE/kmee-odoo-addons | ||
|
||
|badge1| |badge2| |badge3| | ||
|
||
This module removes the product taxes in the purchase order report. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Use Cases / Context | ||
=================== | ||
|
||
The module was created for the following reason: | ||
|
||
:: | ||
|
||
• Some company products have a lot of taxes, this causes the product's tax column to break the formatting in the purchase order report. | ||
|
||
Configuration | ||
============= | ||
|
||
This module does not require any special configuration. | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
:: | ||
|
||
1. Go to "Purchase" | ||
2. Print the purchase order report and verify if the product taxes has been removed. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/KMEE/kmee-odoo-addons/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/KMEE/kmee-odoo-addons/issues/new?body=module:%20purchase_report_hide_taxes%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
------- | ||
|
||
* KMEE | ||
|
||
Contributors | ||
------------ | ||
|
||
- ``KMEE <https://www.kmee.com.br>``\ \_\_: | ||
|
||
- Bruno Corredato Botti | ||
|
||
Maintainers | ||
----------- | ||
|
||
This module is part of the `KMEE/kmee-odoo-addons <https://github.com/KMEE/kmee-odoo-addons/tree/14.0/purchase_report_hide_taxes>`_ project on GitHub. | ||
|
||
You are welcome to contribute. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2024 KMEE | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Purchase Report Hide Taxes", | ||
"version": "14.0.1.0.0", | ||
"license": "LGPL-3", | ||
"author": "KMEE", | ||
"website": "https://github.com/KMEE/kmee-odoo-addons", | ||
"depends": [ | ||
"purchase", | ||
], | ||
"data": [ | ||
"report/purchase_report.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This module does not require any special configuration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The module was created for the following reason: | ||
|
||
• Some company products have a lot of taxes, this causes the product's tax column to break the formatting in the purchase order report. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* `KMEE <https://www.kmee.com.br>`__: | ||
|
||
* Bruno Corredato Botti |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This module removes the product taxes in the purchase order report. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
To use this module, you need to: | ||
|
||
1. Go to "Purchase" | ||
2. Print the purchase order report and verify if the product taxes has been removed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version='1.0' encoding='utf-8' ?> | ||
<odoo> | ||
<template | ||
id="purchase_report_hide_taxes" | ||
name="purchase_hide_taxes" | ||
inherit_id="purchase.report_purchaseorder_document" | ||
priority="100" | ||
> | ||
|
||
<xpath expr="//th[@name='th_taxes']" position="replace"> | ||
</xpath> | ||
|
||
<xpath expr="//td[@name='td_taxes']" position="replace"> | ||
</xpath> | ||
|
||
<xpath | ||
expr="//div[@id='total']/div/table/tr/td[@name='td_taxes_label']" | ||
position="replace" | ||
> | ||
</xpath> | ||
</template> | ||
</odoo> |
Oops, something went wrong.