Skip to content

Commit

Permalink
Merge commit 'refs/pull/155/head' of https://github.com/oca/brand int…
Browse files Browse the repository at this point in the history
…o 15.0-2754
  • Loading branch information
docker-odoo committed Jun 20, 2023
2 parents 5c6d4d3 + 402ba56 commit a2fcdd1
Show file tree
Hide file tree
Showing 20 changed files with 237 additions and 0 deletions.
79 changes: 79 additions & 0 deletions product_brand_invoice_report/README.rst
@@ -0,0 +1,79 @@
=====================================
Print Product Brand on Invoice Report
=====================================
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github
:target: https://github.com/OCA/brand/tree/15.0/product_brand
:alt: OCA/brand
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/brand-15-0/brand-15-0-product_brand
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/284/15.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows odoo users to print product brand on sale reports.

**Table of contents**

.. contents::
:local:

Usage
=====

Known issues / Roadmap
======================


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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/brand/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/brand/issues/new?body=module:%20product_brand%0Aversion:%2015.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
~~~~~~~

* Adhoc

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

* Augusto Weiss <awe@adhoc.com.ar>

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

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/15.0/product_brand>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
13 changes: 13 additions & 0 deletions product_brand_invoice_report/__manifest__.py
@@ -0,0 +1,13 @@
{
"name": "Print Product Brand",
"summary": "This module add the product brand on invoice reports",
"version": "15.0.1.0.0",
"license": "AGPL-3",
"website": "https://github.com/OCA/brand",
"author": "Adhoc SA, Odoo Community Association (OCA)",
"category": "Warehouse Management",
"depends": ["product_brand", "sale"],
"data": ["reports/report_invoice.xml"],
"installable": True,
"auto_install": True,
}
1 change: 1 addition & 0 deletions product_brand_invoice_report/readme/CONTRIBUTORS.rst
@@ -0,0 +1 @@
* Augusto Weiss <awe@adhoc.com.ar>
1 change: 1 addition & 0 deletions product_brand_invoice_report/readme/CREDITS.rst
@@ -0,0 +1 @@
* Adhoc S.A. <https://www.adhoc.com.ar>
1 change: 1 addition & 0 deletions product_brand_invoice_report/readme/DESCRIPTION.rst
@@ -0,0 +1 @@
This module add the product brand to the invoice report
3 changes: 3 additions & 0 deletions product_brand_invoice_report/readme/USAGE.rst
@@ -0,0 +1,3 @@
To use this module, you need to:

#. Just install
13 changes: 13 additions & 0 deletions product_brand_invoice_report/reports/report_invoice.xml
@@ -0,0 +1,13 @@
<?xml version='1.0' encoding='utf-8' ?>
<odoo>
<template id="report_invoice_document" inherit_id="account.report_invoice_document">
<xpath expr="//th[@name='th_description']" position="after">
<th class="text-left">Brand</th>
</xpath>
<xpath expr="//td[@name='account_invoice_line_name']" position="after">
<td name="td_product_brand">
<span t-field="line.product_id.product_brand_id.display_name" />
</td>
</xpath>
</template>
</odoo>
80 changes: 80 additions & 0 deletions product_brand_sale_report/README.rst
@@ -0,0 +1,80 @@
==================================
Print Product Brand on Sale Report
==================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github
:target: https://github.com/OCA/brand/tree/15.0/product_brand
:alt: OCA/brand
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/brand-15-0/brand-15-0-product_brand
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/284/15.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows odoo users to print product brand on sale reports.

**Table of contents**

.. contents::
:local:

Usage
=====

Known issues / Roadmap
======================


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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/brand/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/brand/issues/new?body=module:%20product_brand%0Aversion:%2015.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
~~~~~~~

* Adhoc

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

* Augusto Weiss <awe@adhoc.com.ar>

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

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/15.0/product_brand>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
13 changes: 13 additions & 0 deletions product_brand_sale_report/__manifest__.py
@@ -0,0 +1,13 @@
{
"name": "Print Product Brand",
"summary": "This module add the product brand on sale reports",
"version": "15.0.1.0.0",
"license": "AGPL-3",
"website": "https://github.com/OCA/brand",
"author": "Adhoc SA, Odoo Community Association (OCA)",
"category": "Warehouse Management",
"depends": ["product_brand", "sale"],
"data": ["reports/sale_reports.xml"],
"installable": True,
"auto_install": True,
}
1 change: 1 addition & 0 deletions product_brand_sale_report/readme/CONTRIBUTORS.rst
@@ -0,0 +1 @@
* Augusto Weiss <awe@adhoc.com.ar>
1 change: 1 addition & 0 deletions product_brand_sale_report/readme/CREDITS.rst
@@ -0,0 +1 @@
* Adhoc S.A. <https://www.adhoc.com.ar>
1 change: 1 addition & 0 deletions product_brand_sale_report/readme/DESCRIPTION.rst
@@ -0,0 +1 @@
This module add the product brand to the sale report
3 changes: 3 additions & 0 deletions product_brand_sale_report/readme/USAGE.rst
@@ -0,0 +1,3 @@
To use this module, you need to:

#. Just install
13 changes: 13 additions & 0 deletions product_brand_sale_report/reports/sale_reports.xml
@@ -0,0 +1,13 @@
<?xml version='1.0' encoding='utf-8' ?>
<odoo>
<template id="report_saleorder" inherit_id="sale.report_saleorder_document">
<xpath expr="//th[@name='th_description']" position="after">
<th class="text-left">Brand</th>
</xpath>
<xpath expr="//td[@name='td_name']" position="after">
<td name="td_product_brand">
<span t-field="line.product_id.product_brand_id.display_name" />
</td>
</xpath>
</template>
</odoo>
6 changes: 6 additions & 0 deletions setup/product_brand_invoice_report/setup.py
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
6 changes: 6 additions & 0 deletions setup/product_brand_sale_report/setup.py
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)

0 comments on commit a2fcdd1

Please sign in to comment.