Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
80 changes: 80 additions & 0 deletions product_customer_code/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

=====================
Product customer code
=====================

This module extends of module product and allows to have different codes
for the same product according to the customer.

Installation
============

To install this module, you need:

- Not special pre-installation is required, just install as a regular Odoo
module:

- Go to ``Settings > Module list`` search for the current name and click in
``Install`` button.

Usage
=====

To use this module, you need:

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

.. figure:: static/description/customer_reference.png
:alt: Configure customer codes
:width: 600 px

- When add order lines in sale quotation for a customer that has an specific
code in the product, you can search that product with customer code.

.. figure:: static/description/quotation_customer.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:: static/description/quotation_not_customer.png
:alt: Search by not exist customer code
:width: 600 px

You can see the behavior described above in the following video:

.. figure:: http://img.youtube.com/vi/CkePQmYZMMc/hqdefault.jpg
:target: https://www.youtube.com/embed/CkePQmYZMMc
:figwidth: 60%
:align: center

Credits
=======


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

* Julio Serna Hernández <julio@vauxoo.com>
* Yennifer Santiago <yennifer@vauxoo.com>
* Moisés López <moylop260@vauxoo.com>


Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
7 changes: 5 additions & 2 deletions product_customer_code/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
import product_customer_code
import product
# coding: utf-8
# Copyright 2017 Vauxoo (https://www.vauxoo.com) info@vauxoo.com
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

from . import models
63 changes: 14 additions & 49 deletions product_customer_code/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,60 +1,25 @@
# -*- encoding: utf-8 -*-
###########################################################################
# Module Writen to OpenERP, Open Source Management Solution
#
# Copyright (c) 2012 Vauxoo - http://www.vauxoo.com/
# All Rights Reserved.
# info Vauxoo (info@vauxoo.com)
############################################################################
# Coded by: el_rodo_1 (rodo@vauxoo.com)
############################################################################
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# coding: utf-8
# Copyright 2017 Vauxoo (https://www.vauxoo.com) info@vauxoo.com
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

{
"name": "Products Customer Code",
"version": "1.0",
"author": "Vauxoo,Odoo Community Association (OCA)",
"version": "8.0.1.0.0",
"author": "Vauxoo, Odoo Community Association (OCA)",
"category": "Generic Modules/Product",
"website": "http://www.vauxoo.com/",
"license": "AGPL-3",
"category": "Generic Modules/Product",
"summary": "Add many Customers' Codes in product",
"depends": [
"base",
"product",
"product"
],
"description": """
Customer' codes in product
==========================

This module does just like the product.supplierinfo but for customers instead. For instance it
allows to have different references for the same product according to the customer.

.. image:: product_customer_code/static/src/img/screenshot1.png

.. tip::

You will need install some of the Apps which enable the product menu to see this module in
action, like Sales, Purchase or Warehouse Management
""",
"demo": [],
"data": [
"security/product_customer_code_security.xml",
"security/ir.model.access.csv",
"product_customer_code_view.xml",
"product_product_view.xml",
"views/product_customer_code_view.xml",
"views/product_product_view.xml"
],
"active": False,
'installable': False,
"test": [],
"installable": True,
"auto_install": False,
}
30 changes: 16 additions & 14 deletions product_customer_code/i18n/es.po
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * product_customer_code
# * product_customer_code
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 6.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-11-07 01:08+0000\n"
"PO-Revision-Date: 2014-06-20 09:06+0000\n"
"Last-Translator: Raphaël Valyi - http://www.akretion.com <Unknown>\n"
"PO-Revision-Date: 2015-08-03 16:07+0200\n"
"Last-Translator: hbto [Vauxoo] http://www.vauxoo.com "
"<humbertoarocha@gmail.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2014-06-21 06:24+0000\n"
"X-Generator: Launchpad (build 17058)\n"
"X-Launchpad-Export-Date: 2014-11-21 06:46+0000\n"
"X-Generator: Poedit 1.8.2\n"
"Language: es\n"

#. module: product_customer_code
#: field:product.customer.code,partner_id:0
Expand Down Expand Up @@ -47,23 +49,20 @@ msgid "Customer Product Code"
msgstr "Código del Producto por Cliente"

#. module: product_customer_code
#: view:product.customer.code:0
#: field:product.customer.code,company_id:0
#: view:product.customer.code:0 field:product.customer.code,company_id:0
msgid "Company"
msgstr "Compañia"

#. module: product_customer_code
#: model:ir.actions.act_window,name:product_customer_code.action_product_customer_code_tree
#: model:ir.ui.menu,name:product_customer_code.menu_product_customer_code
#: view:product.customer.code:0
#: view:product.product:0
#: view:product.customer.code:0 view:product.product:0
msgid "Product Customer Code"
msgstr "Código del Producto por Cliente"

#. module: product_customer_code
#: model:ir.model,name:product_customer_code.model_product_product
#: view:product.customer.code:0
#: field:product.customer.code,product_id:0
#: view:product.customer.code:0 field:product.customer.code,product_id:0
msgid "Product"
msgstr "Producto"

Expand All @@ -76,7 +75,8 @@ msgid ""
" a request for quotation."
msgstr ""
"El código de Producto del cliente\n"
" se usará cuando se busque en\n"
" se usará cuando se busque "
"en\n"
" una solicitud de cotización."

#. module: product_customer_code
Expand Down Expand Up @@ -113,9 +113,11 @@ msgstr "Agregar varios códigos de clientes"
#: help:product.customer.code,product_name:0
msgid ""
"This customer's product name will\n"
" be used when searching into a\n"
" be used when searching into "
"a\n"
" request for quotation."
msgstr ""
"Este nombre de Producto del cliente\n"
" se usará cuando se busque en\n"
" se usará cuando se busque "
"en\n"
" una solicitud de cotización."
21 changes: 10 additions & 11 deletions product_customer_code/i18n/es_MX.po
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * product_customer_code
# * product_customer_code
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 6.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-11-07 01:08+0000\n"
"PO-Revision-Date: 2014-06-20 09:02+0000\n"
"PO-Revision-Date: 2015-08-03 16:07+0200\n"
"Last-Translator: julio <julio@vauxoo.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2014-06-21 06:24+0000\n"
"X-Generator: Launchpad (build 17058)\n"
"X-Launchpad-Export-Date: 2014-11-21 06:46+0000\n"
"X-Generator: Poedit 1.8.2\n"
"Language: es_MX\n"

#. module: product_customer_code
#: field:product.customer.code,partner_id:0
Expand Down Expand Up @@ -47,23 +48,20 @@ msgid "Customer Product Code"
msgstr ""

#. module: product_customer_code
#: view:product.customer.code:0
#: field:product.customer.code,company_id:0
#: view:product.customer.code:0 field:product.customer.code,company_id:0
msgid "Company"
msgstr ""

#. module: product_customer_code
#: model:ir.actions.act_window,name:product_customer_code.action_product_customer_code_tree
#: model:ir.ui.menu,name:product_customer_code.menu_product_customer_code
#: view:product.customer.code:0
#: view:product.product:0
#: view:product.customer.code:0 view:product.product:0
msgid "Product Customer Code"
msgstr ""

#. module: product_customer_code
#: model:ir.model,name:product_customer_code.model_product_product
#: view:product.customer.code:0
#: field:product.customer.code,product_id:0
#: view:product.customer.code:0 field:product.customer.code,product_id:0
msgid "Product"
msgstr ""

Expand Down Expand Up @@ -110,6 +108,7 @@ msgstr ""
#: help:product.customer.code,product_name:0
msgid ""
"This customer's product name will\n"
" be used when searching into a\n"
" be used when searching into "
"a\n"
" request for quotation."
msgstr ""
21 changes: 10 additions & 11 deletions product_customer_code/i18n/es_VE.po
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
# Translation of OpenERP Server.
# This file contains the translation of the following modules:
# * product_customer_code
# * product_customer_code
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 6.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-11-07 01:08+0000\n"
"PO-Revision-Date: 2014-06-20 09:03+0000\n"
"PO-Revision-Date: 2015-08-03 16:07+0200\n"
"Last-Translator: julio <julio@vauxoo.com>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2014-06-21 06:24+0000\n"
"X-Generator: Launchpad (build 17058)\n"
"X-Launchpad-Export-Date: 2014-11-21 06:46+0000\n"
"X-Generator: Poedit 1.8.2\n"
"Language: es_VE\n"

#. module: product_customer_code
#: field:product.customer.code,partner_id:0
Expand Down Expand Up @@ -47,23 +48,20 @@ msgid "Customer Product Code"
msgstr ""

#. module: product_customer_code
#: view:product.customer.code:0
#: field:product.customer.code,company_id:0
#: view:product.customer.code:0 field:product.customer.code,company_id:0
msgid "Company"
msgstr ""

#. module: product_customer_code
#: model:ir.actions.act_window,name:product_customer_code.action_product_customer_code_tree
#: model:ir.ui.menu,name:product_customer_code.menu_product_customer_code
#: view:product.customer.code:0
#: view:product.product:0
#: view:product.customer.code:0 view:product.product:0
msgid "Product Customer Code"
msgstr ""

#. module: product_customer_code
#: model:ir.model,name:product_customer_code.model_product_product
#: view:product.customer.code:0
#: field:product.customer.code,product_id:0
#: view:product.customer.code:0 field:product.customer.code,product_id:0
msgid "Product"
msgstr ""

Expand Down Expand Up @@ -110,6 +108,7 @@ msgstr ""
#: help:product.customer.code,product_name:0
msgid ""
"This customer's product name will\n"
" be used when searching into a\n"
" be used when searching into "
"a\n"
" request for quotation."
msgstr ""
6 changes: 6 additions & 0 deletions product_customer_code/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# coding: utf-8
# Copyright 2017 Vauxoo (https://www.vauxoo.com) info@vauxoo.com
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

from . import product_customer_code
from . import product
Loading