Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
9147b16
<product_supplierinfo_for_customer>
oihane Sep 18, 2014
737cbdd
product_supplierinfo_for_customer: Views and documentation
pedrobaeza Feb 5, 2015
ed22fd4
Related to #638
oihane Feb 11, 2015
79cba66
Slovene translations of odoomrp modules
sysadminmatmoz Aug 15, 2015
ace5a2d
product_supplierinfo_for_customer: Avoid side effects + improve README
pedrobaeza Aug 27, 2015
b10edb3
<product_supplierinfo_for_customer> Create 'customer' type from menu …
oihane Sep 3, 2015
91c204f
<product_supplierinfo_for_customer> Added know issue with computed fi…
oihane Sep 4, 2015
5f42f7d
product_supplierinfo_for_customer: Create "demo" data, and "tests" fo…
alfredoavanzosc Sep 28, 2015
8cd9d33
license target link
Oct 22, 2015
3d20a05
OCA as author added
Oct 22, 2015
b1541ce
product_customer_code: New README. [REF] product_supplierinfo_for_cus…
ysantiago Jun 28, 2017
657a553
product_supplierinfo_for_customer to v9
AaronHForgeFlow Jul 31, 2017
3e9a11a
[MIG] product_supplierinfo_for_customer to v10
AaronHForgeFlow Sep 29, 2017
dc982f3
[IMP] Add back the option to import the prices from supplierinfo to PL
AaronHForgeFlow Nov 6, 2017
ecebc15
[FIX] Move some views to product_supplierinfo_for_customer_sale
MiquelRForgeFlow Jul 9, 2018
aba5dcb
[REF] Don't overwrite views and fix view for customers
MiquelRForgeFlow Jul 16, 2018
8210bce
fix view field names
JordiBForgeFlow Jul 23, 2018
fc3975a
[IMP] Readem title and optimization
MiquelRForgeFlow Jul 23, 2018
d32343e
[FIX] Assure partner is passed in the context
MiquelRForgeFlow Jul 24, 2018
d541203
[11.0][MIG] product_supplier_info_for_customer: Module migration
sergio-teruel Jul 13, 2018
f0a4f9d
[IMP] Optimization and fixes from reviews
MiquelRForgeFlow Oct 15, 2018
5194b36
[IMP] Use variant one2many introduced in v11 like variant_seller_ids
MiquelRForgeFlow Oct 15, 2018
1336e21
[IMP] product.supplierinfo: type renamed to supplierinfo_type
MiquelRForgeFlow Oct 15, 2018
b00ade0
[IMP] Change to SavepointCase some tests
MiquelRForgeFlow Oct 15, 2018
8aef7aa
[11.0][FIX] product_supplierinfo_for_customer: Hide variant suppliers…
sergio-teruel Nov 22, 2018
51afc75
Translated using Weblate (Spanish)
mvrodriguez Feb 8, 2019
d87d1e2
[FIX] product_supplierinfo_for_customer: Mistake on act_window defini…
pedrobaeza Feb 22, 2019
4df1612
[FIX] product_supplierinfo_for_customer: visible_product_tmpl_id cont…
pedrobaeza Feb 22, 2019
18ffe13
[FIX] product_supplierinfo_for_customer: Adapt views to variants hand…
pedrobaeza Apr 3, 2019
01e4053
[MIGR] product_supplierinfo_for_customer: Migration to 12.0
renatonlima Apr 16, 2019
4a33a2c
[IMP] Split of 'product.supplierinfo' for 'product.customerinfo'
MiquelRForgeFlow Oct 15, 2019
7cbf77b
[ADD] Migration scripts
MiquelRForgeFlow Oct 15, 2019
f6d293b
[FIX] Assure you get partner id
MiquelRForgeFlow Oct 25, 2019
50cdefe
[FIX] name_get method should also search for customerinfo
MiquelRForgeFlow Oct 28, 2019
11f7d4f
[FIX] superhack: avoid verbatim copy of name_get method
MiquelRForgeFlow Oct 28, 2019
a85a928
[FIX] wrong parameter in _search
MiquelRForgeFlow Nov 14, 2019
91eca96
[MIG+FIX] product_supplierinfo_for_customer: Fix SQL for only one ID
pedrobaeza Jan 25, 2020
2b3eef2
[IMP] product_supplierinfo_for_customer: Clean old stored action domain
sergio-teruel Jan 29, 2020
b2ebb13
[IMP] product_supplierinfo_for_customer: black, isort
sergio-teruel Feb 4, 2020
67124b1
[MIG] product_supplierinfo_for_customer: Migration to v13.0
sergio-teruel Feb 4, 2020
52bd750
[IMP] product_supplierinfo_for_customer: Port last test from v12.0
sergio-teruel Feb 6, 2020
e98fe0e
Translated using Weblate (Spanish)
carlosdauden Mar 13, 2020
5075025
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Oct 1, 2020
bc6bb46
Added translation using Weblate (Catalan)
claudiagn Feb 25, 2021
676ea5a
[MIG] product_supplierinfo_for_customer: Migration to 14.0
fredzamoabg May 27, 2021
56cf62b
[13.0][IMP] product_supplierinfo_for_customer: add `_select_customeri…
LoisRForgeFlow Jul 22, 2021
12c1682
[IMP] product_supplierinfo_for_customer: black, isort, prettier
nalejhandro Nov 1, 2021
cd7b976
[MIG] product_supplierinfo_for_customer: Migration to 15.0
nalejhandro Nov 2, 2021
2c797b3
[FIX] product_supplierinfo_for_customer: Solve problem xml-deprecated…
nalejhandro Nov 9, 2021
22ba82e
Translated using Weblate (Catalan)
Noel000 Mar 21, 2022
798e1b4
[IMP] product_supplier_info_for_customer: Promote to stable
etobella Apr 19, 2022
d69272b
[MIG] product_pricelist_supplierinfo: Migration to 15.0
victoralmau Nov 18, 2022
890b2a6
[16.0][MIG] product_supplierinfo_for_customer: Migration to 16.0
FernandoRomera Dec 15, 2022
7c281ec
Added translation using Weblate (Italian)
PicchiSeba Apr 27, 2023
03c81b2
Translated using Weblate (Italian)
mymage May 3, 2023
828f567
Translated using Weblate (Italian)
francesco-ooops May 12, 2023
5d389a1
Translated using Weblate (Italian)
mymage May 17, 2023
dbe620e
Added translation using Weblate (Portuguese (Brazil))
adrianojprado Jun 10, 2023
7cc9442
Translated using Weblate (Italian)
francesco-ooops Jul 25, 2023
c14e166
Translated using Weblate (Spanish)
Ivorra78 Aug 23, 2023
2b2db5b
Translated using Weblate (Spanish)
Ivorra78 Sep 27, 2023
0ebb2ba
Translated using Weblate (French)
Oct 3, 2023
e189895
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 4, 2023
5279a0b
Translated using Weblate (Italian)
mymage Oct 29, 2023
cd72a37
[IMP] product_supplierinfo_for_customer: test performance improvement
josep-tecnativa Oct 23, 2023
d936f18
Translated using Weblate (Italian)
mymage Oct 31, 2023
e9a06ed
Translated using Weblate (Spanish)
Ivorra78 Nov 18, 2023
29de2e1
Translated using Weblate (Italian)
mymage Nov 23, 2023
c9c3387
[IMP] product_supplierinfo_for_customer: pre-commit auto fixes
Vang-NguyenPhu Dec 7, 2023
8b5c543
[MIG] product_supplierinfo_for_customer: Migration to 17.0
Vang-NguyenPhu May 23, 2024
39102a8
[FIX] product_supplierinfo_for_customer: product display name
May 24, 2024
7e6c514
Translated using Weblate (Italian)
mymage Jul 1, 2024
13da72d
[IMP] product_supplierinfo_for_customer: add search view
JordiMForgeFlow Jul 17, 2024
42efb7c
Translated using Weblate (Italian)
mymage Aug 30, 2024
77dbcfd
[FIX] product_supplierinfo_for_customer: fix missing products in como…
Sep 19, 2024
dc65f09
[MIG] product_customerinfo: Migration to 18.0
marielejeune Oct 10, 2024
5447415
[FIX] product_customerinfo: adapt name_search to the new api
carlos-lopez-tecnativa Feb 24, 2025
a64bfa6
[IMP] product_customerinfo: Allow searching product templates by cust…
carlos-lopez-tecnativa Mar 10, 2025
e65333e
[IMP] product_customerinfo: Fine-tuning views
carlos-lopez-tecnativa Mar 17, 2025
28fb5e6
[FIX] product_supplierinfo_for_customer: variant customer.supplierinf…
AaronHForgeFlow Feb 27, 2024
67f0cfd
[FIX] product_supplierinfo_for_customer: empty recordset instead of None
alexey-pelykh Mar 6, 2024
05574eb
[IMP] product_supplierinfo_for_customer: extend partner to look for p…
oihane Aug 27, 2025
b505f45
[IMP] product_supplierinfo_for_customer: commercial partner and paren…
giarve Sep 2, 2025
7dffa44
[IMP] product_customerinfo: Change terms to customer
bosd Oct 13, 2025
01bbe1a
Translated using Weblate (Italian)
mymage Oct 30, 2025
ebcb985
[IMP] product_customerinfo: allow using discount
JordiMForgeFlow Oct 29, 2025
788bf42
[IMP] product_customerinfo: pre-commit auto fixes
yankinmax Dec 15, 2025
c897c1f
[MIG] product_customerinfo: Migration to 19.0
yankinmax Dec 15, 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
139 changes: 139 additions & 0 deletions product_customerinfo/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==================================
Product Supplierinfo for Customers
==================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |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/19.0/product_customerinfo
: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-19-0/product-attribute-19-0-product_customerinfo
: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=19.0
:alt: Try me on Runboat

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

This module allows you to define a customer-specific product data
structure (patterned after the standard supplier/vendor info) on the
product form.

This structure enables defining customized information for each customer
and product, including:

::

- Custom Price (Price-list price)
- Customer Product Name
- Customer Product Code
- Minimum Order Quantity (MOQ)

**Table of contents**

.. contents::
:local:

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

For these prices to be used in sale prices calculations, you will have
to create a pricelist with a rule with option "Based on" with the value
"Partner Prices: Take the price from the customer info on the 'product
form')".

Usage
=====

There's a new section on *Sales* tab of the product form called
"Customers", where you can define records for customers with the same
structure of the suppliers.

There's a new option on pricelist items that allows to get the prices
from the supplierinfo at the product form.

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

- Product prices through this method are only guaranteed on the standard
sale order workflow. Other custom flows maybe don't reflect the price.
- The minimum quantity will neither apply on sale orders.

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

* AvanzOSC
* Tecnativa

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

- Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
- Aaron Henriquez <ahenriquez@forgeflow.com>
- Miquel Raïch <miquel.raich@forgeflow.com>
- `Tecnativa <https://www.tecnativa.com>`__:

- Pedro M. Baeza
- Sergio Teruel
- Carlos Lopez

- `Komit <https://komit-consulting.com>`__:

- Vang Nguyen Phu

- Maksym Yankin <maksym.yankin@camptocamp.com>

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-luisg123v| image:: https://github.com/luisg123v.png?size=40px
:target: https://github.com/luisg123v
:alt: luisg123v

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

|maintainer-luisg123v|

This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/19.0/product_customerinfo>`_ 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_customerinfo/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions product_customerinfo/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2015 OdooMRP team
# Copyright 2015 AvanzOSC
# Copyright 2015-18 Tecnativa
# Copyright 2017-18 ForgeFlow
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "Product Supplierinfo for Customers",
"summary": "Allows to define prices for customers in the products",
"version": "19.0.1.0.0",
"development_status": "Production/Stable",
"author": "AvanzOSC, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
"category": "Sales Management",
"license": "AGPL-3",
"maintainers": ["luisg123v"],
"depends": ["product"],
"data": [
"security/ir.model.access.csv",
"views/product_views.xml",
],
"demo": ["demo/product_demo.xml"],
"installable": True,
}
13 changes: 13 additions & 0 deletions product_customerinfo/demo/product_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Copyright 2015 AvanzOSC
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
<record id="product_supplierinfo_customer" model="product.customerinfo">
<field
name="product_tmpl_id"
ref="product.product_product_4_product_template"
/>
<field name="partner_id" ref="base.res_partner_2" />
<field name="delay">1</field>
<field name="min_qty">1</field>
</record>
</odoo>
Loading