First commit
This commit is contained in:
commit
cb9bf4a66d
89
README.rst
Executable file
89
README.rst
Executable file
@ -0,0 +1,89 @@
|
||||
==========================
|
||||
Product Variant Sale Price
|
||||
==========================
|
||||
|
||||
..
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:226296e068442b8d453ca8956b4985e42cc507eae427e04d125ec105a89517ee
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |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%2Fproduct--variant-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/product-variant/tree/17.0/product_variant_sale_price
|
||||
:alt: OCA/product-variant
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/product-variant-17-0/product-variant-17-0-product_variant_sale_price
|
||||
: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/product-variant&target_branch=17.0
|
||||
:alt: Try me on Runboat
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This module allows to handle sale price at product variant level
|
||||
(product.product) instead of product level (product.template), which is
|
||||
the default.
|
||||
|
||||
It replaces the extra price configuration with a fix price that can be
|
||||
modified on each variant independently, which allows setting absolute
|
||||
prices instead of relative ones.
|
||||
|
||||
**Table of contents**
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-variant/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/product-variant/issues/new?body=module:%20product_variant_sale_price%0Aversion:%2017.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
|
||||
-------
|
||||
|
||||
* Tecnativa
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
- Carlos Dauden <carlos.dauden@tecnativa.com>
|
||||
- Sergio Teruel <sergio.teruel@tecnativa.com>
|
||||
- Alex Comba <alex.comba@agilebg.com>
|
||||
- Fabien Bourgeois <fabien@yaltik.com>
|
||||
- Vicent Cubells <info@obertix.net>
|
||||
- RabbitJon-S73 <roger@studio73.es>
|
||||
- Emanuel Cino <ecino@compassion.ch>
|
||||
- Pedroguirao <pguirao@puntsistemes.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/product-variant <https://github.com/OCA/product-variant/tree/17.0/product_variant_sale_price>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
5
__init__.py
Executable file
5
__init__.py
Executable file
@ -0,0 +1,5 @@
|
||||
# Copyright 2016 Sergio Teruel <sergio.teruel@tecnativa.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from . import models
|
||||
from .hooks import set_sale_price_on_variant
|
||||
17
__manifest__.py
Executable file
17
__manifest__.py
Executable file
@ -0,0 +1,17 @@
|
||||
# Copyright 2016 Sergio Teruel <sergio.teruel@tecnativa.com>
|
||||
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
{
|
||||
"name": "Product Variant Sale Price",
|
||||
"summary": "Allows to write fixed prices in product variants",
|
||||
"version": "19.0.1.0.0",
|
||||
"category": "Product Management",
|
||||
"website": "https://github.com/OCA/product-variant",
|
||||
"author": "Tecnativa, " "Odoo Community Association (OCA)",
|
||||
"license": "AGPL-3",
|
||||
"installable": True,
|
||||
"depends": ["account", "sale"],
|
||||
"data": ["views/product_views.xml"],
|
||||
"post_init_hook": "set_sale_price_on_variant",
|
||||
}
|
||||
BIN
__pycache__/__init__.cpython-310.pyc
Executable file
BIN
__pycache__/__init__.cpython-310.pyc
Executable file
Binary file not shown.
BIN
__pycache__/__init__.cpython-312.pyc
Normal file
BIN
__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
__pycache__/hooks.cpython-310.pyc
Executable file
BIN
__pycache__/hooks.cpython-310.pyc
Executable file
Binary file not shown.
BIN
__pycache__/hooks.cpython-312.pyc
Normal file
BIN
__pycache__/hooks.cpython-312.pyc
Normal file
Binary file not shown.
24
hooks.py
Executable file
24
hooks.py
Executable file
@ -0,0 +1,24 @@
|
||||
# Copyright 2016 Sergio Teruel <sergio.teruel@tecnativa.com>
|
||||
# Copyright 2018 Fabien Bourgeois <fabien@yaltik.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
|
||||
def set_sale_price_on_variant(env, template_id=None):
|
||||
sql = """
|
||||
UPDATE product_product pp
|
||||
SET fix_price = pt.list_price + (
|
||||
SELECT COALESCE(SUM(ptav.price_extra), 0)
|
||||
FROM product_variant_combination pvc
|
||||
LEFT JOIN product_template_attribute_value ptav ON
|
||||
ptav.id = pvc.product_template_attribute_value_id
|
||||
WHERE pvc.product_product_id = pp.id
|
||||
AND ptav.product_tmpl_id = pt.id
|
||||
)
|
||||
FROM product_template pt
|
||||
WHERE pt.id = pp.product_tmpl_id
|
||||
"""
|
||||
if template_id:
|
||||
sql += "AND pt.id = %s"
|
||||
env.cr.execute(sql, (template_id,))
|
||||
else:
|
||||
env.cr.execute(sql)
|
||||
68
i18n/ca.po
Executable file
68
i18n/ca.po
Executable file
@ -0,0 +1,68 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Carles Antoli <carlesantoli@hotmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-01-14 05:29+0000\n"
|
||||
"PO-Revision-Date: 2022-04-13 14:05+0000\n"
|
||||
"Last-Translator: Noel estudillo <noelestudilloviera@gmail.com>\n"
|
||||
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\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_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr "Preu fix"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr "Preu de llista"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Producte"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
"El preu de venda es gestiona des de la plantilla del producte. Feu clic al "
|
||||
"botó \"Configura les variants\" per establir els preus dels atributs "
|
||||
"addicionals."
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Plantilla del producte"
|
||||
|
||||
#~ msgid "Sale Price"
|
||||
#~ msgstr "Preu de venta"
|
||||
62
i18n/de.po
Executable file
62
i18n/de.po
Executable file
@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
# Niki Waibel <niki.waibel@gmail.com>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-11-11 03:45+0000\n"
|
||||
"PO-Revision-Date: 2016-11-11 03:45+0000\n"
|
||||
"Last-Translator: Niki Waibel <niki.waibel@gmail.com>, 2016\n"
|
||||
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Produkt"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Produktvorlage"
|
||||
59
i18n/el_GR.po
Executable file
59
i18n/el_GR.po
Executable file
@ -0,0 +1,59 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-18 05:12+0000\n"
|
||||
"PO-Revision-Date: 2017-02-18 05:12+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
|
||||
"el_GR/)\n"
|
||||
"Language: el_GR\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Προϊόν"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
82
i18n/es.po
Executable file
82
i18n/es.po
Executable file
@ -0,0 +1,82 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2016
|
||||
# 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-11 03:45+0000\n"
|
||||
"PO-Revision-Date: 2024-04-24 08:39+0000\n"
|
||||
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
|
||||
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
|
||||
"Language: es\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_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
"<span class=\"text-muted fst-italic\">Al establecer el precio aquí se "
|
||||
"actualizarán todas las variantes.</span>"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr "Precio fijo"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr "Lista de Precios"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Producto"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr "Variante de Producto"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr "Precio de Venta"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
"El precio de venta se gestiona desde la plantilla del producto. Haga clic en "
|
||||
"el botón \"Configurar Variantes\" para establecer los precios de los "
|
||||
"atributos adicionales."
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Plantilla de producto"
|
||||
|
||||
#~ msgid "Sale Price"
|
||||
#~ msgstr "Precio de Venta"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "{'invisible': [\n"
|
||||
#~ " ('product_variant_count', "
|
||||
#~ "'>', 1)\n"
|
||||
#~ " ]}"
|
||||
#~ msgstr ""
|
||||
#~ "{'invisible': [\n"
|
||||
#~ " ('product_variant_count', "
|
||||
#~ "'>', 1)\n"
|
||||
#~ " ]}"
|
||||
59
i18n/es_ES.po
Executable file
59
i18n/es_ES.po
Executable file
@ -0,0 +1,59 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Javier García-Panach <panaka7@gmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-31 06:23+0000\n"
|
||||
"PO-Revision-Date: 2016-12-31 06:23+0000\n"
|
||||
"Last-Translator: Javier García-Panach <panaka7@gmail.com>, 2017\n"
|
||||
"Language-Team: Spanish (Spain) (https://www.transifex.com/oca/teams/23907/"
|
||||
"es_ES/)\n"
|
||||
"Language: es_ES\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Producto"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
62
i18n/es_MX.po
Executable file
62
i18n/es_MX.po
Executable file
@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Juan González <bifomania@protonmail.com>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-11-29 14:59+0000\n"
|
||||
"PO-Revision-Date: 2016-11-29 14:59+0000\n"
|
||||
"Last-Translator: Juan González <bifomania@protonmail.com>, 2016\n"
|
||||
"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/"
|
||||
"es_MX/)\n"
|
||||
"Language: es_MX\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Plantilla del producto"
|
||||
58
i18n/eu.po
Executable file
58
i18n/eu.po
Executable file
@ -0,0 +1,58 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Esther Martín Menéndez <esthermartin001@gmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-18 05:12+0000\n"
|
||||
"PO-Revision-Date: 2017-02-18 05:12+0000\n"
|
||||
"Last-Translator: Esther Martín Menéndez <esthermartin001@gmail.com>, 2017\n"
|
||||
"Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n"
|
||||
"Language: eu\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Produktua"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
61
i18n/fi.po
Executable file
61
i18n/fi.po
Executable file
@ -0,0 +1,61 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# 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-11 03:45+0000\n"
|
||||
"PO-Revision-Date: 2016-11-11 03:45+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
|
||||
"Language: fi\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Tuote"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Tuotteen malli"
|
||||
65
i18n/fr.po
Executable file
65
i18n/fr.po
Executable file
@ -0,0 +1,65 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# 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-11 03:45+0000\n"
|
||||
"PO-Revision-Date: 2022-03-02 17:17+0000\n"
|
||||
"Last-Translator: ajaniszewska-dev <anna.janiszewska@camptocamp.com>\n"
|
||||
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
|
||||
"Language: fr\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_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr "Prix Fixe"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr "List de Prix"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Article"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Modèle d'article"
|
||||
|
||||
#~ msgid "Sale Price"
|
||||
#~ msgstr "Prix de Vente"
|
||||
62
i18n/fr_CH.po
Executable file
62
i18n/fr_CH.po
Executable file
@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# leemannd <leemannd@gmail.com>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-11-29 14:59+0000\n"
|
||||
"PO-Revision-Date: 2016-11-29 14:59+0000\n"
|
||||
"Last-Translator: leemannd <leemannd@gmail.com>, 2016\n"
|
||||
"Language-Team: French (Switzerland) (https://www.transifex.com/oca/"
|
||||
"teams/23907/fr_CH/)\n"
|
||||
"Language: fr_CH\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Produit"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Template de produit"
|
||||
59
i18n/fr_FR.po
Executable file
59
i18n/fr_FR.po
Executable file
@ -0,0 +1,59 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# 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-11 03:45+0000\n"
|
||||
"PO-Revision-Date: 2016-11-11 03:45+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: French (France) (https://www.transifex.com/oca/teams/23907/"
|
||||
"fr_FR/)\n"
|
||||
"Language: fr_FR\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Produit"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
58
i18n/gl.po
Executable file
58
i18n/gl.po
Executable file
@ -0,0 +1,58 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-18 05:12+0000\n"
|
||||
"PO-Revision-Date: 2017-02-18 05:12+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n"
|
||||
"Language: gl\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Produto"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
62
i18n/hr.po
Executable file
62
i18n/hr.po
Executable file
@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Bole <bole@dajmi5.com>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-09-18 01:17+0000\n"
|
||||
"PO-Revision-Date: 2016-09-18 01:17+0000\n"
|
||||
"Last-Translator: Bole <bole@dajmi5.com>, 2016\n"
|
||||
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
|
||||
"Language: hr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Proizvod"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Predložak proizvoda"
|
||||
63
i18n/hr_HR.po
Executable file
63
i18n/hr_HR.po
Executable file
@ -0,0 +1,63 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# 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: 2017-08-19 06:41+0000\n"
|
||||
"PO-Revision-Date: 2017-08-19 06:41+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/"
|
||||
"hr_HR/)\n"
|
||||
"Language: hr_HR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Proizvod"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Predložak proizvoda"
|
||||
80
i18n/it.po
Executable file
80
i18n/it.po
Executable file
@ -0,0 +1,80 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2016
|
||||
# Paolo Valier <paolo.valier@hotmail.it>, 2016
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-09-18 01:17+0000\n"
|
||||
"PO-Revision-Date: 2024-04-15 16:37+0000\n"
|
||||
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
||||
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
|
||||
"Language: it\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_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
"<span class=\"text-muted fst-italic\">Impostando il prezzo qui si aggiornano "
|
||||
"tutte le varianti.</span>"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr "Prezzo fisso"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr "Prezzo di listino"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Prodotto"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr "Variante prodotto"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr "Prezzo di vendita"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
"Il prezzo di vendita è gestito dal modello prodotto. Fare clic sul pulsante "
|
||||
"'Configura varianti' per impostare i prezzi dell'atributo extra."
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Template Prodotto"
|
||||
|
||||
#~ msgid "Sale Price"
|
||||
#~ msgstr "Prezzo di vendita"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "{'invisible': [\n"
|
||||
#~ " ('product_variant_count', "
|
||||
#~ "'>', 1)\n"
|
||||
#~ " ]}"
|
||||
#~ msgstr ""
|
||||
#~ "{'invisible': [\n"
|
||||
#~ "('product_variant_count', '>', 1)\n"
|
||||
#~ "]}"
|
||||
79
i18n/nl.po
Executable file
79
i18n/nl.po
Executable file
@ -0,0 +1,79 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-18 05:12+0000\n"
|
||||
"PO-Revision-Date: 2018-09-25 14:00+0000\n"
|
||||
"Last-Translator: Cas Vissers <c.vissers@brahoo.nl>\n"
|
||||
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
|
||||
"Language: nl\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.1.1\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr "Bepaal prijs"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
#, fuzzy
|
||||
msgid "List Price"
|
||||
msgstr "Bepaal prijs"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Product"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Product sjabloon"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Fix Price"
|
||||
#~ msgid "Sale Price"
|
||||
#~ msgstr "Bepaal prijs"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "{'invisible': [\n"
|
||||
#~ " ('product_variant_count', "
|
||||
#~ "'>', 1)\n"
|
||||
#~ " ]}"
|
||||
#~ msgstr ""
|
||||
#~ "{'invisible': [\n"
|
||||
#~ " ('product_variant_count', "
|
||||
#~ "'>', 1)\n"
|
||||
#~ " ]}"
|
||||
59
i18n/nl_NL.po
Executable file
59
i18n/nl_NL.po
Executable file
@ -0,0 +1,59 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-02-18 05:12+0000\n"
|
||||
"PO-Revision-Date: 2017-02-18 05:12+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
|
||||
"teams/23907/nl_NL/)\n"
|
||||
"Language: nl_NL\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Product"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
53
i18n/product_variant_sale_price.pot
Executable file
53
i18n/product_variant_sale_price.pot
Executable file
@ -0,0 +1,53 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
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_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all"
|
||||
" variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure"
|
||||
" Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
67
i18n/pt.po
Executable file
67
i18n/pt.po
Executable file
@ -0,0 +1,67 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# 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-29 14:59+0000\n"
|
||||
"PO-Revision-Date: 2021-07-27 17:49+0000\n"
|
||||
"Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n"
|
||||
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
|
||||
"Language: pt\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_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr "Preço Fixo"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr "Preço de Lista"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Produto"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
"O preço de venda é gerido a partir do modelo de produto. Clique no botão "
|
||||
"'Configurar Variantes' para atribuir o preços extra dos atributos."
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Modelo de Produto"
|
||||
|
||||
#~ msgid "Sale Price"
|
||||
#~ msgstr "Preço de Venda"
|
||||
62
i18n/pt_BR.po
Executable file
62
i18n/pt_BR.po
Executable file
@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# 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: 2017-08-19 06:41+0000\n"
|
||||
"PO-Revision-Date: 2017-08-19 06:41+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/"
|
||||
"teams/23907/pt_BR/)\n"
|
||||
"Language: pt_BR\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Produto"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Modelo Produto"
|
||||
62
i18n/ro.po
Executable file
62
i18n/ro.po
Executable file
@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-08-19 06:41+0000\n"
|
||||
"PO-Revision-Date: 2017-08-19 06:41+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n"
|
||||
"Language: ro\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
|
||||
"2:1));\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Produs"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Produs șablon"
|
||||
60
i18n/ru.po
Executable file
60
i18n/ru.po
Executable file
@ -0,0 +1,60 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Victor Safronovich <vsafronovich@suvit.ru>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-05-01 21:12+0000\n"
|
||||
"PO-Revision-Date: 2017-05-01 21:12+0000\n"
|
||||
"Last-Translator: Victor Safronovich <vsafronovich@suvit.ru>, 2017\n"
|
||||
"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n"
|
||||
"Language: ru\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
|
||||
"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
|
||||
"%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Товар/Услуга"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
58
i18n/sk.po
Executable file
58
i18n/sk.po
Executable file
@ -0,0 +1,58 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Jan Prokop <jprokop@creativehome.sk>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-09-04 12:48+0000\n"
|
||||
"PO-Revision-Date: 2017-09-04 12:48+0000\n"
|
||||
"Last-Translator: Jan Prokop <jprokop@creativehome.sk>, 2017\n"
|
||||
"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n"
|
||||
"Language: sk\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Produkt"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
80
i18n/sl.po
Executable file
80
i18n/sl.po
Executable file
@ -0,0 +1,80 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Matjaž Mozetič <m.mozetic@matmoz.si>, 2016
|
||||
# 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-09-07 02:42+0000\n"
|
||||
"PO-Revision-Date: 2016-09-07 02:42+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
|
||||
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
|
||||
"Language: sl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
|
||||
"%100==4 ? 2 : 3);\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr "Fiksna cena"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
#, fuzzy
|
||||
msgid "List Price"
|
||||
msgstr "Fiksna cena"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Proizvod"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Predloga proizvoda"
|
||||
|
||||
#, fuzzy
|
||||
#~| msgid "Fix Price"
|
||||
#~ msgid "Sale Price"
|
||||
#~ msgstr "Fiksna cena"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "{'invisible': [\n"
|
||||
#~ " ('product_variant_count', "
|
||||
#~ "'>', 1)\n"
|
||||
#~ " ]}"
|
||||
#~ msgstr ""
|
||||
#~ "{'invisible': [\n"
|
||||
#~ " ('product_variant_count', "
|
||||
#~ "'>', 1)\n"
|
||||
#~ " ]}"
|
||||
58
i18n/tr.po
Executable file
58
i18n/tr.po
Executable file
@ -0,0 +1,58 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Ivan BARAYEV <ivanbarayev@hotmail.com>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-31 06:23+0000\n"
|
||||
"PO-Revision-Date: 2016-12-31 06:23+0000\n"
|
||||
"Last-Translator: Ivan BARAYEV <ivanbarayev@hotmail.com>, 2017\n"
|
||||
"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n"
|
||||
"Language: tr\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"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Ürün"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
62
i18n/tr_TR.po
Executable file
62
i18n/tr_TR.po
Executable file
@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# Ozge Altinisik <ozge@altinkaya.com.tr>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2016-12-31 06:23+0000\n"
|
||||
"PO-Revision-Date: 2016-12-31 06:23+0000\n"
|
||||
"Last-Translator: Ozge Altinisik <ozge@altinkaya.com.tr>, 2017\n"
|
||||
"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/"
|
||||
"tr_TR/)\n"
|
||||
"Language: tr_TR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Ürün"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Ürün şablonu"
|
||||
62
i18n/vi_VN.po
Executable file
62
i18n/vi_VN.po
Executable file
@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-08-19 06:41+0000\n"
|
||||
"PO-Revision-Date: 2017-08-19 06:41+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Vietnamese (Viet Nam) (https://www.transifex.com/oca/"
|
||||
"teams/23907/vi_VN/)\n"
|
||||
"Language: vi_VN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "Sản phẩm"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "Mẫu sản phẩm"
|
||||
62
i18n/zh_CN.po
Executable file
62
i18n/zh_CN.po
Executable file
@ -0,0 +1,62 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * product_variant_sale_price
|
||||
#
|
||||
# Translators:
|
||||
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-08-19 06:41+0000\n"
|
||||
"PO-Revision-Date: 2017-08-19 06:41+0000\n"
|
||||
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||
"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/"
|
||||
"zh_CN/)\n"
|
||||
"Language: zh_CN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model_terms:ir.ui.view,arch_db:product_variant_sale_price.product_template_form_view
|
||||
msgid ""
|
||||
"<span class=\"text-muted fst-italic\">Setting the price here will update all "
|
||||
"variants.</span>"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__fix_price
|
||||
msgid "Fix Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__list_price
|
||||
msgid "List Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_template
|
||||
msgid "Product"
|
||||
msgstr "产品"
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model,name:product_variant_sale_price.model_product_product
|
||||
msgid "Product Variant"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,field_description:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid "Sales Price"
|
||||
msgstr ""
|
||||
|
||||
#. module: product_variant_sale_price
|
||||
#: model:ir.model.fields,help:product_variant_sale_price.field_product_product__lst_price
|
||||
msgid ""
|
||||
"The sale price is managed from the product template. Click on the 'Configure "
|
||||
"Variants' button to set the extra attribute prices."
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Product Template"
|
||||
#~ msgstr "产品模板"
|
||||
4
models/__init__.py
Executable file
4
models/__init__.py
Executable file
@ -0,0 +1,4 @@
|
||||
# Copyright 2016 Sergio Teruel <sergio.teruel@tecnativa.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from . import product_product
|
||||
BIN
models/__pycache__/__init__.cpython-310.pyc
Executable file
BIN
models/__pycache__/__init__.cpython-310.pyc
Executable file
Binary file not shown.
BIN
models/__pycache__/__init__.cpython-312.pyc
Normal file
BIN
models/__pycache__/__init__.cpython-312.pyc
Normal file
Binary file not shown.
BIN
models/__pycache__/product_product.cpython-310.pyc
Executable file
BIN
models/__pycache__/product_product.cpython-310.pyc
Executable file
Binary file not shown.
BIN
models/__pycache__/product_product.cpython-312.pyc
Normal file
BIN
models/__pycache__/product_product.cpython-312.pyc
Normal file
Binary file not shown.
122
models/product_product.py
Executable file
122
models/product_product.py
Executable file
@ -0,0 +1,122 @@
|
||||
# Copyright 2016 Sergio Teruel <sergio.teruel@tecnativa.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class ProductTemplate(models.Model):
|
||||
_inherit = "product.template"
|
||||
|
||||
def _update_fix_price(self, vals):
|
||||
if "list_price" in vals:
|
||||
self.mapped("product_variant_ids").write({"fix_price": vals["list_price"]})
|
||||
|
||||
@api.model_create_multi
|
||||
def create(self, vals):
|
||||
records = super().create(vals)
|
||||
for i, product_tmpl in enumerate(records):
|
||||
single_vals = vals[i] if isinstance(vals, list) else vals
|
||||
product_tmpl._update_fix_price(single_vals)
|
||||
return records
|
||||
|
||||
def write(self, vals):
|
||||
res = super().write(vals)
|
||||
if self.env.context.get("skip_update_fix_price", False):
|
||||
return res
|
||||
for template in self:
|
||||
template._update_fix_price(vals)
|
||||
return res
|
||||
|
||||
def _get_combination_info(
|
||||
self,
|
||||
combination=False,
|
||||
product_id=False,
|
||||
add_qty=1,
|
||||
pricelist=False,
|
||||
parent_combination=False,
|
||||
only_template=False,
|
||||
):
|
||||
res = super()._get_combination_info(
|
||||
combination,
|
||||
product_id,
|
||||
add_qty,
|
||||
pricelist,
|
||||
parent_combination,
|
||||
only_template,
|
||||
)
|
||||
res["price_extra"] = 0.0
|
||||
return res
|
||||
|
||||
|
||||
class ProductProduct(models.Model):
|
||||
_inherit = "product.product"
|
||||
|
||||
lst_price = fields.Float(
|
||||
compute="_compute_lst_price",
|
||||
inverse="_inverse_product_lst_price",
|
||||
search="_search_lst_price",
|
||||
)
|
||||
list_price = fields.Float(
|
||||
compute="_compute_list_price",
|
||||
search="_search_list_price",
|
||||
)
|
||||
fix_price = fields.Float()
|
||||
|
||||
@api.depends("fix_price")
|
||||
def _compute_lst_price(self):
|
||||
uom_model = self.env["uom.uom"]
|
||||
for product in self:
|
||||
price = product.fix_price or product.list_price
|
||||
if self.env.context.get("uom"):
|
||||
context_uom = uom_model.browse(self.env.context["uom"])
|
||||
price = product.uom_id._compute_price(price, context_uom)
|
||||
product.lst_price = price
|
||||
|
||||
def _compute_list_price(self):
|
||||
uom_model = self.env["uom.uom"]
|
||||
for product in self:
|
||||
price = product.fix_price or product.product_tmpl_id.list_price
|
||||
if self.env.context.get("uom"):
|
||||
context_uom = uom_model.browse(self.env.context["uom"])
|
||||
price = product.uom_id._compute_price(price, context_uom)
|
||||
product.list_price = price
|
||||
|
||||
def _search_lst_price(self, operator, value):
|
||||
return self._search_list_price(operator, value)
|
||||
|
||||
def _search_list_price(self, operator, value):
|
||||
return [
|
||||
"|",
|
||||
("fix_price", operator, value),
|
||||
"&",
|
||||
("fix_price", "=", 0.0),
|
||||
("product_tmpl_id.list_price", operator, value),
|
||||
]
|
||||
|
||||
def _inverse_product_lst_price(self):
|
||||
uom_model = self.env["uom.uom"]
|
||||
for product in self:
|
||||
vals = {}
|
||||
if self.env.context.get("uom"):
|
||||
vals["fix_price"] = product.uom_id._compute_price(
|
||||
product.lst_price, uom_model.browse(self.env.context["uom"])
|
||||
)
|
||||
else:
|
||||
vals["fix_price"] = product.lst_price
|
||||
if product.product_variant_count == 1:
|
||||
product.product_tmpl_id.list_price = vals["fix_price"]
|
||||
else:
|
||||
other_products = product.product_tmpl_id.product_variant_ids - product
|
||||
fix_prices = other_products.mapped("fix_price") + [product.lst_price]
|
||||
# for consistency with price shown in the shop
|
||||
product.product_tmpl_id.with_context(
|
||||
skip_update_fix_price=True
|
||||
).list_price = min(fix_prices)
|
||||
product.write(vals)
|
||||
|
||||
def _compute_product_price_extra(self):
|
||||
"""the sale.order.line module calculates the price_unit by adding
|
||||
the value of price_extra and this can generate inconsistencies
|
||||
if the field has old data stored."""
|
||||
for product in self:
|
||||
product.price_extra = 0.0
|
||||
3
pyproject.toml
Executable file
3
pyproject.toml
Executable file
@ -0,0 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["whool"]
|
||||
build-backend = "whool.buildapi"
|
||||
8
readme/CONTRIBUTORS.md
Executable file
8
readme/CONTRIBUTORS.md
Executable file
@ -0,0 +1,8 @@
|
||||
- Carlos Dauden \<<carlos.dauden@tecnativa.com>\>
|
||||
- Sergio Teruel \<<sergio.teruel@tecnativa.com>\>
|
||||
- Alex Comba \<<alex.comba@agilebg.com>\>
|
||||
- Fabien Bourgeois \<<fabien@yaltik.com>\>
|
||||
- Vicent Cubells \<<info@obertix.net>\>
|
||||
- RabbitJon-S73 \<<roger@studio73.es>\>
|
||||
- Emanuel Cino \<<ecino@compassion.ch>\>
|
||||
- Pedroguirao \<<pguirao@puntsistemes.es>\>
|
||||
7
readme/DESCRIPTION.md
Executable file
7
readme/DESCRIPTION.md
Executable file
@ -0,0 +1,7 @@
|
||||
This module allows to handle sale price at product variant level
|
||||
(product.product) instead of product level (product.template), which is
|
||||
the default.
|
||||
|
||||
It replaces the extra price configuration with a fix price that can be
|
||||
modified on each variant independently, which allows setting absolute
|
||||
prices instead of relative ones.
|
||||
BIN
static/description/icon.png
Executable file
BIN
static/description/icon.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
432
static/description/index.html
Executable file
432
static/description/index.html
Executable file
@ -0,0 +1,432 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
||||
<title>Product Variant Sale Price</title>
|
||||
<style type="text/css">
|
||||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
|
||||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
*/
|
||||
|
||||
/* used to remove borders from tables and images */
|
||||
.borderless, table.borderless td, table.borderless th {
|
||||
border: 0 }
|
||||
|
||||
table.borderless td, table.borderless th {
|
||||
/* Override padding for "table.docutils td" with "! important".
|
||||
The right padding separates the table cells. */
|
||||
padding: 0 0.5em 0 0 ! important }
|
||||
|
||||
.first {
|
||||
/* Override more specific margin styles with "! important". */
|
||||
margin-top: 0 ! important }
|
||||
|
||||
.last, .with-subtitle {
|
||||
margin-bottom: 0 ! important }
|
||||
|
||||
.hidden {
|
||||
display: none }
|
||||
|
||||
.subscript {
|
||||
vertical-align: sub;
|
||||
font-size: smaller }
|
||||
|
||||
.superscript {
|
||||
vertical-align: super;
|
||||
font-size: smaller }
|
||||
|
||||
a.toc-backref {
|
||||
text-decoration: none ;
|
||||
color: black }
|
||||
|
||||
blockquote.epigraph {
|
||||
margin: 2em 5em ; }
|
||||
|
||||
dl.docutils dd {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
||||
dl.docutils dt {
|
||||
font-weight: bold }
|
||||
*/
|
||||
|
||||
div.abstract {
|
||||
margin: 2em 5em }
|
||||
|
||||
div.abstract p.topic-title {
|
||||
font-weight: bold ;
|
||||
text-align: center }
|
||||
|
||||
div.admonition, div.attention, div.caution, div.danger, div.error,
|
||||
div.hint, div.important, div.note, div.tip, div.warning {
|
||||
margin: 2em ;
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.admonition p.admonition-title, div.hint p.admonition-title,
|
||||
div.important p.admonition-title, div.note p.admonition-title,
|
||||
div.tip p.admonition-title {
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
div.attention p.admonition-title, div.caution p.admonition-title,
|
||||
div.danger p.admonition-title, div.error p.admonition-title,
|
||||
div.warning p.admonition-title, .code .error {
|
||||
color: red ;
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
/* Uncomment (and remove this text!) to get reduced vertical space in
|
||||
compound paragraphs.
|
||||
div.compound .compound-first, div.compound .compound-middle {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
div.compound .compound-last, div.compound .compound-middle {
|
||||
margin-top: 0.5em }
|
||||
*/
|
||||
|
||||
div.dedication {
|
||||
margin: 2em 5em ;
|
||||
text-align: center ;
|
||||
font-style: italic }
|
||||
|
||||
div.dedication p.topic-title {
|
||||
font-weight: bold ;
|
||||
font-style: normal }
|
||||
|
||||
div.figure {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
div.footer, div.header {
|
||||
clear: both;
|
||||
font-size: smaller }
|
||||
|
||||
div.line-block {
|
||||
display: block ;
|
||||
margin-top: 1em ;
|
||||
margin-bottom: 1em }
|
||||
|
||||
div.line-block div.line-block {
|
||||
margin-top: 0 ;
|
||||
margin-bottom: 0 ;
|
||||
margin-left: 1.5em }
|
||||
|
||||
div.sidebar {
|
||||
margin: 0 0 0.5em 1em ;
|
||||
border: medium outset ;
|
||||
padding: 1em ;
|
||||
background-color: #ffffee ;
|
||||
width: 40% ;
|
||||
float: right ;
|
||||
clear: right }
|
||||
|
||||
div.sidebar p.rubric {
|
||||
font-family: sans-serif ;
|
||||
font-size: medium }
|
||||
|
||||
div.system-messages {
|
||||
margin: 5em }
|
||||
|
||||
div.system-messages h1 {
|
||||
color: red }
|
||||
|
||||
div.system-message {
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.system-message p.system-message-title {
|
||||
color: red ;
|
||||
font-weight: bold }
|
||||
|
||||
div.topic {
|
||||
margin: 2em }
|
||||
|
||||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
||||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
||||
margin-top: 0.4em }
|
||||
|
||||
h1.title {
|
||||
text-align: center }
|
||||
|
||||
h2.subtitle {
|
||||
text-align: center }
|
||||
|
||||
hr.docutils {
|
||||
width: 75% }
|
||||
|
||||
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
||||
clear: left ;
|
||||
float: left ;
|
||||
margin-right: 1em }
|
||||
|
||||
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
||||
clear: right ;
|
||||
float: right ;
|
||||
margin-left: 1em }
|
||||
|
||||
img.align-center, .figure.align-center, object.align-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
table.align-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left }
|
||||
|
||||
.align-center {
|
||||
clear: both ;
|
||||
text-align: center }
|
||||
|
||||
.align-right {
|
||||
text-align: right }
|
||||
|
||||
/* reset inner alignment in figures */
|
||||
div.align-right {
|
||||
text-align: inherit }
|
||||
|
||||
/* div.align-center * { */
|
||||
/* text-align: left } */
|
||||
|
||||
.align-top {
|
||||
vertical-align: top }
|
||||
|
||||
.align-middle {
|
||||
vertical-align: middle }
|
||||
|
||||
.align-bottom {
|
||||
vertical-align: bottom }
|
||||
|
||||
ol.simple, ul.simple {
|
||||
margin-bottom: 1em }
|
||||
|
||||
ol.arabic {
|
||||
list-style: decimal }
|
||||
|
||||
ol.loweralpha {
|
||||
list-style: lower-alpha }
|
||||
|
||||
ol.upperalpha {
|
||||
list-style: upper-alpha }
|
||||
|
||||
ol.lowerroman {
|
||||
list-style: lower-roman }
|
||||
|
||||
ol.upperroman {
|
||||
list-style: upper-roman }
|
||||
|
||||
p.attribution {
|
||||
text-align: right ;
|
||||
margin-left: 50% }
|
||||
|
||||
p.caption {
|
||||
font-style: italic }
|
||||
|
||||
p.credits {
|
||||
font-style: italic ;
|
||||
font-size: smaller }
|
||||
|
||||
p.label {
|
||||
white-space: nowrap }
|
||||
|
||||
p.rubric {
|
||||
font-weight: bold ;
|
||||
font-size: larger ;
|
||||
color: maroon ;
|
||||
text-align: center }
|
||||
|
||||
p.sidebar-title {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold ;
|
||||
font-size: larger }
|
||||
|
||||
p.sidebar-subtitle {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
p.topic-title {
|
||||
font-weight: bold }
|
||||
|
||||
pre.address {
|
||||
margin-bottom: 0 ;
|
||||
margin-top: 0 ;
|
||||
font: inherit }
|
||||
|
||||
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
pre.code .ln { color: grey; } /* line numbers */
|
||||
pre.code, code { background-color: #eeeeee }
|
||||
pre.code .comment, code .comment { color: #5C6576 }
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
||||
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
||||
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
||||
pre.code .inserted, code .inserted { background-color: #A3D289}
|
||||
|
||||
span.classifier {
|
||||
font-family: sans-serif ;
|
||||
font-style: oblique }
|
||||
|
||||
span.classifier-delimiter {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
span.interpreted {
|
||||
font-family: sans-serif }
|
||||
|
||||
span.option {
|
||||
white-space: nowrap }
|
||||
|
||||
span.pre {
|
||||
white-space: pre }
|
||||
|
||||
span.problematic {
|
||||
color: red }
|
||||
|
||||
span.section-subtitle {
|
||||
/* font-size relative to parent (h1..h6 element) */
|
||||
font-size: 80% }
|
||||
|
||||
table.citation {
|
||||
border-left: solid 1px gray;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docinfo {
|
||||
margin: 2em 4em }
|
||||
|
||||
table.docutils {
|
||||
margin-top: 0.5em ;
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
table.footnote {
|
||||
border-left: solid 1px black;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docutils td, table.docutils th,
|
||||
table.docinfo td, table.docinfo th {
|
||||
padding-left: 0.5em ;
|
||||
padding-right: 0.5em ;
|
||||
vertical-align: top }
|
||||
|
||||
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
||||
font-weight: bold ;
|
||||
text-align: left ;
|
||||
white-space: nowrap ;
|
||||
padding-left: 0 }
|
||||
|
||||
/* "booktabs" style (no vertical lines) */
|
||||
table.docutils.booktabs {
|
||||
border: 0px;
|
||||
border-top: 2px solid;
|
||||
border-bottom: 2px solid;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.docutils.booktabs * {
|
||||
border: 0px;
|
||||
}
|
||||
table.docutils.booktabs th {
|
||||
border-bottom: thin solid;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
||||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
||||
font-size: 100% }
|
||||
|
||||
ul.auto-toc {
|
||||
list-style-type: none }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="document" id="product-variant-sale-price">
|
||||
<h1 class="title">Product Variant Sale Price</h1>
|
||||
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:226296e068442b8d453ca8956b4985e42cc507eae427e04d125ec105a89517ee
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/product-variant/tree/17.0/product_variant_sale_price"><img alt="OCA/product-variant" src="https://img.shields.io/badge/github-OCA%2Fproduct--variant-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/product-variant-17-0/product-variant-17-0-product_variant_sale_price"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/product-variant&target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module allows to handle sale price at product variant level
|
||||
(product.product) instead of product level (product.template), which is
|
||||
the default.</p>
|
||||
<p>It replaces the extra price configuration with a fix price that can be
|
||||
modified on each variant independently, which allows setting absolute
|
||||
prices instead of relative ones.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="toc-entry-4">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="toc-entry-5">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/product-variant/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="https://github.com/OCA/product-variant/issues/new?body=module:%20product_variant_sale_price%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
|
||||
<div class="section" id="authors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Tecnativa</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Carlos Dauden <<a class="reference external" href="mailto:carlos.dauden@tecnativa.com">carlos.dauden@tecnativa.com</a>></li>
|
||||
<li>Sergio Teruel <<a class="reference external" href="mailto:sergio.teruel@tecnativa.com">sergio.teruel@tecnativa.com</a>></li>
|
||||
<li>Alex Comba <<a class="reference external" href="mailto:alex.comba@agilebg.com">alex.comba@agilebg.com</a>></li>
|
||||
<li>Fabien Bourgeois <<a class="reference external" href="mailto:fabien@yaltik.com">fabien@yaltik.com</a>></li>
|
||||
<li>Vicent Cubells <<a class="reference external" href="mailto:info@obertix.net">info@obertix.net</a>></li>
|
||||
<li>RabbitJon-S73 <<a class="reference external" href="mailto:roger@studio73.es">roger@studio73.es</a>></li>
|
||||
<li>Emanuel Cino <<a class="reference external" href="mailto:ecino@compassion.ch">ecino@compassion.ch</a>></li>
|
||||
<li>Pedroguirao <<a class="reference external" href="mailto:pguirao@puntsistemes.es">pguirao@puntsistemes.es</a>></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<p>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.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-variant/tree/17.0/product_variant_sale_price">OCA/product-variant</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
4
tests/__init__.py
Executable file
4
tests/__init__.py
Executable file
@ -0,0 +1,4 @@
|
||||
# Copyright 2016 Sergio Teruel <sergio.teruel@tecnativa.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from . import test_product_product
|
||||
138
tests/test_product_product.py
Executable file
138
tests/test_product_product.py
Executable file
@ -0,0 +1,138 @@
|
||||
# Copyright 2016 Sergio Teruel <sergio.teruel@tecnativa.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
||||
|
||||
class TestProductVariantPrice(TransactionCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.template = cls.env["product.template"]
|
||||
cls.product_product = cls.env["product.product"]
|
||||
cls.attribute = cls.env["product.attribute"]
|
||||
cls.attribute_value = cls.env["product.attribute.value"]
|
||||
|
||||
cls.att_color = cls.attribute.create({"name": "color_test"})
|
||||
|
||||
cls.att_color_blue = cls.attribute_value.create(
|
||||
{"name": "Blue", "attribute_id": cls.att_color.id}
|
||||
)
|
||||
cls.att_color_red = cls.attribute_value.create(
|
||||
{"name": "Red", "attribute_id": cls.att_color.id}
|
||||
)
|
||||
|
||||
cls.uom_unit = cls.env.ref("uom.product_uom_unit")
|
||||
cls.uom_dozen = cls.env.ref("uom.product_uom_dozen")
|
||||
|
||||
cls.product_template = cls.template.create(
|
||||
{
|
||||
"name": "Product Template",
|
||||
"list_price": 1500.00,
|
||||
"attribute_line_ids": [
|
||||
(
|
||||
0,
|
||||
0,
|
||||
{
|
||||
"attribute_id": cls.att_color.id,
|
||||
"value_ids": [
|
||||
(6, 0, (cls.att_color_blue + cls.att_color_red).ids)
|
||||
],
|
||||
},
|
||||
)
|
||||
],
|
||||
"uom_id": cls.uom_unit.id,
|
||||
}
|
||||
)
|
||||
|
||||
cls.product_blue = cls.product_template.product_variant_ids.filtered(
|
||||
lambda x: x.product_template_attribute_value_ids.product_attribute_value_id
|
||||
== cls.att_color_blue
|
||||
)
|
||||
cls.product_red = cls.product_template.product_variant_ids.filtered(
|
||||
lambda x: x.product_template_attribute_value_ids.product_attribute_value_id
|
||||
== cls.att_color_red
|
||||
)
|
||||
|
||||
def test_post_init_hook(self):
|
||||
from ..hooks import set_sale_price_on_variant
|
||||
|
||||
self.product_template.product_variant_ids.write({"fix_price": 0.0})
|
||||
# Take account price extra
|
||||
self.product_blue.product_template_attribute_value_ids.write(
|
||||
{"price_extra": 100.00}
|
||||
)
|
||||
self.product_red.product_template_attribute_value_ids.write(
|
||||
{"price_extra": 200.00}
|
||||
)
|
||||
|
||||
# Flush the records to DB before direct SQL
|
||||
self.product_template.product_variant_ids.flush_model()
|
||||
self.product_blue.product_template_attribute_value_ids.flush_model()
|
||||
|
||||
set_sale_price_on_variant(self.env, self.product_template.id)
|
||||
self.product_template.product_variant_ids.invalidate_recordset()
|
||||
self.assertEqual(
|
||||
self.product_template.list_price + 100.00, self.product_blue.lst_price
|
||||
)
|
||||
self.assertEqual(
|
||||
self.product_template.list_price + 200.00, self.product_red.lst_price
|
||||
)
|
||||
|
||||
def test_create_product_template(self):
|
||||
self.assertEqual(
|
||||
self.product_template.list_price,
|
||||
self.product_template.product_variant_ids[:1].lst_price,
|
||||
)
|
||||
|
||||
def test_create_product_template_different_uom(self):
|
||||
new_template = self.product_template.with_context(uom=self.uom_dozen.id).copy(
|
||||
{"uom_id": self.uom_dozen.id}
|
||||
)
|
||||
self.assertEqual(
|
||||
new_template.list_price, new_template.product_variant_ids[:1].lst_price
|
||||
)
|
||||
|
||||
def test_create_variant(self):
|
||||
new_variant = self.product_product.create(
|
||||
{
|
||||
"product_tmpl_id": self.product_template.id,
|
||||
"name": self.product_template.name,
|
||||
}
|
||||
)
|
||||
self.assertEqual(self.product_template.list_price, new_variant.lst_price)
|
||||
|
||||
def test_create_variant_different_uom(self):
|
||||
new_variant = self.product_product.with_context(uom=self.uom_dozen.id).create(
|
||||
{
|
||||
"product_tmpl_id": self.product_template.id,
|
||||
"uom_id": self.uom_dozen.id,
|
||||
"name": self.product_template.name,
|
||||
}
|
||||
)
|
||||
self.assertEqual(self.product_template.list_price, new_variant.lst_price)
|
||||
|
||||
def test_update_variant(self):
|
||||
self.product_blue.lst_price = 2000.00
|
||||
self.assertNotEqual(
|
||||
self.product_blue.lst_price, self.product_blue.product_tmpl_id.list_price
|
||||
)
|
||||
self.assertEqual(self.product_blue.lst_price, self.product_blue.fix_price)
|
||||
# to check skip_update_fix_price
|
||||
self.assertNotEqual(self.product_blue.lst_price, self.product_red.lst_price)
|
||||
self.assertEqual(self.product_red.lst_price, 1500.00)
|
||||
|
||||
def test_update_variant_different_uom(self):
|
||||
self.product_blue.write({"uom_id": self.uom_dozen})
|
||||
self.product_blue.with_context(uom=self.uom_dozen.id).lst_price = 2000.00
|
||||
self.assertEqual(self.product_blue.lst_price, self.product_blue.fix_price)
|
||||
|
||||
def test_update_variant_no_multiple(self):
|
||||
self.product_red.unlink()
|
||||
self.product_blue.lst_price = 2000.00
|
||||
self.assertEqual(self.product_blue.lst_price, self.product_blue.fix_price)
|
||||
|
||||
def test_update_template_variant(self):
|
||||
self.product_blue.product_tmpl_id.list_price = 200
|
||||
for variant in self.product_blue.product_tmpl_id.product_variant_ids:
|
||||
self.assertEqual(self.product_blue.list_price, variant.lst_price)
|
||||
57
views/product_views.xml
Executable file
57
views/product_views.xml
Executable file
@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record id="product_template_form_view" model="ir.ui.view">
|
||||
<field name="name">product.template.form.inherited</field>
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="product.product_template_form_view" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="list_price" position="after">
|
||||
<div
|
||||
name="fix_price_tooltip"
|
||||
invisible="product_variant_count == 1 or is_product_variant"
|
||||
>
|
||||
<span
|
||||
class="text-muted fst-italic"
|
||||
>Setting the price here will update all variants.</span>
|
||||
</div>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record id="product_variant_easy_edit_price_view" model="ir.ui.view">
|
||||
<field name="model">product.product</field>
|
||||
<field name="inherit_id" ref="product.product_variant_easy_edit_view" />
|
||||
<field name="arch" type="xml">
|
||||
<!-- Make the field editable -->
|
||||
<field name="lst_price" position="attributes">
|
||||
<attribute name="attrs" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<!-- Hide price extra fields, as they are no longer useful -->
|
||||
<record id="product_template_attribute_value_view_tree" model="ir.ui.view">
|
||||
<field name="name">product.template.attribute.value.tree.hide.extra</field>
|
||||
<field name="model">product.template.attribute.value</field>
|
||||
<field
|
||||
name="inherit_id"
|
||||
ref="product.product_template_attribute_value_view_tree"
|
||||
/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="price_extra" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<record id="product_template_attribute_value_view_form" model="ir.ui.view">
|
||||
<field name="name">product.template.attribute.value.form.hide.extra</field>
|
||||
<field name="model">product.template.attribute.value</field>
|
||||
<field
|
||||
name="inherit_id"
|
||||
ref="product.product_template_attribute_value_view_form"
|
||||
/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="price_extra" position="attributes">
|
||||
<attribute name="invisible">1</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Reference in New Issue
Block a user