Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
b90b5c1
[9.0][ADD] product_pricelist_direct_print (#223)
carlosdauden Mar 8, 2017
5249c1a
[IMP] product_pricelist_direct_print: Add order option + change widge…
carlosdauden Feb 23, 2018
cb1618c
[MIG] product_pricelist_direct_print: Migration to 11.0
chienandalu Jul 18, 2018
98c5395
[11.0][FIX] product_pricelist_direct_print: Remove duplicate default …
sergio-teruel Nov 22, 2018
21e65d2
product_pricelist_direct_print: extend module
ernestotejeda Oct 20, 2018
b45dfdd
[MIG] product_pricelist_direct_print: Migration to 12.0
alexey-pelykh Dec 4, 2018
060a20d
[IMP] product_pricelist_direct_print: black, isort
sergio-teruel Feb 1, 2020
6f831db
[MIG] product_pricelist_direct_print: Migration to v13.0
sergio-teruel Feb 1, 2020
e04987d
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 8, 2020
3b7ca4d
[MIG] product_pricelist_direct_print: Migration to 14.0
joao-p-marques Dec 9, 2020
febe8b8
[IMP] product_pricelist_direct_print: Improve inheritance on get_last…
CarlosRoca13 Feb 25, 2022
acde20f
[IMP] product_pricelist_direct_print: Improve inheritability
sergio-teruel Jan 11, 2021
26edd89
[IMP] product_pricelist_direct_print: Add summary on report and wizard.
sergio-teruel Jan 11, 2021
ffcea82
[IMP] product_pricelist_direct_print: forward port of xlsx and just d…
CarlosRoca13 Feb 4, 2021
65db94a
[IMP] product_pricelist_direct_print: Date adjusted to the selected l…
CarlosRoca13 Mar 18, 2021
3f3fa92
[FIX] product_pricelist_direct_print: Error when date is not defined
CarlosRoca13 May 27, 2021
866ed80
[IMP] product_pricelist_direct_print: Possibility of break by parent …
CarlosRoca13 Jul 15, 2021
d33625e
[FIX] product_pricelist_direct_print: Revert last changes
carlosdauden Jul 19, 2021
52b64ad
[IMP] product_pricelist_direct_print: Add max category level to group…
carlosdauden Jul 28, 2021
21e90a6
[FIX] product_pricelist_direct_print: company in report
chienandalu Oct 20, 2021
2071d19
[FIX] product_pricelist_direct_print: fix date context
chienandalu Oct 28, 2021
02d7151
[IMP] product_pricelist_direct_print: Improve inheritance at excel + …
CarlosRoca13 Jan 21, 2022
49c5322
[MIG] product_pricelist_direct_print: Migration to 15.0
CarlosRoca13 Jul 14, 2022
9b5cf3d
[IMP] product_pricelist_direct_print: Allow select the language when …
CarlosRoca13 Jun 5, 2023
8642b99
Update translation files
weblate Jun 12, 2023
436df0e
[MIG] product_pricelist_direct_print 16.0 (from 15.0)
legalsylvain Jun 21, 2023
2fcdcb8
[IMP] product_pricelist_direct_print : display product UoM + display …
legalsylvain Jun 22, 2023
49d3c78
[REF] product_pricelist_direct_print: Several refactorings
legalsylvain Jun 22, 2023
fc34e5a
Added translation using Weblate (Italian)
dcorio Aug 29, 2023
9ecb30c
Translated using Weblate (Spanish)
Ivorra78 Aug 22, 2023
e07e4a2
Translated using Weblate (Italian)
francesco-ooops Sep 4, 2023
7fac0c3
[16.0] [FIX] product_pricelist_direct_print: add missing dependency i…
pasculorente Sep 26, 2023
ebc8fe7
Translated using Weblate (Italian)
dcorio Oct 5, 2023
4a354e0
[IMP] product_pricelist_direct_print: test performance improvement
josep-tecnativa Oct 23, 2023
cc2534e
Translated using Weblate (Italian)
mymage Oct 31, 2023
f8ade1d
Added translation using Weblate (Turkish)
Mar 11, 2024
6fb7b2a
[FIX] product_pricelist_direct_print: bugfix
suker Apr 11, 2024
27ca94a
[FIX] product_pricelist_direct_print: fix bug 'product.pricelist.prin…
trisdoan May 14, 2024
8f5122a
[FIX] product_pricelist_direct_print: Error when display wizard witho…
CarlosRoca13 Jun 14, 2024
58f465c
[FIX] product_pricelist_direct_print : Prevent access error if a user…
legalsylvain Jun 14, 2024
fe149d4
[IMP] product_pricelist_direct_print: printing a pricelist and select…
chaule97 Jul 4, 2024
42d980e
Translated using Weblate (Italian)
mymage Jul 9, 2024
e4f3b2d
[IMP] product_pricelist_direct_print: Add decimal precision to price …
CarlosRoca13 Feb 13, 2025
37c846e
[FIX] product_pricelist_direct_print: Migrate changes of mail template
CarlosRoca13 Jul 5, 2023
6fb6da4
[IMP] product_pricelist_direct_print: Allow printing the products sol…
CarlosRoca13 Jan 19, 2024
80724eb
[IMP] product_pricelist_direct_print: Allow define the category level…
sergio-teruel Apr 30, 2024
48a43b1
[MIG] product_pricelist_direct_print: Migration to 17.0
therbin200 Nov 26, 2024
de4a973
[IMP] product_pricelist_direct_print: pre-commit auto fixes
bosd Jan 23, 2025
fafaa6c
[MIG] product_pricelist_direct_print: Migration to 18.0
bosd Jan 23, 2025
7cf7b60
Merge PR #1860 into 18.0
OCA-git-bot Aug 28, 2025
1be0c9b
[UPD] Update product_pricelist_direct_print.pot
Aug 28, 2025
1ce7293
[BOT] post-merge updates
OCA-git-bot Aug 28, 2025
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ addon | version | maintainers | summary
[product_packaging_unit_price_calculator](product_packaging_unit_price_calculator/) | 18.0.1.0.0 | | Wizard to calculate a unit price from a packaging price
[product_pricelist_alternative](product_pricelist_alternative/) | 18.0.1.0.0 | | Calculate product price based on alternative pricelists
[product_pricelist_by_contact](product_pricelist_by_contact/) | 18.0.1.0.0 | | Product Pricelist Per Contact
[product_pricelist_direct_print](product_pricelist_direct_print/) | 18.0.1.0.0 | <a href='https://github.com/legalsylvain'><img src='https://github.com/legalsylvain.png' width='32' height='32' style='border-radius:50%;' alt='legalsylvain'/></a> | Print price list from menu option, product templates, products variants or price lists
[product_pricelist_fixed_currency_rate](product_pricelist_fixed_currency_rate/) | 18.0.1.0.0 | <a href='https://github.com/LoisRForgeFlow'><img src='https://github.com/LoisRForgeFlow.png' width='32' height='32' style='border-radius:50%;' alt='LoisRForgeFlow'/></a> <a href='https://github.com/kobros-tech'><img src='https://github.com/kobros-tech.png' width='32' height='32' style='border-radius:50%;' alt='kobros-tech'/></a> | Set a fixed currency rate between pricelists
[product_pricelist_revision](product_pricelist_revision/) | 18.0.1.0.0 | | Product Pricelist Revision
[product_pricelist_supplierinfo](product_pricelist_supplierinfo/) | 18.0.1.1.0 | <a href='https://github.com/luisg123v'><img src='https://github.com/luisg123v.png' width='32' height='32' style='border-radius:50%;' alt='luisg123v'/></a> | Allows to create priceslists based on supplier info
Expand Down
168 changes: 168 additions & 0 deletions product_pricelist_direct_print/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==============================
Product Pricelist Direct Print
==============================

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

.. |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/license-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%2Fproduct--attribute-lightgray.png?logo=github
:target: https://github.com/OCA/product-attribute/tree/18.0/product_pricelist_direct_print
:alt: OCA/product-attribute
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_direct_print
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-attribute&target_branch=18.0
:alt: Try me on Runboat

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

Print price list from menu option, product templates, products variants
or price lists

**Note:**

- Odoo provides a similar feature, but with limited functionality.
- If you want to have Price List exported in XLSX format, install the
``product_pricelist_direct_print_xlsx`` OCA module present in the same
repository.

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:

1. Go to *Apps* and install *Sales*
2. Go to *Sales > Configuration > Settings*
3. Scroll to *Pricing*
4. Enable 'Pricelists'.

Users will need *Advanced Pricelists* to access the menus:

1. Enable developer mode
2. Go to *Settings > Users & Companies > Users*
3. Create or Edit a record
4. Scroll to *Technical Settings*
5. Enable *Advanced Pricelists*

Usage
=====

To use this module, you have several options:

1. Go to *Sales > Products > Print Price List*

2. Go to *Sales > Products > Products*

- Select products in list view
- Press *Action > Price List*

3. Go to *Sales > Products > Product Variants*

- Select products in list view
- Press *Action > Price List*

4. Go to *Sales > Orders > Customers*

- Select customers in list view
- Press *Action > Send customer pricelist by EMail*

|image1|

.. |image1| image:: https://raw.githubusercontent.com/OCA/product-attribute/18.0/product_pricelist_direct_print/static/description/wizard_form.png

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/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/OCA/product-attribute/issues/new?body=module:%20product_pricelist_direct_print%0Aversion:%2018.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
-------

* Tecnativa
* GRAP

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Carlos Dauden
- David Vidal
- Sergio Teruel
- João Marques
- Carlos Roca

- `CorporateHub <https://corporatehub.eu/>`__:

- Alexey Pelykh <alexey.pelykh@corphub.eu>

- `GRAP <http://www.grap.coop/>`__:

- Sylvain LE GAL <https://twitter.com/legalsylvain>

- `FactorLibre <https://factorlibre.com/>`__:

- Juan Carlos Bonilla

- `Trobz <https://trobz.com/>`__:

- Tris Doan
- Chau Le

- `Apik <https://apik.cloud/>`__:

- Thomas Herbin

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.

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

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

|maintainer-legalsylvain|

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/18.0/product_pricelist_direct_print>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions product_pricelist_direct_print/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizards
21 changes: 21 additions & 0 deletions product_pricelist_direct_print/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2017 Tecnativa - Carlos Dauden
# Copyright 2020 Tecnativa - João Marques
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Product Pricelist Direct Print",
"summary": "Print price list from menu option, product templates, "
"products variants or price lists",
"version": "18.0.1.0.0",
"category": "Product",
"website": "https://github.com/OCA/product-attribute",
"author": "Tecnativa, GRAP, Odoo Community Association (OCA)",
"maintainers": ["legalsylvain"],
"license": "AGPL-3",
"depends": ["sale"],
"data": [
"security/ir.model.access.csv",
"reports/report_product_pricelist.xml",
"data/mail_template_data.xml",
"wizards/product_pricelist_print_view.xml",
],
}
50 changes: 50 additions & 0 deletions product_pricelist_direct_print/data/mail_template_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
-->
<odoo noupdate="1">
<!--Email template -->
<record id="email_template_edi_pricelist" model="mail.template">
<field name="name">Pricelist - Send by Email</field>
<field
name="email_from"
>{{ (object.write_uid.email and '&quot;%s&quot; &lt;%s&gt;' % (object.write_uid.name, object.write_uid.email) or '') or "" }}</field>
<field
name="subject"
>{{ object.pricelist_id.company_id.name or object.write_uid.company_id.name }} Pricelist (Ref {{ object.pricelist_id.name or 'n/a' }})</field>
<field
name="partner_to"
>{{ object.partner_id and object.partner_id.id or '' }}</field>
<field
name="model_id"
ref="product_pricelist_direct_print.model_product_pricelist_print"
/>
<field name="auto_delete" eval="True" />
<field
name="report_template_ids"
eval="[(4, ref('product_pricelist_direct_print.action_report_product_pricelist'))]"
/>
<field
name="lang"
>{{ object.partner_id and object.partner_id.lang or object.write_uid.partner_id.lang }}</field>
<field name="body_html" type="html">
<div style="margin: 0px; padding: 0px;">
<p>Dear <span
t-out="object.partner_id and object.partner_id.name or 'customer'"
/>,</p>
<p>
The attached file is a PDF document containg the
<strong t-out="object.pricelist_id.name" /> pricelist.
</p>
<p>You can reply to this email if you have any questions.</p>
<p>Thank you,</p>

<p style="color:#888888;">
<t t-if="object.write_uid and object.write_uid.signature">
<span t-out="object.write_uid.signature or ''" />
</t>
</p>
</div>
</field>
</record>
</odoo>
Loading