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

[16.0][MIG] product_configurator: Migration to 16.0 #96

Closed
wants to merge 483 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
483 commits
Select commit Hold shift + click to select a range
47e648c
[IMP]add image for configured product using url and remove code for r…
bizzappdev May 24, 2019
9f2179d
[ADD][#T00494]product_configurator:write onchange method for attributes
May 24, 2019
f689cd1
[ADD][#T00494]website_product_configurator:solved flake8 and pylintsc
May 27, 2019
f6300b7
[FIX]product_configurator : remove None from value_ids
bizzappdev May 27, 2019
da6e9d9
[ADD][#T00494]website_product_configurator:solved flake8 and pylints
May 27, 2019
21e0920
[FIX]fix flake8 error
bizzappdev May 27, 2019
d02dc99
[FIX]fix pylint error
bizzappdev May 27, 2019
86ae138
[FIX] fix pylint
bizzappdev May 28, 2019
449fb6f
[FIX]product_configurator: fix - no step will open if session-config_…
bizzappdev May 6, 2019
b07daea
[FIX]use list comprehansion instead of map()
bizzappdev May 16, 2019
60c601c
Small cosmetic improvement
PCatinean May 28, 2019
edd67df
[FIX] use UserError instead of Warning
bizzappdev May 28, 2019
676f2fb
[FIX]fix flake8 and py-lint errors
bizzappdev May 29, 2019
25edcf5
[IMP][#T00513]product_configurator:create test cases for onchange_cus…
May 29, 2019
b477c4c
[IMP][#T00513]product_configurator:change variable name
May 30, 2019
50b5091
[WIP][#T00513]product_configurator: write test case for product attri…
May 30, 2019
69db1b3
[FIX]fix changes request during review
bizzappdev May 31, 2019
7cad20f
[FIX]remove parameter limit from search_session and use cfg_session_id
bizzappdev Jun 1, 2019
d5afb56
[IMP][T-00511] website configuration image
Jun 1, 2019
0f2e93e
[T-00513][ADD] product_Configurator_image_builder: write test-case
bizzappdev Jun 3, 2019
46be666
[FIX]check values only if both exists
bizzappdev Jun 3, 2019
ec426e0
[FIX]fix attribute_value_line_ids in _prepare_configurator_values and…
bizzappdev Jun 3, 2019
e53dd8b
[WIP][#T00513]product_configurator: improve the code for check weight…
Jun 3, 2019
1c23a79
[T-00513][ADD] product_configurator_image_builder: add some changes f…
bizzappdev Jun 3, 2019
ca58c90
[WIP][#T00513]product_configurator: improve the code for check weight…
Jun 3, 2019
23ff0fa
[FIX]add domain in record rules
bizzappdev Jun 4, 2019
2131f8a
[WIP][#T00513]product_configurator:write test case for product_config…
Jun 4, 2019
2874bc7
[FIX]fix record rules
bizzappdev Jun 5, 2019
62588df
[FIX]change module name to base from product_configurator
bizzappdev Jun 5, 2019
24e0b15
[FIX]remove extra parentheses
bizzappdev Jun 5, 2019
fb5adad
[FIX]change xml-id of record rule
bizzappdev Jun 5, 2019
f73bec9
[IMP][#T00494] product_configurator : add domain on value_id and valu…
Jun 5, 2019
45aa172
[FIX]add group on toggle button for configuration
bizzappdev Jun 5, 2019
6794862
[FIX]add group manager on attr config setings and weight extra
bizzappdev Jun 5, 2019
b53b157
[FIX]add group config manager on varuant price button
bizzappdev Jun 5, 2019
6af76ba
[FIX]add group config manager on product attr custom val
bizzappdev Jun 5, 2019
87030cb
[FIX]remove extra space
bizzappdev Jun 5, 2019
e6591ba
[FIX]add group config manager on weight extra on product
bizzappdev Jun 6, 2019
9034597
[IMP][T-00513]fix conflict
Jun 6, 2019
549160f
[ADD][T00513]product_configurator : create demo data
Jun 6, 2019
aac98c8
[IMP][#T00494] product_configurator,product_configurator_image_builde…
Jun 6, 2019
3ecfeda
[ADD][#IMP]product_configurator:improve the code and write test case …
Jun 6, 2019
dcdf48f
[IMP][#T00494] product_configurator : solve flak8 in product_attribut…
Jun 6, 2019
26a768e
[IMP][#T00494] product_configurator : add depends on _compute_cfg_pri…
Jun 6, 2019
ea5ecd1
[IMP][#T00494] product_configurator : remove print statements.
Jun 6, 2019
b856d58
[FIX]use UserError instead of warning, raise error if no value is sel…
bizzappdev Jun 6, 2019
c6eff1a
[ADD][#T00513] product_configurator_sale, product_configurator, produ…
Jun 7, 2019
bcb20d3
[FIX]add value_ids in depends
bizzappdev Jun 7, 2019
28145dd
[ADD][#T00513]product_configurator:create test case for product_confi…
Jun 8, 2019
257be77
[WIP][#T00513] write test-case for product template
bizzappdev Jun 8, 2019
ba6e3f3
[IMP]price and weight on website
bizzappdev Jun 10, 2019
4625efa
[IMP][#T00513] product_configurator: write test-case for product_temp…
bizzappdev Jun 11, 2019
2a6950a
[IMP][#T00513]product_configurator: create test case for _get_custom_…
Jun 12, 2019
81d159e
[IMP][#T00513]product_configurator:create test case for _check_value_…
Jun 13, 2019
8ab9c9b
[FIX]fix record rules
bizzappdev Jun 13, 2019
f4f227c
[FIX]set value_ids only if value_ids is None
bizzappdev Jun 13, 2019
e161c47
[IMP][#T00513]product_configurator: create test case for _compute_pro…
Jun 13, 2019
631154a
[IMP][#T00513]product_configurator: remove comment statement
Jun 13, 2019
63fadbe
[FIX]uncommit button config_ok
bizzappdev Jun 13, 2019
bac4e57
[IMP][#T00513]product_configurator: create test case for unique_attri…
Jun 13, 2019
e1cbfd6
[ADD][t00513]product_configurator,product_configurator_stock: write t…
Jun 14, 2019
3988d26
[T-00513][IMP] product_configurator: For test-case add changes in pro…
bizzappdev Jun 14, 2019
82955f0
[ADD][#T00513]product_configurator:solved conflict
Jun 14, 2019
8321f22
[FIX]move .get_custom_value_id to config session
bizzappdev Jun 14, 2019
d44fe85
[T-00513][IMP] add new changes
bizzappdev Jun 14, 2019
0d74d18
[FIX]fix flake8 and pylint errors
bizzappdev Jun 15, 2019
3e83d19
[ADD][#T00513]product_configurator: create test case for unique_attri…
Jun 15, 2019
58b566d
[FIX]call get_custom_value using config_session
bizzappdev Jun 17, 2019
3a608d9
[FIX]fix flake8
bizzappdev Jun 17, 2019
37353d1
[FIX]change realtion and columns name in value_ids
bizzappdev Jun 19, 2019
8189e3d
[FIX][T-00513] product_configurator: add new changes and fix some issue
bizzappdev Jun 19, 2019
f9aaaa2
[IMP][T-00513] product_configurator: solve flake8
bizzappdev Jun 19, 2019
698c2de
[FIX]add domain website_published = true in record rules by inheritin…
bizzappdev Jun 19, 2019
6901681
[WIP]initial working wizard for the v12 migration
bizzappdev Jun 19, 2019
b9cc03d
[FIX]remove noupdate=1 from security file of product_configurator
bizzappdev Jun 19, 2019
9de69ac
[IMP]make image click work for radio and check box
bizzappdev Jun 19, 2019
3b2919c
[FIX]take value_ids from session if value_ids is not list
bizzappdev Jun 21, 2019
f1a06db
[FIX]if default not exist then set it to {}
bizzappdev Jun 24, 2019
0e4b33d
[FIX]return new_attrs outside for loop
bizzappdev Jun 24, 2019
848adb7
[IMP][T-00513] product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
14ee138
[FIX]add copy False in product_ids and attribute_line_ids
bizzappdev Jun 24, 2019
c630050
[IMP][T-00513] product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
01699e8
[FIX][00513]product_configurator : chnages in test case
Jun 24, 2019
b2b90cb
[IMP]add description and copy false in attr line_ids and product_ids
bizzappdev Jun 24, 2019
a837c28
[FIX]add price_extra
bizzappdev Jun 24, 2019
b8f599f
[FIX]fix wizard view
bizzappdev Jun 24, 2019
97ea38a
[IMP][T-00513] product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
b69b0f0
[FIX]fix flake8 error
bizzappdev Jun 25, 2019
24886cd
[IMP][T-00513] product_configurator: add chages in test_wizard
bizzappdev Jun 25, 2019
fffcc41
[FIX]fix access rules and record rules
bizzappdev Jun 25, 2019
2fce0d7
[FIX]use value_ids is None instead not value_ids and not isinstance(v…
bizzappdev Jun 25, 2019
4ab70bc
[IMP][T-00513] product_configurator: add chages for test-case
bizzappdev Jun 25, 2019
8f5204c
[FIX]change model in record rules
bizzappdev Jun 25, 2019
d313681
[FIX]fix price extra functionality
bizzappdev Jun 25, 2019
13dd3b0
[FIX]fixes from 11.0
bizzappdev Jun 26, 2019
bc6c21a
[FIX][T-00517]fix :: When we create the standard product then it give…
bizzappdev Jun 26, 2019
75e5be8
[FIX]add for loop in compute and constrains method to avoid singleton…
bizzappdev Jun 26, 2019
dc9b3ef
[FIX][T-00517]fix default filter,add desciption, allow to keep value_…
bizzappdev Jun 26, 2019
d96395d
[FIX]delete recor rules
bizzappdev Jun 26, 2019
89573db
[FIX]add check in create write and unlink
bizzappdev Jun 26, 2019
dbfab44
[FIX]move image to last field in tree view
bizzappdev Jun 27, 2019
7d9ca11
[FIX][T-00513] product_configurator: fix test-case issue in product_c…
bizzappdev Jun 27, 2019
1e5a043
[IMP][T-00513] product_configurator: init uncomment code
bizzappdev Jun 27, 2019
4e40407
[FIX]filter configuratble product and loop out then instead checking …
bizzappdev Jun 27, 2019
b05e07c
[FIX] use condition change_config_ok or self.config_ok
bizzappdev Jun 27, 2019
a491245
[FIX]remove onchange and add readonly in config_ok on sol/pol/ml
bizzappdev Jun 27, 2019
9357ac0
[FIX]remove loop from unlink
bizzappdev Jun 27, 2019
0540cd1
[FIX]set config_ok=true default in method
bizzappdev Jun 28, 2019
34d3428
[FIX]fix flake8
bizzappdev Jun 28, 2019
3f1fe88
[WIP][00513]product_configurator : write testcase
Jun 28, 2019
6eb4c32
[FIX]move config_ok at top of method
bizzappdev Jun 28, 2019
0ed9838
[FIX]change group manager
bizzappdev Jun 29, 2019
41e1df2
[FIX]if check_value_ids is none only then set it to self.value_ids
bizzappdev Jun 29, 2019
0abfeee
[FIX]remove config_ok from method check_config_user_access
bizzappdev Jun 29, 2019
100ceaf
[FIX][T-00513] fix issue test-case issue in product_configurator_sale…
bizzappdev Jun 29, 2019
ec808dd
[FIX] fix ex. name
bizzappdev Jul 10, 2019
c9d4f9d
[FIX] product_configurator: fix validation issue in product configurator
bizzappdev Jul 13, 2019
a297cb7
[WIP][00517] website_product_configurator: create changes in website …
bizzappdev Jul 13, 2019
54bda54
[FIX]fixes from 11.0
bizzappdev Jul 15, 2019
985a3d4
[FIX]fix security file
bizzappdev Jul 15, 2019
39d62d0
[FIX]add if value_ids is None instead if not value_ids, fix parameter…
bizzappdev Jul 16, 2019
8a95e75
[FIX]fix argument name
bizzappdev Jul 16, 2019
797616c
[IMP][T00517] product_configurator : add attribute on button and solv…
Jul 17, 2019
6fc315b
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
adb5a13
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
e705c40
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
72f1574
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
b7b6fd2
[FIX]add group manager in weight_extra
bizzappdev Jul 17, 2019
54310d4
[FIX][T-00517]website_product_configurator: fix flake8
bizzappdev Jul 19, 2019
b42c162
[FIX]fix flake8
bizzappdev Jul 23, 2019
7f2d330
[ADD][00517]product_configurator : migration testcase for product_con…
Jul 23, 2019
bd3c8d8
[FIX][00517] product_configurator,product_configurator_mrp : solve th…
Jul 24, 2019
440fbbc
[FIX]change version in manifest file
bizzappdev Jul 26, 2019
67c4a34
[WIP][00517]product_configurator : migration test-case for v11 to v12
Jul 30, 2019
4e60c11
[ADD][FIX][00517]product_configurator : craete test-case for onchang…
Jul 30, 2019
35a337d
[FIX][00517]product_configurator : onchange method call in test-case…
Jul 31, 2019
e039c9d
[FIX][00517]product_configurator : solve the flak8
Jul 31, 2019
1c6ed48
[FIX] product_configurator: Add admin to Manager group
max3903 Aug 5, 2019
c79c455
[FIX] product_configurator: Reorder and rename the menu to match Odoo
max3903 Aug 5, 2019
d057685
[FIX]add group confg manager to user root and admin
bizzappdev Aug 19, 2019
c8ac993
[FIX]website_product_configurator,product_configurator : change for d…
Sep 7, 2019
490b97e
[WIP] product_configurator: add change for fix price extra issue
bizzappdev Sep 22, 2019
9eee75c
[FIX][T-00517]fix domain calculation don't consider invalidated value…
bizzappdev Sep 28, 2019
d3bb10c
[FIX][T-00517]fix price precision on backend wizard
bizzappdev Sep 28, 2019
1c89472
[FIX]display currency in backend wizard
bizzappdev Sep 28, 2019
f319b8e
Adding created/found variant on configuration session when the sessio…
PCatinean Sep 29, 2019
8ae79ce
Added product_id field to config.session views
PCatinean Sep 29, 2019
a29fab2
[FIX]add ondelete='cascade' instead of ondelete='restrict' in product…
bizzappdev Sep 30, 2019
1636475
[FIX]remove action_confirm from create_get_variant and call it from c…
bizzappdev Sep 30, 2019
9b3abc4
[FIX]remove extra call for .create_get_variant
bizzappdev Sep 30, 2019
4694c5d
[FIX][T2998]fix write method
bizzappdev Oct 7, 2019
4b2f234
[FIX]product_configurator : chnage in product_configurator and set de…
Oct 10, 2019
a2ceb79
[FIX]product_configurator,website_product_configurator : chnages acco…
Oct 10, 2019
0c3c443
[IMP][T-00560] product_Configurator: for the restricted value check a…
bizzappdev Oct 14, 2019
855b099
[IMP][T-00560] product_configurator: fix issue of change state config…
bizzappdev Oct 15, 2019
a053591
[IMP][T-00560] product_configurator: make change for custom value
bizzappdev Oct 23, 2019
37a8bbc
[IMP][T-00560] product_configurator: make readonly attribute if custo…
bizzappdev Oct 23, 2019
681acad
[IMP][T-00560] product_configurator: solve flake8
bizzappdev Oct 25, 2019
bfd33ea
[FIX]product_configurator : add new test case for get_onchange_domain…
Nov 1, 2019
2f71a90
[FIX]fix price precision on backend wizard
bizzappdev Nov 6, 2019
abbc879
[WIP][T-00616] Product_configurator: show price_extra in attribute va…
bizzappdev Nov 21, 2019
52c8a83
[IMP][T-00616] Product_configurator: price extra changes
bizzappdev Nov 25, 2019
7436ae3
[FIX][T-00616]fix test case and code optimization
bizzappdev Nov 26, 2019
df5b2c8
[FIX][T-00547]move code from onchage to new method apply_onchage_values
bizzappdev Dec 2, 2019
3f83505
[FIX][T-00616]find price from related product, and then loop out over…
bizzappdev Dec 2, 2019
44719c5
[IMP][T-00622]add name in separator for Configuration Images and Conf…
bizzappdev Dec 12, 2019
d0cdb1c
[FIX][T-00631]call onchange for custom values too
bizzappdev Dec 17, 2019
7d5556f
[IMP]Add installable False to module from version 12
bizzappdev Dec 26, 2019
4beec66
[MIG]migrate product configurator base to 13.0 from 12.0
bizzappdev Dec 31, 2019
9f434f0
[IMP][T3186]add domain in restriction
bizzappdev Dec 31, 2019
6d047a2
Revert "[IMP][T3186]add domain in restriction"
bizzappdev Dec 31, 2019
fa05e79
[IMP][T3186]add domain in restriction
bizzappdev Dec 31, 2019
d3b4a58
[FIX][T3186]fix variant prices domain
bizzappdev Dec 31, 2019
100c106
[FIX][T3186]fix variant prices domain
bizzappdev Dec 31, 2019
95c0714
[FIX][T3186]fix product_preset_id in onchane
bizzappdev Dec 31, 2019
e81b944
[FIX][T3186]send template in context on reset
bizzappdev Dec 31, 2019
f259730
[FIX][T3186]change int to integer (custom type)
bizzappdev Dec 31, 2019
8b37e3d
[FIX][T3186]fix reset button functionality
bizzappdev Jan 1, 2020
efd49fd
[FIX][T3186]hide create button from variants
bizzappdev Jan 1, 2020
6b63f15
[FIX][T3186]prevent to save wrong custom value when no step exist
bizzappdev Jan 1, 2020
3f37612
[FIX][T3186]prevent warning for int/float value validation on reset
bizzappdev Jan 1, 2020
6fabeec
[FIX][T3186] fix js error due to undefined element
bizzappdev Jan 1, 2020
01f2c46
[FIX][T3186] open config attribute view from product_configurator or …
bizzappdev Jan 2, 2020
d6491ca
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
ddaf9be
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
2c96d61
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
78c44b4
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
18a2cee
[WIP][3186]add views in wizard action
bizzappdev Jan 3, 2020
badd4f4
[IMP][T3186]add helper methods to call onchage
bizzappdev Jan 4, 2020
0b11143
[IMP][T3186]remove custom values on variant
bizzappdev Jan 4, 2020
d01605a
[IMP][T3186]remove search on custom values in get_variant_search_domain
bizzappdev Jan 4, 2020
acfc4c1
[FIX][3186]add name in session custom values
bizzappdev Jan 6, 2020
5590359
[FIX][T3199]add active false in custom attribute values
bizzappdev Jan 6, 2020
ae8153d
[FIX]fix flake8
bizzappdev Jan 28, 2020
1794e4c
[FIX]remove print
bizzappdev Jan 28, 2020
e217c16
[FIX][T3186]fix duplicate copy of attribute-lines and custom values w…
bizzappdev Feb 10, 2020
5a7d72c
[MIG]migrate website_product_configurator to v13
bizzappdev Feb 12, 2020
1a567b4
[FIX]add res config settings view
bizzappdev Feb 19, 2020
f60f23f
[FIX]remove extra context from res config settings view
bizzappdev Feb 19, 2020
7dbaf20
[FIX]fix configurator setting menu
bizzappdev Feb 19, 2020
0f646d5
[FIX]update po file
bizzappdev Feb 19, 2020
c454e58
[FIX][T3200]fix price in cart lines
bizzappdev Feb 24, 2020
6124506
[FIX][T3200]fix product session in context
bizzappdev Feb 27, 2020
fcc3c5d
[FIX]fix flake8 error
bizzappdev Mar 2, 2020
2575d23
[FIX]fix signletom error
bizzappdev Sep 10, 2020
401b303
Fix flake8 error
PCatinean Oct 17, 2020
c0db33e
[13.0][FIX]wrong view inherit (#183)
luc-demeyer Jan 8, 2021
93f3451
FIX user access if sudo() mode (#180)
Jan 11, 2021
6cbafad
[13.0][FIX] Error on smart button with context (#184)
Jan 11, 2021
8db8308
[IMP] product_configurator: black, isort, prettier
dreispt Mar 19, 2021
f38680c
[MIG] product_configurator: Migration to 14.0
dreispt Mar 19, 2021
10187d3
[IMP] Improved the code and made the module as installable.
Chandresh-SerpentCS Mar 31, 2021
644abe6
[FIX] product_configurator: wizard form would not open
dreispt Mar 31, 2021
53912a7
[FIX] Fixed pre-commit, improved the methods.
Chandresh-OSI Apr 16, 2021
e47f654
[FIX] product_configurator: attribute required error when opening con…
dreispt Apr 20, 2021
d90e867
[FIX] product_configurator: fix installation log warnings
dreispt Apr 20, 2021
16b4ea9
[FIX] product_configurator: readme, precommit, beta maturity
dreispt Apr 27, 2021
f2e931d
[UPD] Update product_configurator.pot
oca-travis Apr 27, 2021
9c22063
[UPD] README.rst
OCA-git-bot Apr 27, 2021
db6d9a6
[FIX] product_configurator: remove old readme file
dreispt Apr 27, 2021
3dd5796
product_configurator 14.0.1.0.1
OCA-git-bot May 3, 2021
06204e3
[MIG] Migrated product_configurator base to V14
PCatinean May 7, 2021
9ee0075
[MIG] rebase product configurator module.
pledrateam May 13, 2021
8ff648e
[MIG] rebase product configurator module for translation file.
pledrateam May 13, 2021
038aa5d
[UPD] Update product_configurator.pot
oca-travis May 13, 2021
9efba42
[UPD] README.rst
OCA-git-bot May 13, 2021
9f43318
product_configurator 14.0.1.1.0
OCA-git-bot May 13, 2021
827bf56
[FIX]remove stock from depends
pledrateam May 17, 2021
c4a844e
[FIX]product_configurator: stock depending view move to stock module
pledrateam May 18, 2021
aa77be9
product_configurator 14.0.1.2.0
OCA-git-bot May 19, 2021
f28c6be
FIX form_widget.js because it conflicted with the evaluation of the c…
May 23, 2021
5d1ea37
[FIX] product_configurator: missing variable initialization in produc…
May 23, 2021
5198882
product_configurator 14.0.1.2.1
OCA-git-bot May 24, 2021
d320522
Modifi Fotmat code
May 24, 2021
2cc6a97
Modify format by pre-commite
May 24, 2021
3059431
product_configurator 14.0.1.2.2
OCA-git-bot May 25, 2021
b846b94
Add pcatinean as maintainer for all modules
PCatinean Jun 15, 2021
fcfa611
[UPD] README.rst
OCA-git-bot Jun 22, 2021
22c51b2
[WIP][T-01839]product_configurator: remove price calculation from ses…
pledrateam Oct 25, 2021
b226674
[REF] *: fix PCatinean maintainer
dreispt Dec 10, 2021
26cc42b
[UPD] README.rst
OCA-git-bot Dec 10, 2021
81b000a
product_configurator 14.0.1.2.3
OCA-git-bot Dec 10, 2021
cd992bd
[FIX] product_configurator: ordinary users don't have access to `act_…
DonatasV Mar 10, 2022
41d950a
product_configurator 14.0.1.2.4
OCA-git-bot Mar 22, 2022
04ef7ec
[IMP] Change from Transient to regular Model
patrickrwilson Apr 26, 2022
9c87728
product_configurator 14.0.1.2.5
OCA-git-bot Jul 4, 2022
bec93fd
[FIX] product_configurator
csil300 Aug 26, 2022
5ef6243
product_configurator 14.0.1.2.6
OCA-git-bot Sep 27, 2022
eecec3a
[IMP] product_configurator: pre-commit stuff
dannyadair Jun 11, 2023
028f171
[MIG] product_configurator: Migration to 16.0
dannyadair Nov 22, 2023
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.
74 changes: 74 additions & 0 deletions product_configurator/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
====================
Product Configurator
====================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/14.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-14-0/product-configurator-14-0-product_configurator
:alt: Translate me on Weblate

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

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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/product-configurator/issues/new?body=module:%20product_configurator%0Aversion:%2014.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

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/14.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": "16.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.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/relational_fields.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",
"qweb": ["static/xml/create_button.xml"],
"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>
132 changes: 132 additions & 0 deletions product_configurator/data/menu_configurable_product.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
<?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,tree,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,tree</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">tree,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">tree,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">tree,form</field>
</record>

<menuitem
id="menu_product_config_session"
action="product_config_session"
name="Configuration Sessions"
parent="menu_product_configurable_settings"
sequence="50"
/>

</odoo>
15 changes: 15 additions & 0 deletions product_configurator/data/product_attribute.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?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
Loading