Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
b257bd3
[IMP]sale_force_invoiced: pre-commit auto fixes
odooexperts-visioncode Nov 18, 2024
6c88634
[UPT]rename module product_customer_code
AaronHForgeFlow Apr 4, 2018
54ee3fe
[FIX] Pass customer code and min qty to sale order line
MiquelRForgeFlow Jul 9, 2018
f461d52
[ADD] Tests
MiquelRForgeFlow Jul 24, 2018
ff71dea
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Jul 26, 2018
fc2fcc7
product_supplierinfo_for_customer_sale: New module.
ysantiago Jun 27, 2017
e62c2f6
product_supplierinfo_for_customer_sale: Return all result in name sea…
ysantiago Jun 30, 2017
5bd8989
[MIG] product_supplierinfo_for_customer_sale: Migration to 11.0
xavierjimenez Aug 16, 2018
8ff3705
[REF] product_supplierinfo_for_customer_sale: Use product.name_search…
moylop260 Oct 24, 2018
f01f06f
[REF] product_supplierinfo_for_customer_sale: Adding Vauxoo author
moylop260 Oct 24, 2018
af3ed2e
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Oct 25, 2018
0f8e16a
Update translation files
oca-transbot Dec 2, 2018
b6f7d0a
[FIX] product_supplierinfo_for_customer_sale: Remove offending test
pedrobaeza Mar 27, 2019
a1c466e
[FIX] product_supplierinfo_for_customer_sale: TypeError: unorderable
hugho-ad May 27, 2019
0e6b9b6
Added translation using Weblate (German)
marylla Jul 15, 2019
e684d0d
[11.0][FIX] product_supplierinfo_for_customer_sale: Search supplierin…
sergio-teruel May 9, 2019
6a81de2
[12.0][MIG] product_supplierinfo_for_customer_sale
murtuzasaleh May 8, 2019
fd4e880
[IMP] Split of 'product.supplierinfo' for 'product.customerinfo'
MiquelRForgeFlow Oct 24, 2019
f4a2cea
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Nov 26, 2019
10c3e20
Update translation files
oca-transbot Nov 28, 2019
b47a0c6
Added translation using Weblate (Portuguese)
pedrocs-exo Sep 17, 2020
59ed1b6
[12.0][IMP] add group to create/edit customerinfo
sergiocorato Jan 27, 2021
cfe2069
Added translation using Weblate (Catalan)
danimv5 Mar 10, 2021
03de332
Added translation using Weblate (Spanish)
danimv5 Mar 10, 2021
50c1f31
[IMP] product_supplierinfo_for_customer_sale: black, isort, prettier
LoisRForgeFlow Jul 22, 2021
a51dbfc
[13.0][MIG] product_supplierinfo_for_customer_sale
LoisRForgeFlow Jul 22, 2021
c46b88e
Clarify the proposal of min_qty in sales order lines
JordiBForgeFlow Aug 3, 2021
c735ec7
[IMP] product_supplierinfo_for_customer_sale: black, isort, prettier
LoisRForgeFlow Aug 3, 2021
646c0ca
[14.0][MIG] product_supplierinfo_for_customer_sale
LoisRForgeFlow Aug 3, 2021
f65cff8
Translated using Weblate (Italian)
francesco-ooops Feb 17, 2022
792f285
[MIG] product_supplierinfo_for_customer_sale: Migration to 15.0
Jun 20, 2022
6ecdaf3
[FIX] product_supplierinfo_for_customer_sale: Use the same ACL's to s…
sergio-teruel Sep 1, 2022
3376a22
[IMP] product_supplierinfo_for_customer_sale: Add menu entry to acces…
CarlosRoca13 Jun 16, 2022
d68cf31
[MIG] product_supplierinfo_for_customer_sale: Migration to 16.0
Reyes4711-S73 Jan 11, 2023
5471cfc
Update translation files
weblate Apr 12, 2023
7b28d90
Translated using Weblate (Italian)
francesco-ooops May 9, 2023
e4bbc73
Update translation files
weblate Oct 9, 2023
0cf71d0
Translated using Weblate (German)
dbruehlmeier Oct 11, 2023
3bbac73
Translated using Weblate (Italian)
mymage Dec 1, 2023
9e5c338
[IMP] product_supplierinfo_for_customer_sale: Add compatibility with …
victoralmau May 13, 2024
72f3921
[FIX] product_supplierinfo_for_customer_sale: Don't inject context in…
pedrobaeza May 28, 2024
06acea6
[IMP] product_supplierinfo_for_customer_sale: Adapt code to 16.0
victoralmau May 31, 2024
bcd0f75
[FIX] product_supplierinfo_for_customer_sale: fix tests
Jun 4, 2024
c4811d2
[IMP] product_supplierinfo_for_customer_sale: pre-commit autofixes
Jun 5, 2024
b8c1d5a
[MIG] product_supplierinfo_for_customer_sale: Migration to 17.0
Jun 5, 2024
4e14790
[MIG] product_customerinfo_sale: Migration to 18.0
cem-adhoc Dec 2, 2024
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
131 changes: 131 additions & 0 deletions product_customerinfo_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
==========================
Product customer info sale
==========================

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

.. |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/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%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/18.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-18-0/sale-workflow-18-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=18.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/18.0/product_customerinfo_sale/static/description/configuration_customer.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/search_code.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/description_code.png
.. |image4| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_customerinfo_sale/static/description/search_code_2.png
.. |image5| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.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:%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
-------

* 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/18.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": "18.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_supplierinfo_for_customer_sale
#: model:ir.actions.act_window,name:product_supplierinfo_for_customer_sale.action_open_product_customerinfo
#: model:ir.ui.menu,name:product_supplierinfo_for_customer_sale.menu_product_customerinfo
msgid "Prices for customers"
msgstr ""

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

#. module: product_supplierinfo_for_customer_sale
#: model:ir.model,name:product_supplierinfo_for_customer_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_supplierinfo_for_customer_sale
#: model:ir.actions.act_window,name:product_supplierinfo_for_customer_sale.action_open_product_customerinfo
#: model:ir.ui.menu,name:product_supplierinfo_for_customer_sale.menu_product_customerinfo
msgid "Prices for customers"
msgstr "Kundenpreise"

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

#. module: product_supplierinfo_for_customer_sale
#: model:ir.model,name:product_supplierinfo_for_customer_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_supplierinfo_for_customer_sale
#: model:ir.actions.act_window,name:product_supplierinfo_for_customer_sale.action_open_product_customerinfo
#: model:ir.ui.menu,name:product_supplierinfo_for_customer_sale.menu_product_customerinfo
msgid "Prices for customers"
msgstr "Precios para clientes"

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

#. module: product_supplierinfo_for_customer_sale
#: model:ir.model,name:product_supplierinfo_for_customer_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: 2023-12-01 15:35+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 4.17\n"
"X-Launchpad-Export-Date: 2014-05-28 05:52+0000\n"

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

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

#. module: product_supplierinfo_for_customer_sale
#: model:ir.model,name:product_supplierinfo_for_customer_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"
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 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 17.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

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

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

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