Skip to content

Commit 724205b

Browse files
committed
Merge PR #3773 into 18.0
Signed-off-by pedrobaeza
2 parents 7ce2793 + 23cae1f commit 724205b

27 files changed

Lines changed: 1942 additions & 0 deletions
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
=========================
2+
Sale Order Secondary Unit
3+
=========================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:094832715e982c4c7f13b1c23f219f9e7a9caea853b94bc14d31107891804f03
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Production/Stable
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
20+
:target: https://github.com/OCA/sale-workflow/tree/18.0/sale_order_secondary_unit
21+
:alt: OCA/sale-workflow
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_order_secondary_unit
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module extends the functionality of sale orders to allow sale
32+
products in secondary unit of distinct category.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Configuration
40+
=============
41+
42+
To configure this module, you need to:
43+
44+
1. Go to *Sales > Configuration > Products > Secondary Units of Measure*
45+
to manage all the 'Secondary Units of Measure' in the system.
46+
47+
Usage
48+
=====
49+
50+
To use this module you need to:
51+
52+
1. Go to a *Product > General Information tab*.
53+
2. Create any record in "Secondary unit of measure".
54+
3. Set the conversion factor.
55+
4. Go to *Sales > Quotation > Create*.
56+
5. Change quantities in line and secondary unit (produc_qty will be
57+
change).
58+
59+
Bug Tracker
60+
===========
61+
62+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
63+
In case of trouble, please check there if your issue has already been reported.
64+
If you spotted it first, help us to smash it by providing a detailed and welcomed
65+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_order_secondary_unit%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
66+
67+
Do not contact contributors directly about support or help with technical issues.
68+
69+
Credits
70+
=======
71+
72+
Authors
73+
-------
74+
75+
* Tecnativa
76+
77+
Contributors
78+
------------
79+
80+
- Tony Gu <tony@openerp.cn>
81+
- Alexei Rivera <arivera@archeti.com>
82+
- Kevin Roche <kevin.roche@akretion.com>
83+
- `Tecnativa <https://www.tecnativa.com>`__:
84+
85+
- Carlos Dauden
86+
- Sergio Teruel
87+
- Ernesto Tejeda
88+
- Pedro M. Baeza
89+
- Pilar Vargas
90+
91+
Maintainers
92+
-----------
93+
94+
This module is maintained by the OCA.
95+
96+
.. image:: https://odoo-community.org/logo.png
97+
:alt: Odoo Community Association
98+
:target: https://odoo-community.org
99+
100+
OCA, or the Odoo Community Association, is a nonprofit organization whose
101+
mission is to support the collaborative development of Odoo features and
102+
promote its widespread use.
103+
104+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_order_secondary_unit>`_ project on GitHub.
105+
106+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
2+
from . import models
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright 2018-2020 Tecnativa - Carlos Dauden
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
{
4+
"name": "Sale Order Secondary Unit",
5+
"summary": "Sale product in a secondary unit",
6+
"version": "18.0.1.0.0",
7+
"development_status": "Production/Stable",
8+
"category": "Sale",
9+
"website": "https://github.com/OCA/sale-workflow",
10+
"author": "Tecnativa, Odoo Community Association (OCA)",
11+
"license": "AGPL-3",
12+
"application": False,
13+
"installable": True,
14+
"auto_install": True,
15+
"depends": ["sale", "product_secondary_unit"],
16+
"data": [
17+
"views/product_secondary_unit_views.xml",
18+
"views/product_views.xml",
19+
"views/sale_order_views.xml",
20+
"report/sale_report_templates.xml",
21+
],
22+
}
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_order_secondary_unit
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 11.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2020-01-15 13:25+0000\n"
10+
"Last-Translator: Automatically generated\n"
11+
"Language-Team: none\n"
12+
"Language: de\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
18+
#. module: sale_order_secondary_unit
19+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.view_order_form
20+
msgid "-&gt;"
21+
msgstr ""
22+
23+
#. module: sale_order_secondary_unit
24+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_sale_order_line__secondary_uom_unit_price
25+
msgid "2nd unit price"
26+
msgstr ""
27+
28+
#. module: sale_order_secondary_unit
29+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.report_saleorder_document
30+
msgid "<span>Second. Qty</span>"
31+
msgstr ""
32+
33+
#. module: sale_order_secondary_unit
34+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_product_product__sale_secondary_uom_id
35+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_product_template__sale_secondary_uom_id
36+
msgid "Default secondary unit for sales"
37+
msgstr ""
38+
39+
#. module: sale_order_secondary_unit
40+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.product_secondary_unit_view_search
41+
msgid "Group By"
42+
msgstr ""
43+
44+
#. module: sale_order_secondary_unit
45+
#: model:ir.model.fields,help:sale_order_secondary_unit.field_product_product__sale_secondary_uom_id
46+
#: model:ir.model.fields,help:sale_order_secondary_unit.field_product_template__sale_secondary_uom_id
47+
msgid ""
48+
"In order to set a value, please first add at least one record in 'Secondary "
49+
"Unit of Measure'"
50+
msgstr ""
51+
52+
#. module: sale_order_secondary_unit
53+
#: model:ir.model,name:sale_order_secondary_unit.model_product_template
54+
msgid "Product"
55+
msgstr ""
56+
57+
#. module: sale_order_secondary_unit
58+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.product_secondary_unit_view_search
59+
msgid "Product Template"
60+
msgstr ""
61+
62+
#. module: sale_order_secondary_unit
63+
#: model:ir.model,name:sale_order_secondary_unit.model_product_product
64+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.product_secondary_unit_view_search
65+
msgid "Product Variant"
66+
msgstr ""
67+
68+
#. module: sale_order_secondary_unit
69+
#. odoo-python
70+
#: code:addons/sale_order_secondary_unit/models/product_template.py:0
71+
#, python-format
72+
msgid ""
73+
"Product variants have distinct sale secondary uom:\n"
74+
"{secondary_uom}\n"
75+
"All variants will be written with new secondary uom"
76+
msgstr ""
77+
78+
#. module: sale_order_secondary_unit
79+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_sale_order_line__product_uom_qty
80+
msgid "Quantity"
81+
msgstr ""
82+
83+
#. module: sale_order_secondary_unit
84+
#: model:ir.model,name:sale_order_secondary_unit.model_sale_order_line
85+
msgid "Sales Order Line"
86+
msgstr ""
87+
88+
#. module: sale_order_secondary_unit
89+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_sale_order_line__secondary_uom_id
90+
msgid "Second unit"
91+
msgstr ""
92+
93+
#. module: sale_order_secondary_unit
94+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_sale_order_line__secondary_uom_qty
95+
msgid "Secondary Qty"
96+
msgstr ""
97+
98+
#. module: sale_order_secondary_unit
99+
#: model:ir.actions.act_window,name:sale_order_secondary_unit.product_secondary_unit_action
100+
msgid "Secondary Unit"
101+
msgstr ""
102+
103+
#. module: sale_order_secondary_unit
104+
#: model:ir.ui.menu,name:sale_order_secondary_unit.product_secondary_unit_menu
105+
msgid "Secondary Units of Measure"
106+
msgstr ""
107+
108+
#. module: sale_order_secondary_unit
109+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.product_secondary_unit_view_search
110+
msgid "UoM"
111+
msgstr ""
112+
113+
#. module: sale_order_secondary_unit
114+
#. odoo-python
115+
#: code:addons/sale_order_secondary_unit/models/product_template.py:0
116+
#, python-format
117+
msgid "Warning"
118+
msgstr ""
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * sale_order_secondary_unit
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 14.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2021-01-22 15:23+0000\n"
10+
"PO-Revision-Date: 2023-07-24 18:09+0000\n"
11+
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
12+
"Language-Team: \n"
13+
"Language: es\n"
14+
"MIME-Version: 1.0\n"
15+
"Content-Type: text/plain; charset=UTF-8\n"
16+
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18+
"X-Generator: Weblate 4.17\n"
19+
20+
#. module: sale_order_secondary_unit
21+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.view_order_form
22+
msgid "-&gt;"
23+
msgstr "-&gt;"
24+
25+
#. module: sale_order_secondary_unit
26+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_sale_order_line__secondary_uom_unit_price
27+
msgid "2nd unit price"
28+
msgstr "Precio de la 2ª unidad"
29+
30+
#. module: sale_order_secondary_unit
31+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.report_saleorder_document
32+
msgid "<span>Second. Qty</span>"
33+
msgstr "<span>Cantidad secundaria</span>"
34+
35+
#. module: sale_order_secondary_unit
36+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_product_product__sale_secondary_uom_id
37+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_product_template__sale_secondary_uom_id
38+
msgid "Default secondary unit for sales"
39+
msgstr "Ud de venta secundaria por defecto"
40+
41+
#. module: sale_order_secondary_unit
42+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.product_secondary_unit_view_search
43+
msgid "Group By"
44+
msgstr "Agrupado por"
45+
46+
#. module: sale_order_secondary_unit
47+
#: model:ir.model.fields,help:sale_order_secondary_unit.field_product_product__sale_secondary_uom_id
48+
#: model:ir.model.fields,help:sale_order_secondary_unit.field_product_template__sale_secondary_uom_id
49+
msgid ""
50+
"In order to set a value, please first add at least one record in 'Secondary "
51+
"Unit of Measure'"
52+
msgstr ""
53+
"Para establecer un valor, primero agregue al menos un registro en 'Segunda "
54+
"unidad de medida'"
55+
56+
#. module: sale_order_secondary_unit
57+
#: model:ir.model,name:sale_order_secondary_unit.model_product_template
58+
msgid "Product"
59+
msgstr "Producto"
60+
61+
#. module: sale_order_secondary_unit
62+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.product_secondary_unit_view_search
63+
msgid "Product Template"
64+
msgstr "Plantilla de producto"
65+
66+
#. module: sale_order_secondary_unit
67+
#: model:ir.model,name:sale_order_secondary_unit.model_product_product
68+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.product_secondary_unit_view_search
69+
msgid "Product Variant"
70+
msgstr "Variante de Producto"
71+
72+
#. module: sale_order_secondary_unit
73+
#. odoo-python
74+
#: code:addons/sale_order_secondary_unit/models/product_template.py:0
75+
#, python-format
76+
msgid ""
77+
"Product variants have distinct sale secondary uom:\n"
78+
"{secondary_uom}\n"
79+
"All variants will be written with new secondary uom"
80+
msgstr ""
81+
"Las variantes de producto tienen unidades de medida secundarias de venta "
82+
"distinto:\n"
83+
"{secondary_uom}\n"
84+
"Todas las variantes se escribirán con la nueva unidad de medida secundaria"
85+
86+
#. module: sale_order_secondary_unit
87+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_sale_order_line__product_uom_qty
88+
msgid "Quantity"
89+
msgstr "Cantidad"
90+
91+
#. module: sale_order_secondary_unit
92+
#: model:ir.model,name:sale_order_secondary_unit.model_sale_order_line
93+
msgid "Sales Order Line"
94+
msgstr "Línea de pedido"
95+
96+
#. module: sale_order_secondary_unit
97+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_sale_order_line__secondary_uom_id
98+
msgid "Second unit"
99+
msgstr "Unidad secundaria"
100+
101+
#. module: sale_order_secondary_unit
102+
#: model:ir.model.fields,field_description:sale_order_secondary_unit.field_sale_order_line__secondary_uom_qty
103+
msgid "Secondary Qty"
104+
msgstr "Cta. Ud. secundaria"
105+
106+
#. module: sale_order_secondary_unit
107+
#: model:ir.actions.act_window,name:sale_order_secondary_unit.product_secondary_unit_action
108+
msgid "Secondary Unit"
109+
msgstr "Unidad Secundaria"
110+
111+
#. module: sale_order_secondary_unit
112+
#: model:ir.ui.menu,name:sale_order_secondary_unit.product_secondary_unit_menu
113+
msgid "Secondary Units of Measure"
114+
msgstr "Unidades de medida secundarias"
115+
116+
#. module: sale_order_secondary_unit
117+
#: model_terms:ir.ui.view,arch_db:sale_order_secondary_unit.product_secondary_unit_view_search
118+
msgid "UoM"
119+
msgstr "UDM (Unidad De Medida)"
120+
121+
#. module: sale_order_secondary_unit
122+
#. odoo-python
123+
#: code:addons/sale_order_secondary_unit/models/product_template.py:0
124+
#, python-format
125+
msgid "Warning"
126+
msgstr "Aviso"
127+
128+
#~ msgid "Display Name"
129+
#~ msgstr "Mostrar nombre"
130+
131+
#~ msgid "ID"
132+
#~ msgstr "ID (Identificador)"
133+
134+
#~ msgid "Last Modified on"
135+
#~ msgstr "Última modificación en"
136+
137+
#~ msgid "Second. Qty"
138+
#~ msgstr "Ud. Secundaria"
139+
140+
#~ msgid "Secondary uom"
141+
#~ msgstr "Unidad Secundaria"

0 commit comments

Comments
 (0)