-
-
Notifications
You must be signed in to change notification settings - Fork 805
[MIG][9.0]product supplierinfo for customer #287
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
Changes from all commits
deaa779
48fda6d
8f4c3b1
97bd663
3c3f4e3
2fb031e
3438b5c
cc00eca
127abd4
1a190ca
a7f7a66
9d8146c
b8e8644
39de341
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg | ||
| :alt: License: AGPL-3 | ||
| :target: http://www.gnu.org/licenses/agpl-3.0.en.html | ||
|
|
||
| ============================================ | ||
| Use product supplier info also for customers | ||
| ============================================ | ||
|
|
||
| This modules allows to use supplier info structure, available in | ||
| *Inventory* tab of the product form, also for defining customer information, | ||
| allowing to define prices per customer and product. | ||
|
|
||
| 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. | ||
|
|
||
| .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas | ||
| :alt: Try me on Runbot | ||
| :target: https://runbot.odoo-community.org/runbot/188/9.0 | ||
|
|
||
|
|
||
| The product code / product name specified for the customer can be reflected | ||
| on the sale orders using module `product_supplierinfo_for_customer_sale | ||
| <https://github.com/OCA/product-attribute/tree/9.0/product_supplierinfo_for_customer_sale>`_ | ||
|
|
||
| Known issues / Roadmap | ||
| ====================== | ||
|
|
||
| * In Odoo v9.0, it was removed the option to create pricelist based on supplierinfo prices. | ||
| This feature will be added in the v10 of this module. | ||
| * 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 not also be applied on sale orders. | ||
| * Computed fields in product.supplierinfo object won't properly work for | ||
| customer type. | ||
|
|
||
| Credits | ||
| ======= | ||
|
|
||
| Contributors | ||
| ------------ | ||
| * Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es> | ||
| * Tecnativa - Pedro M. Baeza <pedro.baeza@tecnativa.com> | ||
| * Aaron Henriquez <ahenriquez@eficent.com> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # -*- coding: utf-8 -*- | ||
| from . import models |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # -*- coding: utf-8 -*- | ||
| # Copyright 2015 OdooMRP team | ||
| # Copyright 2015 AvanzOSC | ||
| # Copyright 2015 Tecnativa | ||
| # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
| { | ||
| "name": "Use product supplier info for customers too", | ||
| "version": "9.0.1.0.0", | ||
| "author": "AvanzOSC, " | ||
| "Tecnativa, " | ||
| "Eficent, " | ||
| "Odoo Community Association (OCA)", | ||
| "website": "https://github.com/OCA/product-attribute", | ||
| "category": "Sales Management", | ||
| "license": 'AGPL-3', | ||
| "depends": [ | ||
| "product", | ||
| ], | ||
| "data": [ | ||
| "views/product_view.xml", | ||
| ], | ||
| "demo": [ | ||
| "demo/product_demo.xml", | ||
| ], | ||
| "installable": True, | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <openerp> | ||
| <!-- Copyright 2015 OdooMRP team | ||
| Copyright 2015 AvanzOSC | ||
| Copyright 2015 Tecnativa | ||
| License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). --> | ||
| <data noupdate="1"> | ||
| <record id="product_supplierinfo_customer" model="product.supplierinfo"> | ||
| <field name="product_tmpl_id" ref="product.product_product_4_product_template"/> | ||
| <field name="name" ref="base.res_partner_2"/> | ||
| <field name="delay">1</field> | ||
| <field name="min_qty">1</field> | ||
| <field name="type">customer</field> | ||
| </record> | ||
| </data> | ||
| </openerp> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,128 @@ | ||
| # Translation of Odoo Server. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With the new weblate server you are not supposed to add .po files unless this is the first time.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Transifex added this one, do we have to delete it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure: @sbidoul ?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since it's a migration, it also the first time the .po file appear on this branch. So you can keep them, there is no risk of conflict. |
||
| # This file contains the translation of the following modules: | ||
| # * product_supplierinfo_for_customer | ||
| # | ||
| # Translators: | ||
| # OCA Transbot <transbot@odoo-community.org>, 2016 | ||
| # Rudolf Schnapka <rs@techno-flex.de>, 2017 | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 8.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2017-04-21 02:49+0000\n" | ||
| "PO-Revision-Date: 2017-04-21 02:49+0000\n" | ||
| "Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2017\n" | ||
| "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: de\n" | ||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.actions.act_window,help:product_supplierinfo_for_customer.product_supplierinfo_action | ||
| msgid "" | ||
| "<p class=\"oe_view_nocontent_create\">\n" | ||
| " Click to define a new product.supplierinfo.\n" | ||
| " </p>\n" | ||
| " " | ||
| msgstr "" | ||
| "<p class=\"oe_view_nocontent_create\">\n" | ||
| " Klicken für neue product.supplierinfo Lieferanteninfo.\n" | ||
| " </p>\n" | ||
| " " | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| #: selection:product.supplierinfo,type:0 field:product.template,customer_ids:0 | ||
| msgid "Customer" | ||
| msgstr "Kunde" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.template:product_supplierinfo_for_customer.product_template_extended_form_view | ||
| msgid "Customers" | ||
| msgstr "Kunden" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| msgid "Group By" | ||
| msgstr "Gruppiere nach" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.actions.act_window,name:product_supplierinfo_for_customer.product_supplierinfo_action | ||
| #: model:ir.ui.menu,name:product_supplierinfo_for_customer.product_supplierinfo_sale_menu | ||
| msgid "Information about a product (customer)" | ||
| msgstr "Information zu einem (Kunden-) Produkt" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.model,name:product_supplierinfo_for_customer.model_product_supplierinfo | ||
| msgid "Information about a product supplier" | ||
| msgstr "Information zu Produktlieferant" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.model,name:product_supplierinfo_for_customer.model_res_partner | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_tree_view | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| msgid "Partner" | ||
| msgstr "Partner" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| msgid "Partner Product Code" | ||
| msgstr "Artikelnummer des Partners" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| msgid "Partner Product Name" | ||
| msgstr "Produktbezeichnung des Partners" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| msgid "Partner Unit of Measure" | ||
| msgstr "Mengeneinheit des Partners" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.model,name:product_supplierinfo_for_customer.model_product_pricelist | ||
| msgid "Pricelist" | ||
| msgstr "Preisliste" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.model,name:product_supplierinfo_for_customer.model_product_template | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| msgid "Product Template" | ||
| msgstr "Produktvorlage" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| #: selection:product.supplierinfo,type:0 field:product.template,supplier_ids:0 | ||
| msgid "Supplier" | ||
| msgstr "Lieferant" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| msgid "Supplierinfo search" | ||
| msgstr "Lieferantenauskunft-Suche" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| #: field:product.supplierinfo,type:0 | ||
| msgid "Type" | ||
| msgstr "Art" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.template:product_supplierinfo_for_customer.product_template_extended_form_view | ||
| msgid "[('type','=','supplier')]" | ||
| msgstr "[('type','=','supplier')]" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.template:product_supplierinfo_for_customer.product_template_extended_form_view | ||
| msgid "" | ||
| "{'default_search_type':'supplier','default_type':'supplier','default_product_tmpl_id':id}" | ||
| msgstr "" | ||
| "{'default_search_type':'supplier','default_type':'supplier','default_product_tmpl_id':id}" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| msgid "{'select_type': type}" | ||
| msgstr "{'select_type': type}" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| # Translation of Odoo Server. | ||
| # This file contains the translation of the following modules: | ||
| # * product_supplierinfo_for_customer | ||
| # | ||
| # Translators: | ||
| # OCA Transbot <transbot@odoo-community.org>, 2016 | ||
| msgid "" | ||
| msgstr "" | ||
| "Project-Id-Version: Odoo Server 8.0\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2016-11-03 10:07+0000\n" | ||
| "PO-Revision-Date: 2016-11-03 10:07+0000\n" | ||
| "Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n" | ||
| "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" | ||
| "MIME-Version: 1.0\n" | ||
| "Content-Type: text/plain; charset=UTF-8\n" | ||
| "Content-Transfer-Encoding: \n" | ||
| "Language: es\n" | ||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.actions.act_window,help:product_supplierinfo_for_customer.product_supplierinfo_action | ||
| msgid "" | ||
| "<p class=\"oe_view_nocontent_create\">\n" | ||
| " Click to define a new product.supplierinfo.\n" | ||
| " </p>\n" | ||
| " " | ||
| msgstr "" | ||
| "<p class=\"oe_view_nocontent_create\">\n" | ||
| "Pulse para definir una nueva definición de producto-empresa.\n" | ||
| "</p>\n" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| #: selection:product.supplierinfo,type:0 field:product.template,customer_ids:0 | ||
| msgid "Customer" | ||
| msgstr "Cliente" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.template:product_supplierinfo_for_customer.product_template_extended_form_view | ||
| msgid "Customers" | ||
| msgstr "Clientes" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| msgid "Group By" | ||
| msgstr "Agrupar por" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.actions.act_window,name:product_supplierinfo_for_customer.product_supplierinfo_action | ||
| #: model:ir.ui.menu,name:product_supplierinfo_for_customer.product_supplierinfo_sale_menu | ||
| msgid "Information about a product (customer)" | ||
| msgstr "" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.model,name:product_supplierinfo_for_customer.model_product_supplierinfo | ||
| msgid "Information about a product supplier" | ||
| msgstr "Información de un proveedor de producto" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.model,name:product_supplierinfo_for_customer.model_res_partner | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_tree_view | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| msgid "Partner" | ||
| msgstr "Empresa" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| msgid "Partner Product Code" | ||
| msgstr "Código de producto para la empresa" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| msgid "Partner Product Name" | ||
| msgstr "Nombre de producto para la empresa" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| msgid "Partner Unit of Measure" | ||
| msgstr "Unidad de medida de empresa" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.model,name:product_supplierinfo_for_customer.model_product_pricelist | ||
| msgid "Pricelist" | ||
| msgstr "" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: model:ir.model,name:product_supplierinfo_for_customer.model_product_template | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| msgid "Product Template" | ||
| msgstr "Plantilla de producto" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| #: selection:product.supplierinfo,type:0 field:product.template,supplier_ids:0 | ||
| msgid "Supplier" | ||
| msgstr "Proveedor" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| msgid "Supplierinfo search" | ||
| msgstr "Búsqueda de producto-empresa" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_search_view | ||
| #: field:product.supplierinfo,type:0 | ||
| msgid "Type" | ||
| msgstr "Tipo" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.template:product_supplierinfo_for_customer.product_template_extended_form_view | ||
| msgid "[('type','=','supplier')]" | ||
| msgstr "" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.template:product_supplierinfo_for_customer.product_template_extended_form_view | ||
| msgid "" | ||
| "{'default_search_type':'supplier','default_type':'supplier','default_product_tmpl_id':id}" | ||
| msgstr "" | ||
|
|
||
| #. module: product_supplierinfo_for_customer | ||
| #: view:product.supplierinfo:product_supplierinfo_for_customer.product_supplierinfo_extended_form_view | ||
| msgid "{'select_type': type}" | ||
| msgstr "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add copyright
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done