Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
fa0eb88
<product_supplierinfo_for_customer>
oihane Sep 18, 2014
352ef98
product_supplierinfo_for_customer: Views and documentation
pedrobaeza Feb 5, 2015
bb4cacb
Related to #638
oihane Feb 11, 2015
5063d21
Slovene translations of odoomrp modules
sysadminmatmoz Aug 15, 2015
b30eaf0
product_supplierinfo_for_customer: Avoid side effects + improve README
pedrobaeza Aug 27, 2015
34099b8
<product_supplierinfo_for_customer> Create 'customer' type from menu …
oihane Sep 3, 2015
9193ae8
<product_supplierinfo_for_customer> Added know issue with computed fi…
oihane Sep 4, 2015
4c607f4
product_supplierinfo_for_customer: Create "demo" data, and "tests" fo…
alfredoavanzosc Sep 28, 2015
5aab198
license target link
Oct 22, 2015
9030f72
OCA as author added
Oct 22, 2015
0bf236e
OCA Transbot updated translations from Transifex
oca-transbot Nov 29, 2016
b7bbd52
product_customer_code: New README. [REF] product_supplierinfo_for_cus…
ysantiago Jun 28, 2017
2c82565
product_supplierinfo_for_customer to v9
AaronHForgeFlow Jul 31, 2017
a275bb9
[MIG] product_supplierinfo_for_customer to v10
AaronHForgeFlow Sep 29, 2017
0dc95a3
[IMP] Add back the option to import the prices from supplierinfo to PL
AaronHForgeFlow Nov 6, 2017
50d1172
[FIX] product_multi_category: E7901 error pylint in readme
MiquelRForgeFlow Jun 28, 2018
092bffe
[FIX] product_sequence: E8103 sql-injection pylint error
MiquelRForgeFlow Jun 28, 2018
e6d6619
[FIX] customer_pricing_in_product_view: E7901 pylint error
MiquelRForgeFlow Jun 28, 2018
3868474
[FIX] product_variant_inactive: E7901 pylint error
MiquelRForgeFlow Jun 28, 2018
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
2 changes: 1 addition & 1 deletion customer_pricing_in_product_view/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Known issues / Roadmap

* Previous versions of this module allowed the customers name to be typed directly in the view.
* While fields.dummy has been deprecated the functionality can still be acheived by an unstored many2one
on product.template in the same way as pricelist_id is currently stored.
on product.template in the same way as pricelist_id is currently stored.

However, the way in which the context is set presents two issues.

Expand Down
9 changes: 5 additions & 4 deletions product_multi_category/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ Product - Many Categories
This module Extends the existing functionality of Odoo Products
(One product - One Catgory) to One product -> Many Categories

*Note: This module was built generically but in focus of the Magento
Odoo connector
**Note: The additional categories are only for classification and does
not affect other operations
* Note: This module was built generically but in focus of the Magento
Odoo connector

* Note: The additional categories are only for classification and does
not affect other operations

Usage
=====
Expand Down
1 change: 1 addition & 0 deletions product_sequence/tests/test_product_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def test_pre_init_hook(self):
name="Apple",
default_code='PROD03'
))
# pylint: disable=sql-injection
self.cr.execute(
"update product_product set default_code='/' where id=%s"
% (product_3.id,))
Expand Down
48 changes: 48 additions & 0 deletions product_supplierinfo_for_customer/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
: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.

Configuration
=============

For these prices to be used in sale prices calculations, you will have
to create a pricelist with a rule with option "Based on" with the value
"Partner Prices: Take the price from the customer info on the 'product form')".

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.

There's a new option on pricelist items that allows to get the prices from the
supplierinfo at the product form.

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

Known issues / Roadmap
======================

* 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 neither apply on sale orders.

Credits
=======

Contributors
------------
* Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
* Tecnativa - Pedro M. Baeza <pedro.baeza@tecnativa.com>
* Aaron Henriquez <ahenriquez@eficent.com>
2 changes: 2 additions & 0 deletions product_supplierinfo_for_customer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-
from . import models
27 changes: 27 additions & 0 deletions product_supplierinfo_for_customer/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# -*- 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": "10.0.1.0.0",
"author": "AvanzOSC, "
"Tecnativa, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/product-attribute",
"category": "Sales Management",
"license": 'AGPL-3',
"depends": [
"base",
"product",
"purchase",
],
"data": [
"views/product_view.xml",
],
"demo": [
"demo/product_demo.xml",
],
"installable": True,
}
12 changes: 12 additions & 0 deletions product_supplierinfo_for_customer/demo/product_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<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>
</odoo>
128 changes: 128 additions & 0 deletions product_supplierinfo_for_customer/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
# 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
# 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}"
125 changes: 125 additions & 0 deletions product_supplierinfo_for_customer/i18n/es.po
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 ""
Loading