Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,127 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
====================== | ||
Product Secondary Unit | ||
====================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github | ||
:target: https://github.com/OCA/product-attribute/tree/13.0/product_secondary_unit | ||
:alt: OCA/product-attribute | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/product-attribute-13-0/product-attribute-13-0-product_secondary_unit | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/135/13.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module extends the functionality of product module to allow define | ||
other units with their conversion factor. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
To use this module you need to: | ||
|
||
#. Go to a *Product > General Information tab*. | ||
#. Create any record in "Secondary unit of measure". | ||
#. Set the conversion factor. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-attribute/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/product-attribute/issues/new?body=module:%20product_secondary_unit%0Aversion:%2013.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> | ||
* Kitti Upariphutthiphong <kittiu@ecosoft.co.th> | ||
* Pimolnat Suntian <pimolnats@ecosoft.co.th> | ||
|
||
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-attribute <https://github.com/OCA/product-attribute/tree/13.0/product_secondary_unit>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright 2018 Tecnativa - Sergio Teruel | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Product Secondary Unit", | ||
"summary": "Set a secondary unit per product", | ||
"version": "13.0.1.0.0", | ||
"development_status": "Beta", | ||
"category": "Product", | ||
"website": "https://github.com/OCA/product-attribute", | ||
"author": "Tecnativa, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"depends": ["product"], | ||
"data": ["security/ir.model.access.csv", "views/product_views.xml"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_secondary_unit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2018-10-26 10:00+0000\n" | ||
"PO-Revision-Date: 2019-02-08 13:50+0000\n" | ||
"Last-Translator: Marta Vázquez Rodríguez <vazrodmar@gmail.com>\n" | ||
"Language-Team: \n" | ||
"Language: es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
"X-Generator: Weblate 3.4\n" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__code | ||
msgid "Code" | ||
msgstr "Código" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__create_uid | ||
msgid "Created by" | ||
msgstr "Creado por" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__create_date | ||
msgid "Created on" | ||
msgstr "Creado en" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,help:product_secondary_unit.field_product_product__secondary_uom_ids | ||
#: model:ir.model.fields,help:product_secondary_unit.field_product_secondary_unit__uom_id | ||
#: model:ir.model.fields,help:product_secondary_unit.field_product_template__secondary_uom_ids | ||
msgid "Default Secondary Unit of Measure." | ||
msgstr "Segunda unidad de medida por defecto." | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__display_name | ||
msgid "Display Name" | ||
msgstr "Mostrar nombre" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__id | ||
msgid "ID" | ||
msgstr "ID (Identificador)" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit____last_update | ||
msgid "Last Modified on" | ||
msgstr "Última modificación en" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Última actualización de" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__write_date | ||
msgid "Last Updated on" | ||
msgstr "Última actualización en" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__name | ||
msgid "Name" | ||
msgstr "Nombre" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model,name:product_secondary_unit.model_product_secondary_unit | ||
#, fuzzy | ||
#| msgid "product.secondary.unit" | ||
msgid "Product Secondary Unit" | ||
msgstr "'product.secondary.unit'" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model,name:product_secondary_unit.model_product_template | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__product_tmpl_id | ||
msgid "Product Template" | ||
msgstr "Plantilla de producto" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__factor | ||
msgid "Secondary Unit Factor" | ||
msgstr "Factor segunda unidad" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_product__secondary_uom_ids | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__uom_id | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_template__secondary_uom_ids | ||
msgid "Secondary Unit of Measure" | ||
msgstr "Segunda unidad de medida" | ||
|
||
#. module: product_secondary_unit | ||
#: model_terms:ir.ui.view,arch_db:product_secondary_unit.product_template_form_view | ||
msgid "secondary Unit" | ||
msgstr "Unidad Secundaria" | ||
|
||
#. module: product_secondary_unit | ||
#: model_terms:ir.ui.view,arch_db:product_secondary_unit.product_template_form_view | ||
msgid "secondary unit of measure" | ||
msgstr "Segunda unidad de medida" | ||
|
||
#~ msgid "Default unit sale" | ||
#~ msgstr "Unidad de venta por defecto" | ||
|
||
#, fuzzy | ||
#~| msgid "Default unit sale" | ||
#~ msgid "Default unit purchase" | ||
#~ msgstr "Unidad de venta por defecto" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_secondary_unit | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"PO-Revision-Date: 2018-11-06 11:25+0000\n" | ||
"Last-Translator: William Olhasque <william.olhasque@scopea.fr>\n" | ||
"Language-Team: none\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 3.2.2\n" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__code | ||
msgid "Code" | ||
msgstr "Code" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__create_uid | ||
msgid "Created by" | ||
msgstr "Créé par" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__create_date | ||
msgid "Created on" | ||
msgstr "Créé le" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,help:product_secondary_unit.field_product_product__secondary_uom_ids | ||
#: model:ir.model.fields,help:product_secondary_unit.field_product_secondary_unit__uom_id | ||
#: model:ir.model.fields,help:product_secondary_unit.field_product_template__secondary_uom_ids | ||
msgid "Default Secondary Unit of Measure." | ||
msgstr "Unité de mesure secondaire par défaut." | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__display_name | ||
msgid "Display Name" | ||
msgstr "Nom affiché" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__id | ||
msgid "ID" | ||
msgstr "ID" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit____last_update | ||
msgid "Last Modified on" | ||
msgstr "Dernière Modification le" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Dernière mise à jour par" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__write_date | ||
msgid "Last Updated on" | ||
msgstr "Dernière mise à jour le" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__name | ||
msgid "Name" | ||
msgstr "Nom" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model,name:product_secondary_unit.model_product_secondary_unit | ||
#, fuzzy | ||
#| msgid "product.secondary.unit" | ||
msgid "Product Secondary Unit" | ||
msgstr "product.secondary.unit" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model,name:product_secondary_unit.model_product_template | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__product_tmpl_id | ||
msgid "Product Template" | ||
msgstr "Modèle de produit" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__factor | ||
msgid "Secondary Unit Factor" | ||
msgstr "Facteur de l'unité secondaire" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_product__secondary_uom_ids | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__uom_id | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_template__secondary_uom_ids | ||
msgid "Secondary Unit of Measure" | ||
msgstr "Unité de mesure secondaire" | ||
|
||
#. module: product_secondary_unit | ||
#: model_terms:ir.ui.view,arch_db:product_secondary_unit.product_template_form_view | ||
msgid "secondary Unit" | ||
msgstr "Unité secondaire" | ||
|
||
#. module: product_secondary_unit | ||
#: model_terms:ir.ui.view,arch_db:product_secondary_unit.product_template_form_view | ||
msgid "secondary unit of measure" | ||
msgstr "Unité de mesure secondaire" | ||
|
||
#~ msgid "Default unit sale" | ||
#~ msgstr "Unité de vente par défaut" |
Oops, something went wrong.