Skip to content

Commit 46ad458

Browse files
[MIG] sale_variant_configurator: Migration to 17.0
1 parent ce8b169 commit 46ad458

7 files changed

Lines changed: 662 additions & 91 deletions

File tree

Lines changed: 52 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,78 @@
1-
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
2-
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
3-
:alt: License: AGPL-3
4-
51
=======================
62
Sale - Product variants
73
=======================
84

9-
This module allows you to create the product variant when a sale order is
10-
confirmed. It adds to the sale line a product configurator, so that selecting
11-
a product and its attributes can serve for creating/selecting the product
12-
variant.
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:d8dedaecbf81afa40d080abe2b948314677ba0d6b19812aeb55d5ead83fb7293
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%2Fproduct--variant-lightgray.png?logo=github
20+
:target: https://github.com/OCA/product-variant/tree/17.0/sale_variant_configurator
21+
:alt: OCA/product-variant
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/product-variant-17-0/product-variant-17-0-sale_variant_configurator
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/product-variant&target_branch=17.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
1331

14-
Usage
15-
=====
1632

17-
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
18-
:alt: Try me on Runbot
19-
:target: https://runbot.odoo-community.org/runbot/137/11.0
33+
**Table of contents**
34+
35+
.. contents::
36+
:local:
2037

2138
Bug Tracker
2239
===========
2340

24-
Bugs are tracked on `GitHub Issues
25-
<https://github.com/OCA/product-variant/issues>`_. In case of trouble, please
26-
check there if your issue has already been reported. If you spotted it first,
27-
help us smash it by providing detailed and welcomed feedback.
41+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-variant/issues>`_.
42+
In case of trouble, please check there if your issue has already been reported.
43+
If you spotted it first, help us to smash it by providing a detailed and welcomed
44+
`feedback <https://github.com/OCA/product-variant/issues/new?body=module:%20sale_variant_configurator%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
45+
46+
Do not contact contributors directly about support or help with technical issues.
2847

2948
Credits
3049
=======
3150

51+
Authors
52+
-------
53+
54+
* OdooMRP team
55+
* AvanzOSC
56+
* Tecnativa
57+
3258
Contributors
3359
------------
34-
* Oihane Crucelaegui <oihanecrucelaegi@avanzosc.es>
35-
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
36-
* Ana Juaristi <ajuaristio@gmail.com>
37-
* David Vidal <david.vidal@tecnativa.com>
3860

39-
Maintainer
40-
----------
61+
- ``Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>``\ \_
62+
63+
Maintainers
64+
-----------
65+
66+
This module is maintained by the OCA.
4167

4268
.. image:: https://odoo-community.org/logo.png
4369
:alt: Odoo Community Association
4470
:target: https://odoo-community.org
4571

46-
This module is maintained by the OCA.
47-
4872
OCA, or the Odoo Community Association, is a nonprofit organization whose
4973
mission is to support the collaborative development of Odoo features and
5074
promote its widespread use.
5175

52-
To contribute to this module, please visit https://odoo-community.org.
76+
This module is part of the `OCA/product-variant <https://github.com/OCA/product-variant/tree/17.0/sale_variant_configurator>`_ project on GitHub.
77+
78+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

sale_variant_configurator/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{
88
"name": "Sale - Product variants",
99
"summary": "Product variants in sale management",
10-
"version": "16.0.1.0.0",
10+
"version": "17.0.1.0.0",
1111
"development_status": "Production/Stable",
1212
"license": "AGPL-3",
1313
"depends": ["sale", "product_variant_configurator"],

sale_variant_configurator/hooks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
33

44

5-
def assign_product_template(cr, registry):
5+
def assign_product_template(env):
66
"""This post-init-hook will update all existing sale.order.line"""
7+
cr = env.cr
78
cr.execute(
89
"""
910
UPDATE sale_order_line AS line
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`_

sale_variant_configurator/readme/DESCRIPTION.md

Whitespace-only changes.

0 commit comments

Comments
 (0)