Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0] [MIG] product_configurator: Migration to 18.0 #150

Open
wants to merge 529 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
529 commits
Select commit Hold shift + click to select a range
9e07b0f
[ADD][#T00513] product_configurator_sale, product_configurator, produ…
Jun 7, 2019
22e7633
[FIX]add value_ids in depends
bizzappdev Jun 7, 2019
9215d61
[ADD][#T00513]product_configurator:create test case for product_confi…
Jun 8, 2019
ceef08a
[WIP][#T00513] write test-case for product template
bizzappdev Jun 8, 2019
32db44c
[IMP]price and weight on website
bizzappdev Jun 10, 2019
33a9e58
[IMP][#T00513] product_configurator: write test-case for product_temp…
bizzappdev Jun 11, 2019
f10446b
[IMP][#T00513]product_configurator: create test case for _get_custom_…
Jun 12, 2019
3b7c70c
[IMP][#T00513]product_configurator:create test case for _check_value_…
Jun 13, 2019
900e35f
[FIX]fix record rules
bizzappdev Jun 13, 2019
afc0c73
[FIX]set value_ids only if value_ids is None
bizzappdev Jun 13, 2019
6a75c0e
[IMP][#T00513]product_configurator: create test case for _compute_pro…
Jun 13, 2019
9f90773
[IMP][#T00513]product_configurator: remove comment statement
Jun 13, 2019
09bd899
[FIX]uncommit button config_ok
bizzappdev Jun 13, 2019
b39f6af
[IMP][#T00513]product_configurator: create test case for unique_attri…
Jun 13, 2019
0e0a6d2
[ADD][t00513]product_configurator,product_configurator_stock: write t…
Jun 14, 2019
cbc8a3a
[T-00513][IMP] product_configurator: For test-case add changes in pro…
bizzappdev Jun 14, 2019
b7718e9
[ADD][#T00513]product_configurator:solved conflict
Jun 14, 2019
f70b407
[FIX]move .get_custom_value_id to config session
bizzappdev Jun 14, 2019
5873860
[T-00513][IMP] add new changes
bizzappdev Jun 14, 2019
ef2ea9a
[FIX]fix flake8 and pylint errors
bizzappdev Jun 15, 2019
05525a7
[ADD][#T00513]product_configurator: create test case for unique_attri…
Jun 15, 2019
4a5adc2
[FIX]call get_custom_value using config_session
bizzappdev Jun 17, 2019
254c132
[FIX]fix flake8
bizzappdev Jun 17, 2019
ddff42d
[FIX]change realtion and columns name in value_ids
bizzappdev Jun 19, 2019
d4102d4
[FIX][T-00513] product_configurator: add new changes and fix some issue
bizzappdev Jun 19, 2019
f83ca74
[IMP][T-00513] product_configurator: solve flake8
bizzappdev Jun 19, 2019
dfbe790
[FIX]add domain website_published = true in record rules by inheritin…
bizzappdev Jun 19, 2019
ab15ebd
[WIP]initial working wizard for the v12 migration
bizzappdev Jun 19, 2019
ba355d7
[FIX]remove noupdate=1 from security file of product_configurator
bizzappdev Jun 19, 2019
dd61ac0
[IMP]make image click work for radio and check box
bizzappdev Jun 19, 2019
7ef44f1
[FIX]take value_ids from session if value_ids is not list
bizzappdev Jun 21, 2019
a184871
[FIX]if default not exist then set it to {}
bizzappdev Jun 24, 2019
1b7358f
[FIX]return new_attrs outside for loop
bizzappdev Jun 24, 2019
590d33e
[IMP][T-00513] product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
58de71d
[FIX]add copy False in product_ids and attribute_line_ids
bizzappdev Jun 24, 2019
fe14d03
[IMP][T-00513] product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
220c140
[FIX][00513]product_configurator : chnages in test case
Jun 24, 2019
4154235
[IMP]add description and copy false in attr line_ids and product_ids
bizzappdev Jun 24, 2019
2122a85
[FIX]add price_extra
bizzappdev Jun 24, 2019
3de755d
[FIX]fix wizard view
bizzappdev Jun 24, 2019
515bf44
[IMP][T-00513] product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
797ff0a
[FIX]fix flake8 error
bizzappdev Jun 25, 2019
79da99d
[IMP][T-00513] product_configurator: add chages in test_wizard
bizzappdev Jun 25, 2019
ffdb398
[FIX]fix access rules and record rules
bizzappdev Jun 25, 2019
1d8cd2c
[FIX]use value_ids is None instead not value_ids and not isinstance(v…
bizzappdev Jun 25, 2019
d3f753e
[IMP][T-00513] product_configurator: add chages for test-case
bizzappdev Jun 25, 2019
20731c1
[FIX]change model in record rules
bizzappdev Jun 25, 2019
23e0d82
[FIX]fix price extra functionality
bizzappdev Jun 25, 2019
2df7422
[FIX]fixes from 11.0
bizzappdev Jun 26, 2019
af93bd7
[FIX][T-00517]fix :: When we create the standard product then it give…
bizzappdev Jun 26, 2019
f377533
[FIX]add for loop in compute and constrains method to avoid singleton…
bizzappdev Jun 26, 2019
a377cf8
[FIX][T-00517]fix default filter,add desciption, allow to keep value_…
bizzappdev Jun 26, 2019
3369a4d
[FIX]delete recor rules
bizzappdev Jun 26, 2019
e9b3fef
[FIX]add check in create write and unlink
bizzappdev Jun 26, 2019
55d2b2c
[FIX]move image to last field in tree view
bizzappdev Jun 27, 2019
e34e749
[FIX][T-00513] product_configurator: fix test-case issue in product_c…
bizzappdev Jun 27, 2019
7a54898
[IMP][T-00513] product_configurator: init uncomment code
bizzappdev Jun 27, 2019
7157f7a
[FIX]filter configuratble product and loop out then instead checking …
bizzappdev Jun 27, 2019
666fed7
[FIX] use condition change_config_ok or self.config_ok
bizzappdev Jun 27, 2019
166b06c
[FIX]remove onchange and add readonly in config_ok on sol/pol/ml
bizzappdev Jun 27, 2019
f46c880
[FIX]remove loop from unlink
bizzappdev Jun 27, 2019
0149c57
[FIX]set config_ok=true default in method
bizzappdev Jun 28, 2019
545d0b2
[FIX]fix flake8
bizzappdev Jun 28, 2019
8fc0c83
[WIP][00513]product_configurator : write testcase
Jun 28, 2019
d961f92
[FIX]move config_ok at top of method
bizzappdev Jun 28, 2019
9916fce
[FIX]change group manager
bizzappdev Jun 29, 2019
71c81f5
[FIX]if check_value_ids is none only then set it to self.value_ids
bizzappdev Jun 29, 2019
5732779
[FIX]remove config_ok from method check_config_user_access
bizzappdev Jun 29, 2019
d91d86c
[FIX][T-00513] fix issue test-case issue in product_configurator_sale…
bizzappdev Jun 29, 2019
5b875b5
[FIX] fix ex. name
bizzappdev Jul 10, 2019
84dfca3
[FIX] product_configurator: fix validation issue in product configurator
bizzappdev Jul 13, 2019
7888b84
[WIP][00517] website_product_configurator: create changes in website …
bizzappdev Jul 13, 2019
5b22912
[FIX]fixes from 11.0
bizzappdev Jul 15, 2019
8e6a0e2
[FIX]fix security file
bizzappdev Jul 15, 2019
c764e5b
[FIX]add if value_ids is None instead if not value_ids, fix parameter…
bizzappdev Jul 16, 2019
8b90f28
[FIX]fix argument name
bizzappdev Jul 16, 2019
efd182a
[IMP][T00517] product_configurator : add attribute on button and solv…
Jul 17, 2019
b0d0364
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
31cf623
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
5a7dd35
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
e21ae24
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
38dee2c
[FIX]add group manager in weight_extra
bizzappdev Jul 17, 2019
a27b37a
[FIX][T-00517]website_product_configurator: fix flake8
bizzappdev Jul 19, 2019
347494a
[FIX]fix flake8
bizzappdev Jul 23, 2019
3ef5bb8
[ADD][00517]product_configurator : migration testcase for product_con…
Jul 23, 2019
79f1fb4
[FIX][00517] product_configurator,product_configurator_mrp : solve th…
Jul 24, 2019
c800fe8
[FIX]change version in manifest file
bizzappdev Jul 26, 2019
00ed0aa
[WIP][00517]product_configurator : migration test-case for v11 to v12
Jul 30, 2019
683347c
[ADD][FIX][00517]product_configurator : craete test-case for onchang…
Jul 30, 2019
3f157a7
[FIX][00517]product_configurator : onchange method call in test-case…
Jul 31, 2019
3b670e9
[FIX][00517]product_configurator : solve the flak8
Jul 31, 2019
12626d6
[FIX] product_configurator: Add admin to Manager group
max3903 Aug 5, 2019
e9a145d
[FIX] product_configurator: Reorder and rename the menu to match Odoo
max3903 Aug 5, 2019
a6579a8
[FIX]add group confg manager to user root and admin
bizzappdev Aug 19, 2019
8ebb09d
[FIX]website_product_configurator,product_configurator : change for d…
Sep 7, 2019
32be292
[WIP] product_configurator: add change for fix price extra issue
bizzappdev Sep 22, 2019
c86a18e
[FIX][T-00517]fix domain calculation don't consider invalidated value…
bizzappdev Sep 28, 2019
aee7d2e
[FIX][T-00517]fix price precision on backend wizard
bizzappdev Sep 28, 2019
2dd3cdd
[FIX]display currency in backend wizard
bizzappdev Sep 28, 2019
de8b12e
Adding created/found variant on configuration session when the sessio…
PCatinean Sep 29, 2019
5f8e8aa
Added product_id field to config.session views
PCatinean Sep 29, 2019
696208d
[FIX]add ondelete='cascade' instead of ondelete='restrict' in product…
bizzappdev Sep 30, 2019
b943fb6
[FIX]remove action_confirm from create_get_variant and call it from c…
bizzappdev Sep 30, 2019
8174452
[FIX]remove extra call for .create_get_variant
bizzappdev Sep 30, 2019
4020430
[FIX][T2998]fix write method
bizzappdev Oct 7, 2019
a70490d
[FIX]product_configurator : chnage in product_configurator and set de…
Oct 10, 2019
646b785
[FIX]product_configurator,website_product_configurator : chnages acco…
Oct 10, 2019
5af3039
[IMP][T-00560] product_Configurator: for the restricted value check a…
bizzappdev Oct 14, 2019
4b6c83e
[IMP][T-00560] product_configurator: fix issue of change state config…
bizzappdev Oct 15, 2019
e9a7e3d
[IMP][T-00560] product_configurator: make change for custom value
bizzappdev Oct 23, 2019
534fbae
[IMP][T-00560] product_configurator: make readonly attribute if custo…
bizzappdev Oct 23, 2019
e2b4a31
[IMP][T-00560] product_configurator: solve flake8
bizzappdev Oct 25, 2019
d739f25
[FIX]product_configurator : add new test case for get_onchange_domain…
Nov 1, 2019
366449d
[FIX]fix price precision on backend wizard
bizzappdev Nov 6, 2019
2560078
[WIP][T-00616] Product_configurator: show price_extra in attribute va…
bizzappdev Nov 21, 2019
992a6a9
[IMP][T-00616] Product_configurator: price extra changes
bizzappdev Nov 25, 2019
e2099ce
[FIX][T-00616]fix test case and code optimization
bizzappdev Nov 26, 2019
ebe449e
[FIX][T-00547]move code from onchage to new method apply_onchage_values
bizzappdev Dec 2, 2019
5778641
[FIX][T-00616]find price from related product, and then loop out over…
bizzappdev Dec 2, 2019
fcc98ac
[IMP][T-00622]add name in separator for Configuration Images and Conf…
bizzappdev Dec 12, 2019
906193b
[FIX][T-00631]call onchange for custom values too
bizzappdev Dec 17, 2019
ca9077c
[IMP]Add installable False to module from version 12
bizzappdev Dec 26, 2019
9af15b7
[MIG]migrate product configurator base to 13.0 from 12.0
bizzappdev Dec 31, 2019
a06c937
[IMP][T3186]add domain in restriction
bizzappdev Dec 31, 2019
445f6f7
Revert "[IMP][T3186]add domain in restriction"
bizzappdev Dec 31, 2019
2970ae3
[IMP][T3186]add domain in restriction
bizzappdev Dec 31, 2019
b3a1f2b
[FIX][T3186]fix variant prices domain
bizzappdev Dec 31, 2019
42b6ecd
[FIX][T3186]fix variant prices domain
bizzappdev Dec 31, 2019
ecbc999
[FIX][T3186]fix product_preset_id in onchane
bizzappdev Dec 31, 2019
4e040f9
[FIX][T3186]send template in context on reset
bizzappdev Dec 31, 2019
a452eb9
[FIX][T3186]change int to integer (custom type)
bizzappdev Dec 31, 2019
e272269
[FIX][T3186]fix reset button functionality
bizzappdev Jan 1, 2020
71f38ce
[FIX][T3186]hide create button from variants
bizzappdev Jan 1, 2020
f491a9c
[FIX][T3186]prevent to save wrong custom value when no step exist
bizzappdev Jan 1, 2020
ca90c7e
[FIX][T3186]prevent warning for int/float value validation on reset
bizzappdev Jan 1, 2020
7b3071a
[FIX][T3186] fix js error due to undefined element
bizzappdev Jan 1, 2020
cfa48c9
[FIX][T3186] open config attribute view from product_configurator or …
bizzappdev Jan 2, 2020
51321a1
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
8532759
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
cb5047c
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
1a18341
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
602dd29
[WIP][3186]add views in wizard action
bizzappdev Jan 3, 2020
8e5fea0
[IMP][T3186]add helper methods to call onchage
bizzappdev Jan 4, 2020
c30643a
[IMP][T3186]remove custom values on variant
bizzappdev Jan 4, 2020
50fd99f
[IMP][T3186]remove search on custom values in get_variant_search_domain
bizzappdev Jan 4, 2020
febd3e9
[FIX][3186]add name in session custom values
bizzappdev Jan 6, 2020
cbe4105
[FIX][T3199]add active false in custom attribute values
bizzappdev Jan 6, 2020
6b76a96
[FIX]fix flake8
bizzappdev Jan 28, 2020
c188e94
[FIX]remove print
bizzappdev Jan 28, 2020
b167755
[FIX][T3186]fix duplicate copy of attribute-lines and custom values w…
bizzappdev Feb 10, 2020
162411a
[MIG]migrate website_product_configurator to v13
bizzappdev Feb 12, 2020
6d59546
[FIX]add res config settings view
bizzappdev Feb 19, 2020
ab89659
[FIX]remove extra context from res config settings view
bizzappdev Feb 19, 2020
3ac79f2
[FIX]fix configurator setting menu
bizzappdev Feb 19, 2020
1a187c1
[FIX]update po file
bizzappdev Feb 19, 2020
453f8f6
[FIX][T3200]fix price in cart lines
bizzappdev Feb 24, 2020
e84efa4
[FIX][T3200]fix product session in context
bizzappdev Feb 27, 2020
55acd13
[FIX]fix flake8 error
bizzappdev Mar 2, 2020
2bb0feb
[FIX]fix signletom error
bizzappdev Sep 10, 2020
224b2d5
Fix flake8 error
PCatinean Oct 17, 2020
aafd604
[13.0][FIX]wrong view inherit (#183)
luc-demeyer Jan 8, 2021
0dad169
FIX user access if sudo() mode (#180)
Jan 11, 2021
9326378
[13.0][FIX] Error on smart button with context (#184)
Jan 11, 2021
517ff9c
[IMP] product_configurator: black, isort, prettier
dreispt Mar 19, 2021
3175d86
[MIG] product_configurator: Migration to 14.0
dreispt Mar 19, 2021
c928e19
[IMP] Improved the code and made the module as installable.
Chandresh-SerpentCS Mar 31, 2021
8ff5813
[FIX] product_configurator: wizard form would not open
dreispt Mar 31, 2021
976a967
[FIX] Fixed pre-commit, improved the methods.
Chandresh-OSI Apr 16, 2021
28f9b7c
[FIX] product_configurator: attribute required error when opening con…
dreispt Apr 20, 2021
33c4041
[FIX] product_configurator: fix installation log warnings
dreispt Apr 20, 2021
cd651d2
[FIX] product_configurator: readme, precommit, beta maturity
dreispt Apr 27, 2021
cbe7754
[UPD] Update product_configurator.pot
oca-travis Apr 27, 2021
a445f7b
[UPD] README.rst
OCA-git-bot Apr 27, 2021
8048afc
[FIX] product_configurator: remove old readme file
dreispt Apr 27, 2021
9ce5ee0
product_configurator 14.0.1.0.1
OCA-git-bot May 3, 2021
7be36f5
[MIG] Migrated product_configurator base to V14
PCatinean May 7, 2021
c63d9df
[MIG] rebase product configurator module.
pledrateam May 13, 2021
63bb58f
[MIG] rebase product configurator module for translation file.
pledrateam May 13, 2021
7369431
[UPD] Update product_configurator.pot
oca-travis May 13, 2021
9888076
[UPD] README.rst
OCA-git-bot May 13, 2021
01065ba
product_configurator 14.0.1.1.0
OCA-git-bot May 13, 2021
8c32a57
[FIX]remove stock from depends
pledrateam May 17, 2021
9ebce54
[FIX]product_configurator: stock depending view move to stock module
pledrateam May 18, 2021
da4ace5
product_configurator 14.0.1.2.0
OCA-git-bot May 19, 2021
06041f2
FIX form_widget.js because it conflicted with the evaluation of the c…
May 23, 2021
63cadad
[FIX] product_configurator: missing variable initialization in produc…
May 23, 2021
ae8a7f5
product_configurator 14.0.1.2.1
OCA-git-bot May 24, 2021
24e7a02
Modifi Fotmat code
May 24, 2021
6d6b395
Modify format by pre-commite
May 24, 2021
4ffb42b
product_configurator 14.0.1.2.2
OCA-git-bot May 25, 2021
c97c4f0
Add pcatinean as maintainer for all modules
PCatinean Jun 15, 2021
6b92af8
[UPD] README.rst
OCA-git-bot Jun 22, 2021
3b90463
[WIP][T-01839]product_configurator: remove price calculation from ses…
pledrateam Oct 25, 2021
fdb6610
[REF] *: fix PCatinean maintainer
dreispt Dec 10, 2021
07bd684
[UPD] README.rst
OCA-git-bot Dec 10, 2021
a7d465f
product_configurator 14.0.1.2.3
OCA-git-bot Dec 10, 2021
2d83a9a
[FIX] product_configurator: ordinary users don't have access to `act_…
DonatasV Mar 10, 2022
d4c5796
product_configurator 14.0.1.2.4
OCA-git-bot Mar 22, 2022
1c0a7f8
[IMP] Change from Transient to regular Model
patrickrwilson Apr 26, 2022
4cea27a
product_configurator 14.0.1.2.5
OCA-git-bot Jul 4, 2022
2c4aa74
[FIX] product_configurator
csil300 Aug 26, 2022
3598f19
product_configurator 14.0.1.2.6
OCA-git-bot Sep 27, 2022
39552cb
[MIG] product_configurator: Migration to 16.0
dannyadair Nov 22, 2023
d92f197
[REF] product_configurator: pre-commit
dreispt Dec 9, 2023
42d216e
[FIX] product_configurator: Deprecated attribute
SirAionTech Jan 10, 2024
9443ab5
[FIX] product_configurator: Validate attributes
SirAionTech Jan 10, 2024
f417f60
[IMP] product_configurator: Use new translation syntax
SirAionTech Jan 10, 2024
f6fa384
[IMP] product_configurator: Use new name_search
SirAionTech Jan 10, 2024
9b58184
[REF] product_configurator: Remove unused method
SirAionTech Jan 10, 2024
4ada894
[FIX] product_configurator: product.product.price does not exist
SirAionTech Jan 11, 2024
8a2add9
[IMP] product_configurator: Use existing flatten
SirAionTech Jan 11, 2024
9e3facf
[FIX] product_configurator: Remove old commented code
SirAionTech Jan 11, 2024
5e6a8ec
[IMP] product_configurator: Do not recreate same exception
SirAionTech Jan 10, 2024
e08b542
[UPD] Update product_configurator.pot
Feb 5, 2024
6d17c1b
Added translation using Weblate (Italian)
mymage Mar 12, 2024
6fbbfb6
Translated using Weblate (Italian)
mymage Mar 20, 2024
1f1a92d
Translated using Weblate (Italian)
SirAionTech Apr 3, 2024
2ad620d
Added translation using Weblate (Portuguese)
peterromao Sep 13, 2024
f244d7f
Translated using Weblate (Portuguese)
peterromao Sep 15, 2024
af02a51
[IMP] product_configurator: pre-commit
SirAionTech Sep 19, 2024
fe448f6
[IMP] product_configurator: Allow to restrict custom value
SirAionTech Sep 19, 2024
1148a2f
product_configurator: tests drop useless import
simahawk Oct 23, 2024
f759f9d
product_configurator: rename common test file
simahawk Oct 23, 2024
f7fc935
product_configurator: boost test perf
simahawk Oct 23, 2024
460aa28
[BOT] post-merge updates
OCA-git-bot Oct 23, 2024
05e2937
[UPD] Update product_configurator.pot
Oct 23, 2024
91d27e0
[BOT] post-merge updates
OCA-git-bot Oct 23, 2024
36f4623
Update translation files
weblate Oct 23, 2024
9081992
[IMP] product_configurator: early pre-commit cleanup
dreispt Feb 22, 2024
b06709a
[IMP] product_configurator: early pre-commit cleanup round 2
simahawk Oct 23, 2024
0991c94
product_configurator: restore test_wizard
simahawk Oct 24, 2024
03bb556
product_configurator: improve test _configure_product_nxt_step
simahawk Oct 24, 2024
4152b65
product_configurator: restore test_product_config
simahawk Oct 24, 2024
dd39a58
product_configurator: add fixme comment on test_product
simahawk Oct 24, 2024
2f53869
product_configurator: restore test_product_attribute
simahawk Oct 24, 2024
ff2dab3
product_configurator: restore test_create
simahawk Oct 24, 2024
61df1dc
[UPD] Update product_configurator.pot
Oct 24, 2024
7fcd335
[BOT] post-merge updates
OCA-git-bot Oct 24, 2024
2031d7b
Update translation files
weblate Oct 24, 2024
b12a6a2
product_configurator: make not installable
simahawk Oct 24, 2024
59b1e83
[IMP] product_configurator: pre-commit auto fixes
bizzappdev Nov 4, 2024
a6e9798
[MIG] product_configurator: Migration to 17.0
bizzappdev Nov 12, 2024
25e545b
[UPD] Update product_configurator.pot
Nov 27, 2024
4c1b5fd
[BOT] post-merge updates
OCA-git-bot Nov 27, 2024
3b86e76
Update translation files
weblate Nov 27, 2024
9b7f2de
Translated using Weblate (Italian)
mymage Nov 27, 2024
dbc54c3
product_configurator : Fixed warning product_configurator module.
bizzappdev Nov 28, 2024
c6c0fbd
[BOT] post-merge updates
OCA-git-bot Nov 28, 2024
f74a867
[IMP] product_configurator: pre-commit auto fixes
bizzappdev Feb 3, 2025
16a3618
[MIG] product_configurator: Migration to 18.0
bizzappdev Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions product_configurator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Odoo Product Configurator

This module is Dynamic configuration wizard for Odoo back-end and the foundation for
external configuration interfaces such 'website_product_configurator'.

By itself this module does not configure custom products but offers the basis for
generating, validating, updating configurable products using configuration interfaces.

# Features

- Inhibition of automatically created variants.
- Extension of attribute lines to offer required, custom and multiple selection.
- Configuration / Compatibility rules between attributes.
- Separation of attributes in different steps.
- Images for intermediate and final configurations.
- Managing active configuration sessions for external configurators
- Set of helper methods required for any Odoo configuration module.

# Usage

This module is Dynamic configuration wizard for Odoo back-end and the foundation for
external configuration interfaces such 'website_product_configurator'.

By itself this module does not configure custom products but offers the basis for
generating, validating, updating configurable products using configuration interfaces.
87 changes: 87 additions & 0 deletions product_configurator/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
====================
Product Configurator
====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:7691ec12c35e59879ff69ce144846ea5961dc948da1a4696a1a2703aba38f428
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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--configurator-lightgray.png?logo=github
:target: https://github.com/OCA/product-configurator/tree/18.0/product_configurator
:alt: OCA/product-configurator
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/product-configurator-18-0/product-configurator-18-0-product_configurator
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/product-configurator&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module has all the mechanics to support product configuration. It
serves as a base dependency for configuration interfaces.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/product-configurator/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/product-configurator/issues/new?body=module:%20product_configurator%0Aversion:%2018.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
-------

* Pledra

Contributors
------------

- `Aion Tech <https://aiontech.company/>`__:

- Simone Rubino <[email protected]>

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-PCatinean| image:: https://github.com/PCatinean.png?size=40px
:target: https://github.com/PCatinean
:alt: PCatinean

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-PCatinean|

This module is part of the `OCA/product-configurator <https://github.com/OCA/product-configurator/tree/18.0/product_configurator>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions product_configurator/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from . import models
from . import wizard

from .init_hook import post_init_hook
53 changes: 53 additions & 0 deletions product_configurator/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"name": "Product Configurator",
"version": "18.0.1.0.0",
"category": "Generic Modules/Base",
"summary": "Base for product configuration interface modules",
"author": "Pledra, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/product-configurator",
"external_dependencies": {
"python": [
"mako",
]
},
"depends": ["account"],
"data": [
"security/configurator_security.xml",
"security/ir.model.access.csv",
"views/res_config_settings_view.xml",
"data/menu_configurable_product.xml",
"data/product_attribute.xml",
"data/ir_sequence_data.xml",
"data/ir_config_parameter_data.xml",
"views/product_view.xml",
"views/product_attribute_view.xml",
"views/product_config_view.xml",
"wizard/product_configurator_view.xml",
],
"assets": {
"web.assets_backend": [
"/product_configurator/static/src/scss/form_widget.scss",
"/product_configurator/static/src/js/form_widgets.esm.js",
"/product_configurator/static/src/js/boolean_button_widget.esm.js",
"/product_configurator/static/src/js/boolean_button_widget.xml",
"/product_configurator/static/src/js/kanban_widgets.esm.js",
"/product_configurator/static/src/js/list_widgest.esm.js",
]
},
"demo": [
"demo/product_template.xml",
"demo/product_attribute.xml",
"demo/product_config_domain.xml",
"demo/product_config_lines.xml",
"demo/product_config_step.xml",
"demo/config_image_ids.xml",
],
"images": ["static/description/cover.png"],
"post_init_hook": "post_init_hook",
"development_status": "Beta",
"maintainers": ["PCatinean"],
"installable": True,
"application": True,
"auto_install": False,
}
9 changes: 9 additions & 0 deletions product_configurator/data/ir_config_parameter_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="manager_product_configuration_settings" model="ir.config_parameter">
<field
name="key"
>product_configurator.manager_product_configuration_settings</field>
<field name="value">True</field>
</record>
</odoo>
9 changes: 9 additions & 0 deletions product_configurator/data/ir_sequence_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="seq_config_session" model="ir.sequence">
<field name="name">Configuration Session</field>
<field name="code">product.config.session</field>
<field name="prefix">CS</field>
<field name="padding">4</field>
</record>
</odoo>
131 changes: 131 additions & 0 deletions product_configurator/data/menu_configurable_product.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<menuitem
id="menu_product_configurable"
name="Configurator"
web_icon="product_configurator,static/description/icon.png"
sequence="20"
groups="product_configurator.group_product_configurator_manager"
/>
<menuitem
id="menu_product_configurable_product_main"
name="Configurable Products"
parent="menu_product_configurable"
sequence="10"
/>
<menuitem
id="menu_product_configurable_settings"
name="Configuration"
parent="menu_product_configurable"
sequence="20"
/>

<record id="product_configurable_template_action" model="ir.actions.act_window">
<field name="name">Configurable Templates</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.template</field>
<field name="view_mode">kanban,list,form</field>
<field name="view_id" ref="product.product_template_kanban_view" />
<field
name="context"
>{'default_config_ok': True, 'custom_create_variant': True, 'search_default_filter_config_ok': 1}</field>
</record>

<menuitem
action="product_configurable_template_action"
id="menu_product_configurable_template_action"
parent="menu_product_configurable_product_main"
sequence="20"
/>

<record id="product_configurable_variant_action" model="ir.actions.act_window">
<field name="name">Configured Variants</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.product</field>
<field name="view_mode">kanban,form,list</field>
<field name="search_view_id" ref="product.product_search_form_view" />
<field name="view_id" eval="False" />
<!-- Force empty -->
<field
name="context"
>{'default_config_ok': True, 'custom_create_variant': True, 'search_default_filter_config_ok': 1}</field>
</record>

<menuitem
id="menu_product_configurable_variants_action"
action="product_configurable_variant_action"
name="Configurable Variants"
parent="menu_product_configurable_product_main"
sequence="25"
/>

<record
id="action_product_configurator_configuration"
model="ir.actions.act_window"
>
<field name="name">Settings</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
<field
name="view_id"
ref="product_configurator.configurator_settings_view_form"
/>
<field name="context">{'module' : 'product_configurator'}</field>
</record>

<menuitem
id="menu_action_product_configurator_configuration"
action="action_product_configurator_configuration"
name="Settings"
active="False"
parent="menu_product_configurable_settings"
sequence="0"
/>

<record id="product_config_steps_action" model="ir.actions.act_window">
<field name="name">Configuration Steps</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.config.step</field>
<field name="view_mode">list,form</field>
</record>

<menuitem
id="menu_product_config_steps_action"
action="product_config_steps_action"
name="Configuration Steps"
parent="menu_product_configurable_settings"
sequence="30"
/>

<record id="product_config_domain_action" model="ir.actions.act_window">
<field name="name">Configuration Restrictions</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.config.domain</field>
<field name="view_mode">list,form</field>
</record>

<menuitem
id="menu_product_config_domain_action"
action="product_config_domain_action"
name="Configuration Restrictions"
parent="menu_product_configurable_settings"
sequence="40"
/>

<record id="product_config_session" model="ir.actions.act_window">
<field name="name">Configuration Sessions</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.config.session</field>
<field name="view_mode">list,form</field>
</record>

<menuitem
id="menu_product_config_session"
action="product_config_session"
name="Configuration Sessions"
parent="menu_product_configurable_settings"
sequence="50"
/>
</odoo>
13 changes: 13 additions & 0 deletions product_configurator/data/product_attribute.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="custom_attribute" model="product.attribute">
<field name="name">Custom</field>
<field name="active" eval="False" />
</record>

<record id="custom_attribute_value" model="product.attribute.value">
<field name="name">Custom</field>
<field name="attribute_id" ref="custom_attribute" />
<field name="active" eval="True" />
</record>
</odoo>
Loading