Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
4a4c708
[UPT]rename module product_customer_code
AaronHForgeFlow Apr 4, 2018
2a9e3af
[FIX] Pass customer code and min qty to sale order line
MiquelRForgeFlow Jul 9, 2018
7092889
[ADD] Tests
MiquelRForgeFlow Jul 24, 2018
4068b26
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Jul 26, 2018
05717b2
product_supplierinfo_for_customer_sale: New module.
ysantiago Jun 27, 2017
f9a14fd
product_supplierinfo_for_customer_sale: Return all result in name sea…
ysantiago Jun 30, 2017
6e35afa
[MIG] product_supplierinfo_for_customer_sale: Migration to 11.0
xavierjimenez Aug 16, 2018
c878fac
[REF] product_supplierinfo_for_customer_sale: Use product.name_search…
moylop260 Oct 24, 2018
22a4f71
[REF] product_supplierinfo_for_customer_sale: Adding Vauxoo author
moylop260 Oct 24, 2018
b30dd87
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Oct 25, 2018
8635950
Update translation files
oca-transbot Dec 2, 2018
405b797
[FIX] product_supplierinfo_for_customer_sale: Remove offending test
pedrobaeza Mar 27, 2019
f647254
[FIX] product_supplierinfo_for_customer_sale: TypeError: unorderable
hugho-ad May 27, 2019
c6b2ecc
Added translation using Weblate (German)
marylla Jul 15, 2019
5d05e1c
[11.0][FIX] product_supplierinfo_for_customer_sale: Search supplierin…
sergio-teruel May 9, 2019
04fb472
[12.0][MIG] product_supplierinfo_for_customer_sale
murtuzasaleh May 8, 2019
98452a1
[IMP] Split of 'product.supplierinfo' for 'product.customerinfo'
MiquelRForgeFlow Oct 24, 2019
7570968
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Nov 26, 2019
73f4c12
Update translation files
oca-transbot Nov 28, 2019
0ecb5f8
Added translation using Weblate (Portuguese)
pedrocs-exo Sep 17, 2020
cd1ecde
[12.0][IMP] add group to create/edit customerinfo
sergiocorato Jan 27, 2021
aa8b41d
Added translation using Weblate (Catalan)
danimv5 Mar 10, 2021
8d47fb3
Added translation using Weblate (Spanish)
danimv5 Mar 10, 2021
9567543
[IMP] product_supplierinfo_for_customer_sale: black, isort, prettier
LoisRForgeFlow Jul 22, 2021
0d5dc77
[13.0][MIG] product_supplierinfo_for_customer_sale
LoisRForgeFlow Jul 22, 2021
7bbcbef
Clarify the proposal of min_qty in sales order lines
JordiBForgeFlow Aug 3, 2021
8f3634b
[IMP] product_supplierinfo_for_customer_sale: black, isort, prettier
LoisRForgeFlow Aug 3, 2021
65357ff
[14.0][MIG] product_supplierinfo_for_customer_sale
LoisRForgeFlow Aug 3, 2021
0b1331e
Translated using Weblate (Italian)
francesco-ooops Feb 17, 2022
483d244
[MIG] product_supplierinfo_for_customer_sale: Migration to 15.0
Jun 20, 2022
a2424e9
[FIX] product_supplierinfo_for_customer_sale: Use the same ACL's to s…
sergio-teruel Sep 1, 2022
19a1212
[IMP] product_supplierinfo_for_customer_sale: Add menu entry to acces…
CarlosRoca13 Jun 16, 2022
e7100b4
[MIG] product_supplierinfo_for_customer_sale: Migration to 16.0
Reyes4711-S73 Jan 11, 2023
b055500
Update translation files
weblate Apr 12, 2023
edf9736
Translated using Weblate (Italian)
francesco-ooops May 9, 2023
7262c3f
Update translation files
weblate Oct 9, 2023
f1e27c6
Translated using Weblate (German)
dbruehlmeier Oct 11, 2023
d325bcf
Translated using Weblate (Italian)
mymage Dec 1, 2023
b605c47
[IMP] product_supplierinfo_for_customer_sale: Add compatibility with …
victoralmau May 13, 2024
5f65fd5
[FIX] product_supplierinfo_for_customer_sale: Don't inject context in…
pedrobaeza May 28, 2024
0f75dc6
[IMP] product_supplierinfo_for_customer_sale: Adapt code to 16.0
victoralmau May 31, 2024
7fa079f
[FIX] product_supplierinfo_for_customer_sale: fix tests
Jun 4, 2024
f4b522a
[IMP] product_supplierinfo_for_customer_sale: pre-commit autofixes
Jun 5, 2024
749dea6
[MIG] product_supplierinfo_for_customer_sale: Migration to 17.0
Jun 5, 2024
bd8c2e9
[MIG] product_customerinfo_sale: Migration to 18.0
cem-adhoc Dec 2, 2024
2531c5e
[UPD] Update product_customerinfo_sale.pot
Apr 14, 2025
2e4822d
[BOT] post-merge updates
OCA-git-bot Apr 14, 2025
130513a
Added translation using Weblate (Dutch)
bosd Sep 11, 2025
ca2063b
Translated using Weblate (Dutch)
bosd Sep 11, 2025
2321590
[FIX] product_customerinfo_sale: pass partner context from sale to ge…
JordiMForgeFlow Oct 29, 2025
a91c2d6
[BOT] post-merge updates
OCA-git-bot Nov 5, 2025
dd9092c
Translated using Weblate (Italian)
mymage Dec 9, 2025
0ced9f6
[MIG] product_customerinfo_sale: Migration to 19.0
JasminSForgeFlow Jan 16, 2026
a1a1dee
[DON'T MERGE] test-requirements.txt
JasminSForgeFlow Jan 16, 2026
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
135 changes: 135 additions & 0 deletions product_customerinfo_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==========================
Product customer info sale
==========================

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

.. |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%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/19.0/product_customerinfo_sale
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-19-0/sale-workflow-19-0-product_customerinfo_sale
: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/sale-workflow&target_branch=19.0
:alt: Try me on Runboat

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

Based on product_customerinfo, this module loads in every sale order the
customer code defined in the product and allows use the product codes
and product name configured in each products in sale orders.

If you use Advanced price rules with formulas to define your pricing,
and choose that the price should be calculated from the partner prices
in the product form, the quantity in the sales order will be proposed
from the minimum quantity defined in the customerinfo.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need:

- Go to product and configure *Partner product name* and *Partner
product code* for each selected customer.

|image1|

- When add order lines in sale quotation for a customer that has an
specific name and code in the product, you can search that product
with that customer name or code. Then, this values will be displayed
in product description.

|image2|

|image3|

- If product does not have a configuration for customer selected,
product will be search by its default code.

|image4|

|image5|

.. |image1| image:: https://raw.githubusercontent.com/OCA/sale-workflow/19.0/product_customerinfo_sale/static/description/configuration_customer.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/sale-workflow/19.0/product_customerinfo_sale/static/description/search_code.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/sale-workflow/19.0/product_customerinfo_sale/static/description/description_code.png
.. |image4| image:: https://raw.githubusercontent.com/OCA/sale-workflow/19.0/product_customerinfo_sale/static/description/search_code_2.png
.. |image5| image:: https://raw.githubusercontent.com/OCA/sale-workflow/19.0/product_customerinfo_sale/static/description/description_code_2.png

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

- Putting a minimum qty in a pricelist rule means the system will use
the option 'list price' instead of any option you chose.

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

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

* Agile Business Group
* Vauxoo

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

- Xavier Jimenez <xavier.jimenez@qubiq.es>
- Nicola Malcontenti <nicola.malcontenti@agilebg.com>
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
- Moisés López <moylop260@vauxoo.com>
- Yennifer Santiago <yennifer@vauxoo.com>
- Julio Serna Hernández <julio@vauxoo.com>
- Sergio Teruel <sergio.teruel@tecnativa.com>
- Lois Rilo <lois.rilo@forgeflow.com>
- Juany Davila <juany.davila@forgeflow.com>
- Carlos Reyes <carlos@studio73.es>

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/sale-workflow <https://github.com/OCA/sale-workflow/tree/19.0/product_customerinfo_sale>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions product_customerinfo_sale/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
21 changes: 21 additions & 0 deletions product_customerinfo_sale/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2013-2017 Agile Business Group sagl
# (<http://www.agilebg.com>)
# Copyright 2021 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Product customer info sale",
"version": "19.0.1.0.0",
"summary": "Loads in every sale order line the customer code defined "
"in the product",
"author": "Agile Business Group,Vauxoo,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/sale-workflow",
"category": "Sales Management",
"license": "AGPL-3",
"depends": ["sale", "product_customerinfo"],
"data": [
"security/ir.model.access.csv",
"views/product_customerinfo_views.xml",
"views/sale_view.xml",
],
"installable": True,
}
49 changes: 49 additions & 0 deletions product_customerinfo_sale/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_supplierinfo_for_customer_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-03-10 10:45+0000\n"
"Last-Translator: Daniel Martinez Vila <daniel.martinez@qubiq.es>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: product_customerinfo_sale
#: model:ir.actions.act_window,name:product_customerinfo_sale.action_open_product_customerinfo
#: model:ir.ui.menu,name:product_customerinfo_sale.menu_product_customerinfo
msgid "Prices for customers"
msgstr ""

#. module: product_customerinfo_sale
#: model:ir.model.fields,field_description:product_customerinfo_sale.field_sale_order_line__product_customer_code
msgid "Product Customer Code"
msgstr "Codi de client del producte"

#. module: product_customerinfo_sale
#: model:ir.model,name:product_customerinfo_sale.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línia de comanda de vendes"

#~ msgid ""
#~ "Check this box if this contact is a customer. It can be selected in sales "
#~ "orders."
#~ msgstr ""
#~ "Marqueu aquesta casella si aquest contacte és client. Es pot seleccionar "
#~ "en comandes de venda."

#~ msgid "Is a Customer"
#~ msgstr "És client"

#~ msgid "Product Template"
#~ msgstr "Plantilla del Producte"

#~ msgid "Supplierinfo"
#~ msgstr "Informació del proveïdor"
36 changes: 36 additions & 0 deletions product_customerinfo_sale/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_supplierinfo_for_customer_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-10-11 11:38+0000\n"
"Last-Translator: David Brühlmeier <david@bruehlmeier.com>\n"
"Language-Team: none\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: product_customerinfo_sale
#: model:ir.actions.act_window,name:product_customerinfo_sale.action_open_product_customerinfo
#: model:ir.ui.menu,name:product_customerinfo_sale.menu_product_customerinfo
msgid "Prices for customers"
msgstr "Kundenpreise"

#. module: product_customerinfo_sale
#: model:ir.model.fields,field_description:product_customerinfo_sale.field_sale_order_line__product_customer_code
msgid "Product Customer Code"
msgstr "Kundencode des Produkts"

#. module: product_customerinfo_sale
#: model:ir.model,name:product_customerinfo_sale.model_sale_order_line
msgid "Sales Order Line"
msgstr "Auftragsposition"

#~ msgid "Product"
#~ msgstr "Produkt"
47 changes: 47 additions & 0 deletions product_customerinfo_sale/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_supplierinfo_for_customer_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-06-16 13:31+0000\n"
"PO-Revision-Date: 2022-06-16 15:32+0200\n"
"Last-Translator: Daniel Martinez Vila <daniel.martinez@qubiq.es>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Poedit 2.3\n"

#. module: product_customerinfo_sale
#: model:ir.actions.act_window,name:product_customerinfo_sale.action_open_product_customerinfo
#: model:ir.ui.menu,name:product_customerinfo_sale.menu_product_customerinfo
msgid "Prices for customers"
msgstr "Precios para clientes"

#. module: product_customerinfo_sale
#: model:ir.model.fields,field_description:product_customerinfo_sale.field_sale_order_line__product_customer_code
msgid "Product Customer Code"
msgstr "Código de cliente del producto"

#. module: product_customerinfo_sale
#: model:ir.model,name:product_customerinfo_sale.model_sale_order_line
msgid "Sales Order Line"
msgstr "Línea pedido de venta"

#~ msgid ""
#~ "Check this box if this contact is a customer. It can be selected in sales "
#~ "orders."
#~ msgstr ""
#~ "Marque esta casilla si este contacto es un cliente. Se puede seleccionar "
#~ "en pedidos de cliente."

#~ msgid "Product Template"
#~ msgstr "Plantilla de producto"

#~ msgid "Supplierinfo"
#~ msgstr "Información del proveedor"
51 changes: 51 additions & 0 deletions product_customerinfo_sale/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * product_customer_code_sale
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 7.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-01-15 14:31+0000\n"
"PO-Revision-Date: 2025-12-09 12:42+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: \n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.10.4\n"
"X-Launchpad-Export-Date: 2014-05-28 05:52+0000\n"

#. module: product_customerinfo_sale
#: model:ir.actions.act_window,name:product_customerinfo_sale.action_open_product_customerinfo
#: model:ir.ui.menu,name:product_customerinfo_sale.menu_product_customerinfo
msgid "Prices for customers"
msgstr "Prezzi per i clienti"

#. module: product_customerinfo_sale
#: model:ir.model.fields,field_description:product_customerinfo_sale.field_sale_order_line__product_customer_code
msgid "Product Customer Code"
msgstr "Codice prodotto cliente"

#. module: product_customerinfo_sale
#: model:ir.model,name:product_customerinfo_sale.model_sale_order_line
msgid "Sales Order Line"
msgstr "Riga ordine di vendita"

#~ msgid ""
#~ "Check this box if this contact is a customer. It can be selected in sales "
#~ "orders."
#~ msgstr ""
#~ "Attivare se il contatto è un cliente. Può essere selezionato negli ordini "
#~ "di vendita."

#~ msgid "Is a Customer"
#~ msgstr "È un cliente"

#~ msgid "Product Template"
#~ msgstr "Modello prodotto"

#~ msgid "Supplierinfo"
#~ msgstr "v"
33 changes: 33 additions & 0 deletions product_customerinfo_sale/i18n/nl.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_customerinfo_sale
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-09-11 12:45+0000\n"
"Last-Translator: Bosd <c5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me>\n"
"Language-Team: none\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.10.4\n"

#. module: product_customerinfo_sale
#: model:ir.actions.act_window,name:product_customerinfo_sale.action_open_product_customerinfo
#: model:ir.ui.menu,name:product_customerinfo_sale.menu_product_customerinfo
msgid "Prices for customers"
msgstr "Prijzen voor klanten"

#. module: product_customerinfo_sale
#: model:ir.model.fields,field_description:product_customerinfo_sale.field_sale_order_line__product_customer_code
msgid "Product Customer Code"
msgstr "Klantartikelcode"

#. module: product_customerinfo_sale
#: model:ir.model,name:product_customerinfo_sale.model_sale_order_line
msgid "Sales Order Line"
msgstr "Verkooporderregel"
Loading
Loading