Skip to content

Commit

Permalink
[ADD] new purchase report modules
Browse files Browse the repository at this point in the history
  • Loading branch information
corredato committed May 14, 2024
1 parent 798ca45 commit 4ef268b
Show file tree
Hide file tree
Showing 8 changed files with 113 additions and 0 deletions.
23 changes: 23 additions & 0 deletions purchase_report_hide_date/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
============================
Purchase Reporting Hide Date
============================

this module hide date request from purchase report

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

To configure this module, you need to:

#. Go to ...

Usage
=====

To use this module, you need to:

#. Go to ...


Changelog
=========
Empty file.
16 changes: 16 additions & 0 deletions purchase_report_hide_date/__manifest__.py
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 Date",
"version": "14.0.1.0.0",
"license": "",
"author": "KMEE",
"depends": [
"purchase",
],
"data": [
"report/purchase_report.xml",
],
"demo": [],
}
14 changes: 14 additions & 0 deletions purchase_report_hide_date/report/purchase_report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version='1.0' encoding='utf-8' ?>
<odoo>
<template
id="purchase_report_hide_date"
name="purchase_hide_date"
inherit_id="purchase.report_purchaseorder_document"
>
<xpath expr="//th[@name='th_date_req']" position="replace">
</xpath>

<xpath expr="//span[@t-field='line.date_planned']" position="replace">
</xpath>
</template>
</odoo>
23 changes: 23 additions & 0 deletions purchase_report_hide_taxes/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
==========================
Purchase Report Hide Taxes
==========================

this module hide taxes from purchase report

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

To configure this module, you need to:

#. Go to ...

Usage
=====

To use this module, you need to:

#. Go to ...


Changelog
=========
Empty file.
16 changes: 16 additions & 0 deletions purchase_report_hide_taxes/__manifest__.py
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": "",
"author": "KMEE",
"depends": [
"purchase",
],
"data": [
"report/purchase_report.xml",
],
"demo": [],
}
21 changes: 21 additions & 0 deletions purchase_report_hide_taxes/report/purchase_report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version='1.0' encoding='utf-8' ?>
<odoo>
<template
id="purchase_report_hide_taxes"
name="purchase_hide_taxes"
inherit_id="purchase.report_purchaseorder_document"
>

<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>

0 comments on commit 4ef268b

Please sign in to comment.