-
-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by pedrobaeza
- Loading branch information
Showing
27 changed files
with
1,886 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,94 @@ | ||
====================== | ||
Product Secondary Unit | ||
====================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Production/Stable | ||
.. |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/15.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-15-0/product-attribute-15-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/15.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:%2015.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> | ||
* Alan Ramos <alan.ramos@jarsa.com.mx> | ||
|
||
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. | ||
|
||
.. |maintainer-sergio-teruel| image:: https://github.com/sergio-teruel.png?size=40px | ||
:target: https://github.com/sergio-teruel | ||
:alt: sergio-teruel | ||
|
||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-sergio-teruel| | ||
|
||
This module is part of the `OCA/product-attribute <https://github.com/OCA/product-attribute/tree/15.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,17 @@ | ||
# 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": "16.0.1.0.0", | ||
"development_status": "Production/Stable", | ||
"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"], | ||
"maintainers": ["sergio-teruel"], | ||
} |
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,162 @@ | ||
# 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: 2023-01-11 04:38+0000\n" | ||
"PO-Revision-Date: 2023-01-11 05:40+0100\n" | ||
"Last-Translator: Sergio Teruel <sergio.teruel@tecnativa.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: Poedit 3.0.1\n" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit__active | ||
msgid "Active" | ||
msgstr "Activo" | ||
|
||
#. 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__dependency_type | ||
msgid "Dependency Type" | ||
msgstr "Tipo de dependencia" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields.selection,name:product_secondary_unit.selection__product_secondary_unit__dependency_type__dependent | ||
msgid "Dependent" | ||
msgstr "Dependiente" | ||
|
||
#. 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,help:product_secondary_unit.field_product_secondary_unit__dependency_type | ||
msgid "" | ||
"If dependency type is 'dependent' the factor is used to compute quantity in " | ||
"primary unit,otherwise primary and secondary unit are independent. For " | ||
"example if you sell serviceby package (1 unit for example) and you want to " | ||
"put the real time (ex : 4 hours) to allows employee scheduling" | ||
msgstr "" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields.selection,name:product_secondary_unit.selection__product_secondary_unit__dependency_type__independent | ||
msgid "Independent" | ||
msgstr "" | ||
|
||
#. 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_product | ||
msgid "Product" | ||
msgstr "Producto" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model,name:product_secondary_unit.model_product_secondary_unit | ||
msgid "Product Secondary Unit" | ||
msgstr "Unidad secundaria del producto" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model,name:product_secondary_unit.model_product_secondary_unit_mixin | ||
msgid "Product Secondary Unit Mixin" | ||
msgstr "Producto Unidad secundaria Mixin" | ||
|
||
#. 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__product_id | ||
msgid "Product Variant" | ||
msgstr "Variante de producto" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit_mixin__secondary_uom_id | ||
msgid "Second unit" | ||
msgstr "Unidad secundaria" | ||
|
||
#. module: product_secondary_unit | ||
#: model:ir.model.fields,field_description:product_secondary_unit.field_product_secondary_unit_mixin__secondary_uom_qty | ||
msgid "Secondary Qty" | ||
msgstr "Cta. Ud. secundaria" | ||
|
||
#. 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 | ||
#: 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 "secondary Unit" | ||
#~ msgstr "Unidad Secundaria" | ||
|
||
#~ 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" |
Oops, something went wrong.