Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
859901e
[UPT]rename module product_customer_code
AaronHForgeFlow Apr 4, 2018
5b15a9e
[FIX] Pass customer code and min qty to sale order line
MiquelRForgeFlow Jul 9, 2018
477877d
[ADD] Tests
MiquelRForgeFlow Jul 24, 2018
bd11441
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Jul 26, 2018
5f5938f
product_supplierinfo_for_customer_sale: New module.
ysantiago Jun 27, 2017
a0f9970
product_supplierinfo_for_customer_sale: Return all result in name sea…
ysantiago Jun 30, 2017
ca4263b
[MIG] product_supplierinfo_for_customer_sale: Migration to 11.0
xavierjimenez Aug 16, 2018
d2fb859
[REF] product_supplierinfo_for_customer_sale: Use product.name_search…
moylop260 Oct 24, 2018
11ead8b
[REF] product_supplierinfo_for_customer_sale: Adding Vauxoo author
moylop260 Oct 24, 2018
53e40e5
[UPD] README.rst
OCA-git-bot Oct 25, 2018
e508cdb
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Oct 25, 2018
6d42fde
[UPD] README.rst
OCA-git-bot Dec 2, 2018
5496286
Update translation files
oca-transbot Dec 2, 2018
d8c63f0
[FIX] product_supplierinfo_for_customer_sale: Remove offending test
pedrobaeza Mar 27, 2019
705d10f
[FIX] product_supplierinfo_for_customer_sale: TypeError: unorderable
hugho-ad May 27, 2019
93bc54d
Added translation using Weblate (German)
marylla Jul 15, 2019
108b758
Translated using Weblate (German)
marylla Jul 17, 2019
c4d9855
[UPD] README.rst
OCA-git-bot Jul 29, 2019
bab91c8
[11.0][FIX] product_supplierinfo_for_customer_sale: Search supplierin…
sergio-teruel May 9, 2019
a0d3627
product_supplierinfo_for_customer_sale 11.0.1.0.1
OCA-git-bot Oct 23, 2019
34cffd4
[12.0][MIG] product_supplierinfo_for_customer_sale
murtuzasaleh May 8, 2019
2874e2d
[IMP] Split of 'product.supplierinfo' for 'product.customerinfo'
MiquelRForgeFlow Oct 24, 2019
0a6a654
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Nov 26, 2019
35bd4be
[UPD] README.rst
OCA-git-bot Nov 26, 2019
72f259c
Update translation files
oca-transbot Nov 28, 2019
b72a872
Added translation using Weblate (Portuguese)
pedrocs-exo Sep 17, 2020
1976ecb
Translated using Weblate (Portuguese)
pedrocs-exo Sep 17, 2020
e15c775
[12.0][IMP] add group to create/edit customerinfo
sergiocorato Jan 27, 2021
4d44964
product_supplierinfo_for_customer_sale 12.0.1.1.0
OCA-git-bot Jan 28, 2021
67a79a6
Added translation using Weblate (Catalan)
danimv5 Mar 10, 2021
1e2da39
Added translation using Weblate (Spanish)
danimv5 Mar 10, 2021
bf43e45
Translated using Weblate (Catalan)
danimv5 Mar 10, 2021
84dc07b
Translated using Weblate (Spanish)
danimv5 Mar 10, 2021
1ba5ab6
[IMP] product_supplierinfo_for_customer_sale: black, isort, prettier
LoisRForgeFlow Jul 22, 2021
b1f272b
[13.0][MIG] product_supplierinfo_for_customer_sale
LoisRForgeFlow Jul 22, 2021
b9a57ae
Clarify the proposal of min_qty in sales order lines
JordiBForgeFlow Aug 3, 2021
d48d865
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Aug 3, 2021
0f48058
[UPD] README.rst
OCA-git-bot Aug 3, 2021
8daeeb0
[IMP] product_supplierinfo_for_customer_sale: black, isort, prettier
LoisRForgeFlow Aug 3, 2021
f1734ea
[14.0][MIG] product_supplierinfo_for_customer_sale
LoisRForgeFlow Aug 3, 2021
5975977
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Aug 9, 2021
1cde920
[UPD] README.rst
OCA-git-bot Aug 9, 2021
5471622
product_supplierinfo_for_customer_sale 14.0.1.0.1
OCA-git-bot Aug 9, 2021
d785390
Translated using Weblate (Italian)
francesco-ooops Feb 17, 2022
73ea334
Translated using Weblate (Italian)
francesco-ooops Apr 8, 2022
502c7af
[UPD] README.rst
OCA-git-bot Jun 2, 2022
9708538
[UPD] README.rst
OCA-git-bot Jun 2, 2022
01196f9
[MIG] product_supplierinfo_for_customer_sale: Migration to 15.0
Jun 20, 2022
a67cbdb
[FIX] product_supplierinfo_for_customer_sale: Use the same ACL's to s…
sergio-teruel Sep 1, 2022
24c06c6
[UPD] Update product_supplierinfo_for_customer_sale.pot
Sep 2, 2022
8d63e74
[UPD] README.rst
OCA-git-bot Sep 2, 2022
bf1a234
[IMP] product_supplierinfo_for_customer_sale: Add menu entry to acces…
CarlosRoca13 Jun 16, 2022
1767a25
[MIG] product_supplierinfo_for_customer_sale: Migration to 16.0
Reyes4711-S73 Jan 11, 2023
8265e0a
[UPD] Update product_supplierinfo_for_customer_sale.pot
Apr 12, 2023
ac0715b
[UPD] README.rst
OCA-git-bot Apr 12, 2023
4c1b1d0
Update translation files
weblate Apr 12, 2023
bc05f2b
Translated using Weblate (Italian)
francesco-ooops May 9, 2023
4012f75
[UPD] README.rst
OCA-git-bot Sep 3, 2023
de778dc
Translated using Weblate (Italian)
francesco-ooops Sep 26, 2023
be5777e
Update translation files
weblate Oct 9, 2023
29c3873
Translated using Weblate (German)
dbruehlmeier Oct 11, 2023
73a351c
Translated using Weblate (Italian)
mymage Dec 1, 2023
a218c63
[IMP] product_supplierinfo_for_customer_sale: Add compatibility with …
victoralmau May 13, 2024
6107a42
[FIX] product_supplierinfo_for_customer_sale: Don't inject context in…
pedrobaeza May 28, 2024
26b60bf
[IMP] product_supplierinfo_for_customer_sale: Adapt code to 16.0
victoralmau May 31, 2024
aa71a47
[BOT] post-merge updates
OCA-git-bot May 31, 2024
08326c5
[FIX] product_supplierinfo_for_customer_sale: fix tests
Jun 4, 2024
8d2283f
[BOT] post-merge updates
OCA-git-bot Jun 4, 2024
91f461d
[IMP] product_supplierinfo_for_customer_sale: pre-commit autofixes
Jun 5, 2024
8fb3c74
[MIG] product_supplierinfo_for_customer_sale: Migration to 17.0
Jun 5, 2024
e4b54ef
[UPD] Update product_supplierinfo_for_customer_sale.pot
Jun 14, 2024
7024360
[BOT] post-merge updates
OCA-git-bot Jun 14, 2024
0a9971d
[MIG] product_supplierinfo_for_customer_sale: Migration to 18.0
cem-adhoc Dec 2, 2024
104aab7
[DON'T MERGE] test-requirements.txt
Dec 9, 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
132 changes: 132 additions & 0 deletions product_supplierinfo_for_customer_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
======================================
Product Supplierinfo for Customer 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_supplierinfo_for_customer_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_supplierinfo_for_customer_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_supplierinfo_for_customer, 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_supplierinfo_for_customer_sale/static/description/configuration_customer.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/search_code.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/description_code.png
.. |image4| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_sale/static/description/search_code_2.png
.. |image5| image:: https://raw.githubusercontent.com/OCA/sale-workflow/18.0/product_supplierinfo_for_customer_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_supplierinfo_for_customer_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_supplierinfo_for_customer_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_supplierinfo_for_customer_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_supplierinfo_for_customer_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 Supplierinfo for Customer 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_supplierinfo_for_customer"],
"data": [
"security/ir.model.access.csv",
"views/product_customerinfo_views.xml",
"views/sale_view.xml",
],
"installable": True,
}
49 changes: 49 additions & 0 deletions product_supplierinfo_for_customer_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_supplierinfo_for_customer_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_supplierinfo_for_customer_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_supplierinfo_for_customer_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