Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12.0][MIG] product_supplierinfo_for_customer_sale #976

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ccb334e
[UPT]rename module product_customer_code
AaronHForgeFlow Apr 4, 2018
6d8c5b8
[FIX] Pass customer code and min qty to sale order line
MiquelRForgeFlow Jul 9, 2018
81ad771
[ADD] Tests
MiquelRForgeFlow Jul 24, 2018
ed562c9
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Jul 26, 2018
ae25a01
product_supplierinfo_for_customer_sale: New module.
ysantiago Jun 27, 2017
06de2aa
product_supplierinfo_for_customer_sale: Return all result in name sea…
ysantiago Jun 30, 2017
dfbb0a9
[MIG] product_supplierinfo_for_customer_sale: Migration to 11.0
xavierjimenez Aug 16, 2018
25aa488
[REF] product_supplierinfo_for_customer_sale: Use product.name_search…
moylop260 Oct 24, 2018
b9837b3
[REF] product_supplierinfo_for_customer_sale: Adding Vauxoo author
moylop260 Oct 24, 2018
468a06a
[UPD] README.rst
OCA-git-bot Oct 25, 2018
cadb714
[UPD] Update product_supplierinfo_for_customer_sale.pot
oca-travis Oct 25, 2018
32a4039
[UPD] README.rst
OCA-git-bot Dec 2, 2018
4327c9e
Update translation files
oca-transbot Dec 2, 2018
34f7eeb
[FIX] product_supplierinfo_for_customer_sale: Remove offending test
pedrobaeza Mar 27, 2019
6f180ef
[FIX] product_supplierinfo_for_customer_sale: TypeError: unorderable
hugho-ad May 27, 2019
d2c15f0
Added translation using Weblate (German)
marylla Jul 15, 2019
7a9748c
Translated using Weblate (German)
marylla Jul 17, 2019
57bca16
[UPD] README.rst
OCA-git-bot Jul 29, 2019
5de60f7
[11.0][FIX] product_supplierinfo_for_customer_sale: Search supplierin…
sergio-teruel May 9, 2019
57770be
product_supplierinfo_for_customer_sale 11.0.1.0.1
OCA-git-bot Oct 23, 2019
28fb978
[12.0][MIG] product_supplierinfo_for_customer_sale
murtuzasaleh May 8, 2019
10ce1a2
[IMP] Split of 'product.supplierinfo' for 'product.customerinfo'
MiquelRForgeFlow Oct 24, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions oca_dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
account-closing
account-invoicing
product-attribute
partner-contact
server-tools
web
Expand Down
123 changes: 123 additions & 0 deletions product_supplierinfo_for_customer_sale/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
======================================
Product Supplierinfo for Customer Sale
======================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/12.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-12-0/sale-workflow-12-0-product_supplierinfo_for_customer_sale
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/167/12.0
:alt: Try me on Runbot

|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.

**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.

.. figure:: https://raw.githubusercontent.com/OCA/sale-workflow/12.0/product_supplierinfo_for_customer_sale/static/description/configuration_customer.png
:alt: Configure customer codes
:width: 600 px

- 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.

.. figure:: https://raw.githubusercontent.com/OCA/sale-workflow/12.0/product_supplierinfo_for_customer_sale/static/description/search_code.png
:alt: Search by exist customer code
:width: 600 px

.. figure:: https://raw.githubusercontent.com/OCA/sale-workflow/12.0/product_supplierinfo_for_customer_sale/static/description/description_code.png
:alt: Search by exist customer code
:width: 600 px

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

.. figure:: https://raw.githubusercontent.com/OCA/sale-workflow/12.0/product_supplierinfo_for_customer_sale/static/description/search_code_2.png
:alt: Search by exist customer code
:width: 600 px

.. figure:: https://raw.githubusercontent.com/OCA/sale-workflow/12.0/product_supplierinfo_for_customer_sale/static/description/description_code_2.png
:alt: Search by exist customer code
:width: 600 px

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20product_supplierinfo_for_customer_sale%0Aversion:%2011.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>

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/12.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>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Product Supplierinfo for Customer Sale",
"version": "12.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": [
"views/sale_view.xml",
],
"installable": True,
}
62 changes: 62 additions & 0 deletions product_supplierinfo_for_customer_sale/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# 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: 2019-07-17 11:43+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\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 3.7.1\n"

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Customer"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Partner"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.model,name:product_supplierinfo_for_customer_sale.model_product_product
msgid "Product"
msgstr "Produkt"

#. 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.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Product Template"
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 ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Supplier"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Supplierinfo"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Type"
msgstr ""
64 changes: 64 additions & 0 deletions product_supplierinfo_for_customer_sale/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# 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: 2014-04-25 13:45+0000\n"
"Last-Translator: Nicola Malcontenti - Agile BG <nicola.malcontenti@agilebg."
"com>\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"
"X-Launchpad-Export-Date: 2014-05-28 05:52+0000\n"
"X-Generator: Launchpad (build 17017)\n"

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Customer"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Partner"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.model,name:product_supplierinfo_for_customer_sale.model_product_product
msgid "Product"
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 "Codice Prodotto Cliente"

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Product Template"
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 "Linea d'ordine di vendita"

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Supplier"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Supplierinfo"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Type"
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# 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"
"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.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Customer"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Partner"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.model,name:product_supplierinfo_for_customer_sale.model_product_product
msgid "Product"
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.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Product Template"
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 ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Supplier"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Supplierinfo"
msgstr ""

#. module: product_supplierinfo_for_customer_sale
#: model:ir.ui.view,arch_db:product_supplierinfo_for_customer_sale.product_supplierinfo_search_view
msgid "Type"
msgstr ""

3 changes: 3 additions & 0 deletions product_supplierinfo_for_customer_sale/models/__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 sale