Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] remove receipt date in purchase report #2

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions purchase_report_hide_date/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
=========================
Purchase Report Hide Date
=========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:82d623674f44e655c8a6977d58121e1b92b9d292c8ec8f53784d9901ebd85859
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/github-KMEE%2Fkmee--odoo--addons-lightgray.png?logo=github
:target: https://github.com/KMEE/kmee-odoo-addons/tree/14.0/purchase_report_hide_date
:alt: KMEE/kmee-odoo-addons

|badge1| |badge2|

This module removes the receipt date from products in the purchase order
report.

**Table of contents**

.. contents::
:local:

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 receipt date 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_date%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 [email protected]

Maintainers
-----------

This module is part of the `KMEE/kmee-odoo-addons <https://github.com/KMEE/kmee-odoo-addons/tree/14.0/purchase_report_hide_date>`_ project on GitHub.

You are welcome to contribute.
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": "LGPL-3",
"author": "KMEE",
"website": "https://github.com/KMEE/kmee-odoo-addons",
"depends": [
"purchase",
],
"data": [
"report/purchase_report.xml",
],
}
1 change: 1 addition & 0 deletions purchase_report_hide_date/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module does not require any special configuration.
3 changes: 3 additions & 0 deletions purchase_report_hide_date/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `KMEE <https://www.kmee.com.br>`__:

* Bruno Corredato Botti
1 change: 1 addition & 0 deletions purchase_report_hide_date/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module removes the receipt date from products in the purchase order report.
4 changes: 4 additions & 0 deletions purchase_report_hide_date/readme/USAGE.md
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 receipt date has been removed.
16 changes: 16 additions & 0 deletions purchase_report_hide_date/report/purchase_report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version='1.0' encoding='utf-8' ?>
<odoo>
<template
id="purchase_report_hide_date"
name="purchase_hide_date"
inherit_id="purchase.report_purchaseorder_document"
priority="100"
>
<xpath expr="//th[@name='th_date_req']" position="replace">
</xpath>

<xpath expr="//span[@t-field='line.date_planned']" position="replace">
</xpath>

</template>
</odoo>
Loading
Loading