Skip to content

Commit 4afe82a

Browse files
committed
[MIG] product_set_sell_only_by_packaging: Migration to 18.0
Renamed from sale_product_set_sale_by_packaging to product_set_sell_only_by_packaging
1 parent 198f3a1 commit 4afe82a

File tree

15 files changed

+207
-239
lines changed

15 files changed

+207
-239
lines changed

product_set_sell_only_by_packaging/README.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
==================================
2-
Sale Product Set Sale by packaging
3-
==================================
1+
========================================
2+
Sales Product Set Sell only by packaging
3+
========================================
44

55
..
66
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@@ -17,23 +17,22 @@ Sale Product Set Sale by packaging
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |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_product_set_sale_by_packaging
20+
:target: https://github.com/OCA/sale-workflow/tree/18.0/product_set_sell_only_by_packaging
2121
:alt: OCA/sale-workflow
2222
.. |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_product_set_sale_by_packaging
23+
:target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-product_set_sell_only_by_packaging
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
2626
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

31-
Glue module between sale_by_packaging and
32-
sale_product_set_packaging_qty.
33-
34-
If sell_only_by_packaging is ON and there are product set lines without
35-
packaging selected, a warning is displayed in the product form and quick
36-
link to all involved lines allows to review them.
31+
Glue module between sell_only_by_packaging and
32+
sale_product_set_packaging_qty. If sell_only_by_packaging is ON and
33+
there are product set lines without packaging selected, a warning is
34+
displayed in the product form and quick link to all involved lines
35+
allows to review them.
3736

3837
.. IMPORTANT::
3938
This is an alpha version, the data model and design can change at any time without warning.
@@ -51,7 +50,7 @@ Bug Tracker
5150
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
5251
In case of trouble, please check there if your issue has already been reported.
5352
If you spotted it first, help us to smash it by providing a detailed and welcomed
54-
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_product_set_sale_by_packaging%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
53+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20product_set_sell_only_by_packaging%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5554

5655
Do not contact contributors directly about support or help with technical issues.
5756

@@ -71,12 +70,13 @@ Contributors
7170
- `Trobz <https://trobz.com>`__:
7271

7372
- Son Ho<sonhd@trobz.com>
73+
- Tris Doan<tridm@trobz.com>
7474

7575
Other credits
7676
-------------
7777

78-
The migration of this module from 13.0 to 14.0 was financially supported
79-
by Camptocamp
78+
The migration of this module from 13.0 to 14.0, and 14.0 to 18.0 was
79+
financially supported by Camptocamp
8080

8181
Maintainers
8282
-----------
@@ -91,6 +91,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
9191
mission is to support the collaborative development of Odoo features and
9292
promote its widespread use.
9393

94-
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_product_set_sale_by_packaging>`_ project on GitHub.
94+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/product_set_sell_only_by_packaging>`_ project on GitHub.
9595

9696
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

product_set_sell_only_by_packaging/__manifest__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
# @author Simone Orsi <simone.orsi@camptocamp.com>
33
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl)
44
{
5-
"name": "Sale Product Set Sale by packaging",
5+
"name": "Sales Product Set Sell only by packaging",
66
"summary": """
7-
Glue module between `sale_by_packaging` and `sale_product_set_packaging_qty`.
7+
Glue module between `sell_only_by_packaging` and `sale_product_set_packaging_qty`.
88
""",
9-
"version": "14.0.1.0.2",
9+
"version": "18.0.1.0.0",
1010
"development_status": "Alpha",
11-
"category": "Warehouse Management",
11+
"category": "Sales",
1212
"website": "https://github.com/OCA/sale-workflow",
1313
"author": "Camptocamp, Odoo Community Association (OCA)",
1414
"license": "AGPL-3",
1515
"installable": True,
1616
"auto_install": True,
17-
"depends": ["sale_by_packaging", "sale_product_set_packaging_qty"],
17+
"depends": ["sell_only_by_packaging", "sale_product_set_packaging_qty"],
1818
"data": [
1919
"data/ir_cron.xml",
2020
"views/product_set_line.xml",

product_set_sell_only_by_packaging/data/ir_cron.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<field name='name'>Check sale by packaging on wishlist lines</field>
55
<field name='interval_number'>30</field>
66
<field name='interval_type'>minutes</field>
7-
<field name="numbercall">-1</field>
87
<field name="active" eval="True" />
98
<field name="model_id" ref="sale_product_set.model_product_set_line" />
109
<field name="state">code</field>

product_set_sell_only_by_packaging/i18n/es.po

Lines changed: 48 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Odoo Server 14.0\n"
88
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2024-12-31 03:52+0000\n"
910
"PO-Revision-Date: 2024-01-16 18:36+0000\n"
1011
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
1112
"Language-Team: none\n"
@@ -16,105 +17,84 @@ msgstr ""
1617
"Plural-Forms: nplurals=2; plural=n != 1;\n"
1718
"X-Generator: Weblate 4.17\n"
1819

19-
#. module: sale_product_set_sale_by_packaging
20-
#: model:ir.actions.server,name:sale_product_set_sale_by_packaging.cron_check_packaging_ir_actions_server
21-
#: model:ir.cron,cron_name:sale_product_set_sale_by_packaging.cron_check_packaging
22-
#: model:ir.cron,name:sale_product_set_sale_by_packaging.cron_check_packaging
20+
#. module: product_set_sell_only_by_packaging
21+
#: model:ir.actions.server,name:product_set_sell_only_by_packaging.cron_check_packaging_ir_actions_server
2322
msgid "Check sale by packaging on wishlist lines"
2423
msgstr "Compruebe la venta por envases en las líneas de lista de deseos"
2524

26-
#. module: sale_product_set_sale_by_packaging
27-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_product__display_name
28-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_set_line__display_name
29-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_template__display_name
30-
msgid "Display Name"
31-
msgstr "Mostrar Nombre"
32-
33-
#. module: sale_product_set_sale_by_packaging
34-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_product__id
35-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_set_line__id
36-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_template__id
37-
msgid "ID"
38-
msgstr "ID"
39-
40-
#. module: sale_product_set_sale_by_packaging
41-
#: model:ir.model.fields,help:sale_product_set_sale_by_packaging.field_product_product__sell_only_by_packaging_prod_set_tocheck
42-
#: model:ir.model.fields,help:sale_product_set_sale_by_packaging.field_product_template__sell_only_by_packaging_prod_set_tocheck
25+
#. module: product_set_sell_only_by_packaging
26+
#: model:ir.model.fields,help:product_set_sell_only_by_packaging.field_product_product__sell_only_by_packaging_prod_set_tocheck
27+
#: model:ir.model.fields,help:product_set_sell_only_by_packaging.field_product_template__sell_only_by_packaging_prod_set_tocheck
4328
msgid ""
4429
"If this flag is ON, it means you have to check all product.set associated "
4530
"with it"
4631
msgstr ""
4732
"Si esta bandera está en ON, significa que tiene que comprobar todos los "
4833
"product.set asociados a él"
4934

50-
#. module: sale_product_set_sale_by_packaging
51-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_product____last_update
52-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_set_line____last_update
53-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_template____last_update
54-
msgid "Last Modified on"
55-
msgstr "Última Modificación el"
56-
57-
#. module: sale_product_set_sale_by_packaging
58-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_set_line__sell_only_by_packaging
35+
#. module: product_set_sell_only_by_packaging
36+
#: model:ir.model.fields,field_description:product_set_sell_only_by_packaging.field_product_set_line__sell_only_by_packaging
5937
msgid "Only sell by packaging"
6038
msgstr "Solo vendemos por embalaje"
6139

62-
#. module: sale_product_set_sale_by_packaging
63-
#: model:ir.model,name:sale_product_set_sale_by_packaging.model_product_product
64-
#: model_terms:ir.ui.view,arch_db:sale_product_set_sale_by_packaging.view_product_set_line_search
40+
#. module: product_set_sell_only_by_packaging
41+
#: model:ir.model,name:product_set_sell_only_by_packaging.model_product_template
42+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.view_product_set_line_search
6543
msgid "Product"
6644
msgstr "Producto"
6745

68-
#. module: sale_product_set_sale_by_packaging
69-
#: model:ir.model,name:sale_product_set_sale_by_packaging.model_product_template
70-
msgid "Product Template"
71-
msgstr "Plantilla de Producto"
46+
#. module: product_set_sell_only_by_packaging
47+
#: model:ir.model,name:product_set_sell_only_by_packaging.model_product_product
48+
#, fuzzy
49+
msgid "Product Variant"
50+
msgstr "Conjunto de productos"
7251

73-
#. module: sale_product_set_sale_by_packaging
74-
#: model_terms:ir.ui.view,arch_db:sale_product_set_sale_by_packaging.view_product_set_line_search
52+
#. module: product_set_sell_only_by_packaging
53+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.view_product_set_line_search
7554
msgid "Product set"
7655
msgstr "Conjunto de productos"
7756

78-
#. module: sale_product_set_sale_by_packaging
79-
#: model:ir.actions.act_window,name:sale_product_set_sale_by_packaging.act_open_product_set_line_view
80-
#: model:ir.model,name:sale_product_set_sale_by_packaging.model_product_set_line
81-
#: model_terms:ir.ui.view,arch_db:sale_product_set_sale_by_packaging.view_product_set_line_search
57+
#. module: product_set_sell_only_by_packaging
58+
#: model:ir.actions.act_window,name:product_set_sell_only_by_packaging.act_open_product_set_line_view
59+
#: model:ir.model,name:product_set_sell_only_by_packaging.model_product_set_line
60+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.view_product_set_line_search
8261
msgid "Product set line"
8362
msgstr "Línea de conjunto de producto"
8463

85-
#. module: sale_product_set_sale_by_packaging
86-
#: model:ir.model.fields,help:sale_product_set_sale_by_packaging.field_product_set_line__sell_only_by_packaging
64+
#. module: product_set_sell_only_by_packaging
65+
#: model:ir.model.fields,help:product_set_sell_only_by_packaging.field_product_set_line__sell_only_by_packaging
8766
msgid ""
8867
"Restrict the usage of this product on sale order lines without packaging "
8968
"defined"
9069
msgstr ""
9170
"Restrinja el uso de este producto en las líneas de orden de venta sin "
9271
"embalaje definido"
9372

94-
#. module: sale_product_set_sale_by_packaging
95-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_product__sell_only_by_packaging_prod_set_tocheck
96-
#: model:ir.model.fields,field_description:sale_product_set_sale_by_packaging.field_product_template__sell_only_by_packaging_prod_set_tocheck
73+
#. module: product_set_sell_only_by_packaging
74+
#: model:ir.model.fields,field_description:product_set_sell_only_by_packaging.field_product_product__sell_only_by_packaging_prod_set_tocheck
75+
#: model:ir.model.fields,field_description:product_set_sell_only_by_packaging.field_product_template__sell_only_by_packaging_prod_set_tocheck
9776
msgid "Sell Only By Packaging Prod Set Tocheck"
9877
msgstr "Vender Solo Por Producto de Embalaje Establecido Para Comprobar"
9978

100-
#. module: sale_product_set_sale_by_packaging
101-
#: code:addons/sale_product_set_sale_by_packaging/models/product_set_line.py:0
102-
#, python-format
79+
#. module: product_set_sell_only_by_packaging
80+
#. odoo-python
81+
#: code:addons/product_set_sell_only_by_packaging/models/product_set_line.py:0
10382
msgid ""
10483
"The following product(s) can be sold only by packaging: \n"
10584
" %s"
10685
msgstr ""
10786
"El/los siguiente(s) producto(s) sólo puede(n) venderse envasados: \n"
10887
" %s"
10988

110-
#. module: sale_product_set_sale_by_packaging
111-
#: model_terms:ir.ui.view,arch_db:sale_product_set_sale_by_packaging.product_template_form_view
89+
#. module: product_set_sell_only_by_packaging
90+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.product_template_form_view
11291
msgid ""
11392
"There are product set lines associated to this product\n"
11493
" which do not have a packaging associated.\n"
11594
" It would be better to check them all.\n"
11695
" If you don't take any action,\n"
117-
" a cron will assign such lines to the first available packaging."
96+
" a cron will assign such lines to the first available "
97+
"packaging."
11898
msgstr ""
11999
"Hay líneas de conjuntos de productos asociadas a este producto\n"
120100
" que no tienen un envase asociado.\n"
@@ -123,7 +103,19 @@ msgstr ""
123103
" un cron asignará dichas líneas al primer embalaje "
124104
"disponible."
125105

126-
#. module: sale_product_set_sale_by_packaging
127-
#: model_terms:ir.ui.view,arch_db:sale_product_set_sale_by_packaging.product_template_form_view
106+
#. module: product_set_sell_only_by_packaging
107+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.product_template_form_view
128108
msgid "View all lines"
129109
msgstr "Ver todas las líneas"
110+
111+
#~ msgid "Display Name"
112+
#~ msgstr "Mostrar Nombre"
113+
114+
#~ msgid "ID"
115+
#~ msgstr "ID"
116+
117+
#~ msgid "Last Modified on"
118+
#~ msgstr "Última Modificación el"
119+
120+
#~ msgid "Product Template"
121+
#~ msgstr "Plantilla de Producto"
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * product_set_sell_only_by_packaging
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 18.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2024-12-31 03:52+0000\n"
10+
"PO-Revision-Date: 2024-12-31 03:52+0000\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: product_set_sell_only_by_packaging
19+
#: model:ir.actions.server,name:product_set_sell_only_by_packaging.cron_check_packaging_ir_actions_server
20+
msgid "Check sale by packaging on wishlist lines"
21+
msgstr ""
22+
23+
#. module: product_set_sell_only_by_packaging
24+
#: model:ir.model.fields,help:product_set_sell_only_by_packaging.field_product_product__sell_only_by_packaging_prod_set_tocheck
25+
#: model:ir.model.fields,help:product_set_sell_only_by_packaging.field_product_template__sell_only_by_packaging_prod_set_tocheck
26+
msgid ""
27+
"If this flag is ON, it means you have to check all product.set associated "
28+
"with it"
29+
msgstr ""
30+
31+
#. module: product_set_sell_only_by_packaging
32+
#: model:ir.model.fields,field_description:product_set_sell_only_by_packaging.field_product_set_line__sell_only_by_packaging
33+
msgid "Only sell by packaging"
34+
msgstr ""
35+
36+
#. module: product_set_sell_only_by_packaging
37+
#: model:ir.model,name:product_set_sell_only_by_packaging.model_product_template
38+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.view_product_set_line_search
39+
msgid "Product"
40+
msgstr ""
41+
42+
#. module: product_set_sell_only_by_packaging
43+
#: model:ir.model,name:product_set_sell_only_by_packaging.model_product_product
44+
msgid "Product Variant"
45+
msgstr ""
46+
47+
#. module: product_set_sell_only_by_packaging
48+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.view_product_set_line_search
49+
msgid "Product set"
50+
msgstr ""
51+
52+
#. module: product_set_sell_only_by_packaging
53+
#: model:ir.actions.act_window,name:product_set_sell_only_by_packaging.act_open_product_set_line_view
54+
#: model:ir.model,name:product_set_sell_only_by_packaging.model_product_set_line
55+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.view_product_set_line_search
56+
msgid "Product set line"
57+
msgstr ""
58+
59+
#. module: product_set_sell_only_by_packaging
60+
#: model:ir.model.fields,help:product_set_sell_only_by_packaging.field_product_set_line__sell_only_by_packaging
61+
msgid ""
62+
"Restrict the usage of this product on sale order lines without packaging "
63+
"defined"
64+
msgstr ""
65+
66+
#. module: product_set_sell_only_by_packaging
67+
#: model:ir.model.fields,field_description:product_set_sell_only_by_packaging.field_product_product__sell_only_by_packaging_prod_set_tocheck
68+
#: model:ir.model.fields,field_description:product_set_sell_only_by_packaging.field_product_template__sell_only_by_packaging_prod_set_tocheck
69+
msgid "Sell Only By Packaging Prod Set Tocheck"
70+
msgstr ""
71+
72+
#. module: product_set_sell_only_by_packaging
73+
#. odoo-python
74+
#: code:addons/product_set_sell_only_by_packaging/models/product_set_line.py:0
75+
msgid ""
76+
"The following product(s) can be sold only by packaging: \n"
77+
" %s"
78+
msgstr ""
79+
80+
#. module: product_set_sell_only_by_packaging
81+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.product_template_form_view
82+
msgid ""
83+
"There are product set lines associated to this product\n"
84+
" which do not have a packaging associated.\n"
85+
" It would be better to check them all.\n"
86+
" If you don't take any action,\n"
87+
" a cron will assign such lines to the first available packaging."
88+
msgstr ""
89+
90+
#. module: product_set_sell_only_by_packaging
91+
#: model_terms:ir.ui.view,arch_db:product_set_sell_only_by_packaging.product_template_form_view
92+
msgid "View all lines"
93+
msgstr ""

0 commit comments

Comments
 (0)