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

[17.0] product_configurator: port as is from v16 not installable #134

Merged
merged 519 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
519 commits
Select commit Hold shift + click to select a range
be98455
[FIX]remove extra space
bizzappdev Jun 5, 2019
6c281b7
[FIX]add group config manager on weight extra on product
bizzappdev Jun 6, 2019
4338880
[IMP][T-00513]fix conflict
Jun 6, 2019
79f981a
[ADD][T00513]product_configurator : create demo data
Jun 6, 2019
8d2641c
[IMP][#T00494] product_configurator,product_configurator_image_builde…
Jun 6, 2019
c07b42e
[ADD][#IMP]product_configurator:improve the code and write test case …
Jun 6, 2019
142ce14
[IMP][#T00494] product_configurator : solve flak8 in product_attribut…
Jun 6, 2019
dd672e6
[IMP][#T00494] product_configurator : add depends on _compute_cfg_pri…
Jun 6, 2019
92ced58
[IMP][#T00494] product_configurator : remove print statements.
Jun 6, 2019
3642e25
[FIX]use UserError instead of warning, raise error if no value is sel…
bizzappdev Jun 6, 2019
b004d43
[ADD][#T00513] product_configurator_sale, product_configurator, produ…
Jun 7, 2019
3a3a167
[FIX]add value_ids in depends
bizzappdev Jun 7, 2019
15fce34
[ADD][#T00513]product_configurator:create test case for product_confi…
Jun 8, 2019
e8fa97e
[WIP][#T00513] write test-case for product template
bizzappdev Jun 8, 2019
b6ad0ee
[IMP]price and weight on website
bizzappdev Jun 10, 2019
db3c120
[IMP][#T00513] product_configurator: write test-case for product_temp…
bizzappdev Jun 11, 2019
658663d
[IMP][#T00513]product_configurator: create test case for _get_custom_…
Jun 12, 2019
d1aca06
[IMP][#T00513]product_configurator:create test case for _check_value_…
Jun 13, 2019
b9b26f0
[FIX]fix record rules
bizzappdev Jun 13, 2019
47367ba
[FIX]set value_ids only if value_ids is None
bizzappdev Jun 13, 2019
0b27bb0
[IMP][#T00513]product_configurator: create test case for _compute_pro…
Jun 13, 2019
b1e3269
[IMP][#T00513]product_configurator: remove comment statement
Jun 13, 2019
3e67e54
[FIX]uncommit button config_ok
bizzappdev Jun 13, 2019
37b21b4
[IMP][#T00513]product_configurator: create test case for unique_attri…
Jun 13, 2019
eeba448
[ADD][t00513]product_configurator,product_configurator_stock: write t…
Jun 14, 2019
a44ca38
[T-00513][IMP] product_configurator: For test-case add changes in pro…
bizzappdev Jun 14, 2019
4b9c2b2
[ADD][#T00513]product_configurator:solved conflict
Jun 14, 2019
81f7840
[FIX]move .get_custom_value_id to config session
bizzappdev Jun 14, 2019
98b00d5
[T-00513][IMP] add new changes
bizzappdev Jun 14, 2019
e25fff1
[FIX]fix flake8 and pylint errors
bizzappdev Jun 15, 2019
de8468e
[ADD][#T00513]product_configurator: create test case for unique_attri…
Jun 15, 2019
ac217f7
[FIX]call get_custom_value using config_session
bizzappdev Jun 17, 2019
da1e3e5
[FIX]fix flake8
bizzappdev Jun 17, 2019
4a18a8b
[FIX]change realtion and columns name in value_ids
bizzappdev Jun 19, 2019
bada356
[FIX][T-00513] product_configurator: add new changes and fix some issue
bizzappdev Jun 19, 2019
0f0c05b
[IMP][T-00513] product_configurator: solve flake8
bizzappdev Jun 19, 2019
dbb252f
[FIX]add domain website_published = true in record rules by inheritin…
bizzappdev Jun 19, 2019
7fb27eb
[WIP]initial working wizard for the v12 migration
bizzappdev Jun 19, 2019
0d0678f
[FIX]remove noupdate=1 from security file of product_configurator
bizzappdev Jun 19, 2019
14727f6
[IMP]make image click work for radio and check box
bizzappdev Jun 19, 2019
c792d8d
[FIX]take value_ids from session if value_ids is not list
bizzappdev Jun 21, 2019
bc2fe88
[FIX]if default not exist then set it to {}
bizzappdev Jun 24, 2019
d2e6179
[FIX]return new_attrs outside for loop
bizzappdev Jun 24, 2019
f88e94a
[IMP][T-00513] product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
ca87dad
[FIX]add copy False in product_ids and attribute_line_ids
bizzappdev Jun 24, 2019
de40fb9
[IMP][T-00513] product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
bf8284d
[FIX][00513]product_configurator : chnages in test case
Jun 24, 2019
990eb15
[IMP]add description and copy false in attr line_ids and product_ids
bizzappdev Jun 24, 2019
79393e1
[FIX]add price_extra
bizzappdev Jun 24, 2019
5852776
[FIX]fix wizard view
bizzappdev Jun 24, 2019
7fb4b3b
[IMP][T-00513] product_configurator: add changes for test-case
bizzappdev Jun 24, 2019
cb73c3c
[FIX]fix flake8 error
bizzappdev Jun 25, 2019
878b697
[IMP][T-00513] product_configurator: add chages in test_wizard
bizzappdev Jun 25, 2019
3d77cdd
[FIX]fix access rules and record rules
bizzappdev Jun 25, 2019
083092a
[FIX]use value_ids is None instead not value_ids and not isinstance(v…
bizzappdev Jun 25, 2019
ddf14cf
[IMP][T-00513] product_configurator: add chages for test-case
bizzappdev Jun 25, 2019
012a43b
[FIX]change model in record rules
bizzappdev Jun 25, 2019
b227d21
[FIX]fix price extra functionality
bizzappdev Jun 25, 2019
48d0756
[FIX]fixes from 11.0
bizzappdev Jun 26, 2019
102ea5d
[FIX][T-00517]fix :: When we create the standard product then it give…
bizzappdev Jun 26, 2019
0dd3ad1
[FIX]add for loop in compute and constrains method to avoid singleton…
bizzappdev Jun 26, 2019
0d8caeb
[FIX][T-00517]fix default filter,add desciption, allow to keep value_…
bizzappdev Jun 26, 2019
7935cc0
[FIX]delete recor rules
bizzappdev Jun 26, 2019
74977b4
[FIX]add check in create write and unlink
bizzappdev Jun 26, 2019
f56e99a
[FIX]move image to last field in tree view
bizzappdev Jun 27, 2019
6e1f0c1
[FIX][T-00513] product_configurator: fix test-case issue in product_c…
bizzappdev Jun 27, 2019
0152ca0
[IMP][T-00513] product_configurator: init uncomment code
bizzappdev Jun 27, 2019
f55f0b6
[FIX]filter configuratble product and loop out then instead checking …
bizzappdev Jun 27, 2019
ccc246a
[FIX] use condition change_config_ok or self.config_ok
bizzappdev Jun 27, 2019
f5358fb
[FIX]remove onchange and add readonly in config_ok on sol/pol/ml
bizzappdev Jun 27, 2019
ae84f57
[FIX]remove loop from unlink
bizzappdev Jun 27, 2019
b0034f5
[FIX]set config_ok=true default in method
bizzappdev Jun 28, 2019
578a404
[FIX]fix flake8
bizzappdev Jun 28, 2019
6bca668
[WIP][00513]product_configurator : write testcase
Jun 28, 2019
f3f4766
[FIX]move config_ok at top of method
bizzappdev Jun 28, 2019
74cf655
[FIX]change group manager
bizzappdev Jun 29, 2019
61adb28
[FIX]if check_value_ids is none only then set it to self.value_ids
bizzappdev Jun 29, 2019
bf32099
[FIX]remove config_ok from method check_config_user_access
bizzappdev Jun 29, 2019
2940134
[FIX][T-00513] fix issue test-case issue in product_configurator_sale…
bizzappdev Jun 29, 2019
1089453
[FIX] fix ex. name
bizzappdev Jul 10, 2019
adcf64d
[FIX] product_configurator: fix validation issue in product configurator
bizzappdev Jul 13, 2019
6751eb7
[WIP][00517] website_product_configurator: create changes in website …
bizzappdev Jul 13, 2019
d969ae3
[FIX]fixes from 11.0
bizzappdev Jul 15, 2019
db86705
[FIX]fix security file
bizzappdev Jul 15, 2019
7d5c377
[FIX]add if value_ids is None instead if not value_ids, fix parameter…
bizzappdev Jul 16, 2019
51ebf1b
[FIX]fix argument name
bizzappdev Jul 16, 2019
0b9025b
[IMP][T00517] product_configurator : add attribute on button and solv…
Jul 17, 2019
3d6d2f8
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
234b7ad
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
1ee3c76
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
dc91a36
[IMP][T00517] product_configurator : add attribute on update_quantity…
Jul 17, 2019
22b15f5
[FIX]add group manager in weight_extra
bizzappdev Jul 17, 2019
5a1fc47
[FIX][T-00517]website_product_configurator: fix flake8
bizzappdev Jul 19, 2019
d7bf8b5
[FIX]fix flake8
bizzappdev Jul 23, 2019
fbfca33
[ADD][00517]product_configurator : migration testcase for product_con…
Jul 23, 2019
d72b584
[FIX][00517] product_configurator,product_configurator_mrp : solve th…
Jul 24, 2019
751d7a9
[FIX]change version in manifest file
bizzappdev Jul 26, 2019
f43ff98
[WIP][00517]product_configurator : migration test-case for v11 to v12
Jul 30, 2019
a0a6118
[ADD][FIX][00517]product_configurator : craete test-case for onchang…
Jul 30, 2019
6abd845
[FIX][00517]product_configurator : onchange method call in test-case…
Jul 31, 2019
daac398
[FIX][00517]product_configurator : solve the flak8
Jul 31, 2019
18a861d
[FIX] product_configurator: Add admin to Manager group
max3903 Aug 5, 2019
c80e681
[FIX] product_configurator: Reorder and rename the menu to match Odoo
max3903 Aug 5, 2019
c1ed5fb
[FIX]add group confg manager to user root and admin
bizzappdev Aug 19, 2019
df01a65
[FIX]website_product_configurator,product_configurator : change for d…
Sep 7, 2019
69398c3
[WIP] product_configurator: add change for fix price extra issue
bizzappdev Sep 22, 2019
131f11c
[FIX][T-00517]fix domain calculation don't consider invalidated value…
bizzappdev Sep 28, 2019
27163b6
[FIX][T-00517]fix price precision on backend wizard
bizzappdev Sep 28, 2019
ce6bc35
[FIX]display currency in backend wizard
bizzappdev Sep 28, 2019
5d5a396
Adding created/found variant on configuration session when the sessio…
PCatinean Sep 29, 2019
4bdd4d3
Added product_id field to config.session views
PCatinean Sep 29, 2019
a691909
[FIX]add ondelete='cascade' instead of ondelete='restrict' in product…
bizzappdev Sep 30, 2019
4683853
[FIX]remove action_confirm from create_get_variant and call it from c…
bizzappdev Sep 30, 2019
acc6255
[FIX]remove extra call for .create_get_variant
bizzappdev Sep 30, 2019
c713f77
[FIX][T2998]fix write method
bizzappdev Oct 7, 2019
343f1f9
[FIX]product_configurator : chnage in product_configurator and set de…
Oct 10, 2019
f43742d
[FIX]product_configurator,website_product_configurator : chnages acco…
Oct 10, 2019
8e8ad88
[IMP][T-00560] product_Configurator: for the restricted value check a…
bizzappdev Oct 14, 2019
dd3b070
[IMP][T-00560] product_configurator: fix issue of change state config…
bizzappdev Oct 15, 2019
79ca56d
[IMP][T-00560] product_configurator: make change for custom value
bizzappdev Oct 23, 2019
3c7429b
[IMP][T-00560] product_configurator: make readonly attribute if custo…
bizzappdev Oct 23, 2019
dd54e5a
[IMP][T-00560] product_configurator: solve flake8
bizzappdev Oct 25, 2019
3b915f4
[FIX]product_configurator : add new test case for get_onchange_domain…
Nov 1, 2019
68c5862
[FIX]fix price precision on backend wizard
bizzappdev Nov 6, 2019
b5484fd
[WIP][T-00616] Product_configurator: show price_extra in attribute va…
bizzappdev Nov 21, 2019
dddfa6f
[IMP][T-00616] Product_configurator: price extra changes
bizzappdev Nov 25, 2019
9212d5d
[FIX][T-00616]fix test case and code optimization
bizzappdev Nov 26, 2019
ac8f754
[FIX][T-00547]move code from onchage to new method apply_onchage_values
bizzappdev Dec 2, 2019
e76f28f
[FIX][T-00616]find price from related product, and then loop out over…
bizzappdev Dec 2, 2019
488858b
[IMP][T-00622]add name in separator for Configuration Images and Conf…
bizzappdev Dec 12, 2019
e6bc4a4
[FIX][T-00631]call onchange for custom values too
bizzappdev Dec 17, 2019
62de421
[IMP]Add installable False to module from version 12
bizzappdev Dec 26, 2019
0f2d399
[MIG]migrate product configurator base to 13.0 from 12.0
bizzappdev Dec 31, 2019
fc7d718
[IMP][T3186]add domain in restriction
bizzappdev Dec 31, 2019
c7cb5bf
Revert "[IMP][T3186]add domain in restriction"
bizzappdev Dec 31, 2019
70cda5e
[IMP][T3186]add domain in restriction
bizzappdev Dec 31, 2019
25774de
[FIX][T3186]fix variant prices domain
bizzappdev Dec 31, 2019
82e02d1
[FIX][T3186]fix variant prices domain
bizzappdev Dec 31, 2019
6be1a96
[FIX][T3186]fix product_preset_id in onchane
bizzappdev Dec 31, 2019
c30a9c7
[FIX][T3186]send template in context on reset
bizzappdev Dec 31, 2019
0c402ab
[FIX][T3186]change int to integer (custom type)
bizzappdev Dec 31, 2019
4c80a13
[FIX][T3186]fix reset button functionality
bizzappdev Jan 1, 2020
c8fb2e8
[FIX][T3186]hide create button from variants
bizzappdev Jan 1, 2020
96941b5
[FIX][T3186]prevent to save wrong custom value when no step exist
bizzappdev Jan 1, 2020
bde145c
[FIX][T3186]prevent warning for int/float value validation on reset
bizzappdev Jan 1, 2020
c9bccf5
[FIX][T3186] fix js error due to undefined element
bizzappdev Jan 1, 2020
1159c95
[FIX][T3186] open config attribute view from product_configurator or …
bizzappdev Jan 2, 2020
1ebc1bd
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
4ca9f31
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
93b47a9
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
6020977
[FIX][T3186] fix context on attribute lines
bizzappdev Jan 2, 2020
a73e6d5
[WIP][3186]add views in wizard action
bizzappdev Jan 3, 2020
c3b03b3
[IMP][T3186]add helper methods to call onchage
bizzappdev Jan 4, 2020
f9a0b34
[IMP][T3186]remove custom values on variant
bizzappdev Jan 4, 2020
0ad93a7
[IMP][T3186]remove search on custom values in get_variant_search_domain
bizzappdev Jan 4, 2020
0bbebc0
[FIX][3186]add name in session custom values
bizzappdev Jan 6, 2020
3ad915d
[FIX][T3199]add active false in custom attribute values
bizzappdev Jan 6, 2020
5c44c36
[FIX]fix flake8
bizzappdev Jan 28, 2020
e1505b4
[FIX]remove print
bizzappdev Jan 28, 2020
931f5ed
[FIX][T3186]fix duplicate copy of attribute-lines and custom values w…
bizzappdev Feb 10, 2020
9cf25fd
[MIG]migrate website_product_configurator to v13
bizzappdev Feb 12, 2020
27116ea
[FIX]add res config settings view
bizzappdev Feb 19, 2020
491fda3
[FIX]remove extra context from res config settings view
bizzappdev Feb 19, 2020
4e6d03b
[FIX]fix configurator setting menu
bizzappdev Feb 19, 2020
0d8936e
[FIX]update po file
bizzappdev Feb 19, 2020
ef861d2
[FIX][T3200]fix price in cart lines
bizzappdev Feb 24, 2020
422e10a
[FIX][T3200]fix product session in context
bizzappdev Feb 27, 2020
fef3760
[FIX]fix flake8 error
bizzappdev Mar 2, 2020
d4bcdf4
[FIX]fix signletom error
bizzappdev Sep 10, 2020
2a53415
Fix flake8 error
PCatinean Oct 17, 2020
033e57f
[13.0][FIX]wrong view inherit (#183)
luc-demeyer Jan 8, 2021
870051d
FIX user access if sudo() mode (#180)
Jan 11, 2021
8c5701b
[13.0][FIX] Error on smart button with context (#184)
Jan 11, 2021
388f197
[IMP] product_configurator: black, isort, prettier
dreispt Mar 19, 2021
324c7a1
[MIG] product_configurator: Migration to 14.0
dreispt Mar 19, 2021
1dd78b1
[IMP] Improved the code and made the module as installable.
Chandresh-SerpentCS Mar 31, 2021
d84cf84
[FIX] product_configurator: wizard form would not open
dreispt Mar 31, 2021
950f5b8
[FIX] Fixed pre-commit, improved the methods.
Chandresh-OSI Apr 16, 2021
84921ed
[FIX] product_configurator: attribute required error when opening con…
dreispt Apr 20, 2021
8e32972
[FIX] product_configurator: fix installation log warnings
dreispt Apr 20, 2021
d69bc72
[FIX] product_configurator: readme, precommit, beta maturity
dreispt Apr 27, 2021
adcb7b8
[UPD] Update product_configurator.pot
oca-travis Apr 27, 2021
27d0395
[UPD] README.rst
OCA-git-bot Apr 27, 2021
f120df4
[FIX] product_configurator: remove old readme file
dreispt Apr 27, 2021
c13c8a0
product_configurator 14.0.1.0.1
OCA-git-bot May 3, 2021
3438d2b
[MIG] Migrated product_configurator base to V14
PCatinean May 7, 2021
37423d1
[MIG] rebase product configurator module.
pledrateam May 13, 2021
237e23c
[MIG] rebase product configurator module for translation file.
pledrateam May 13, 2021
a36ae00
[UPD] Update product_configurator.pot
oca-travis May 13, 2021
7636bd1
[UPD] README.rst
OCA-git-bot May 13, 2021
e804345
product_configurator 14.0.1.1.0
OCA-git-bot May 13, 2021
9fd8ecc
[FIX]remove stock from depends
pledrateam May 17, 2021
ac756f1
[FIX]product_configurator: stock depending view move to stock module
pledrateam May 18, 2021
811025a
product_configurator 14.0.1.2.0
OCA-git-bot May 19, 2021
37678fb
FIX form_widget.js because it conflicted with the evaluation of the c…
May 23, 2021
9dec127
[FIX] product_configurator: missing variable initialization in produc…
May 23, 2021
51612a8
product_configurator 14.0.1.2.1
OCA-git-bot May 24, 2021
5b463e8
Modifi Fotmat code
May 24, 2021
391956d
Modify format by pre-commite
May 24, 2021
5e9fab3
product_configurator 14.0.1.2.2
OCA-git-bot May 25, 2021
a3dae88
Add pcatinean as maintainer for all modules
PCatinean Jun 15, 2021
6f9f65b
[UPD] README.rst
OCA-git-bot Jun 22, 2021
5431d7b
[WIP][T-01839]product_configurator: remove price calculation from ses…
pledrateam Oct 25, 2021
6b5eac3
[REF] *: fix PCatinean maintainer
dreispt Dec 10, 2021
dea1941
[UPD] README.rst
OCA-git-bot Dec 10, 2021
49a4c1e
product_configurator 14.0.1.2.3
OCA-git-bot Dec 10, 2021
4769603
[FIX] product_configurator: ordinary users don't have access to `act_…
DonatasV Mar 10, 2022
71f9ef2
product_configurator 14.0.1.2.4
OCA-git-bot Mar 22, 2022
2b196af
[IMP] Change from Transient to regular Model
patrickrwilson Apr 26, 2022
f94e74c
product_configurator 14.0.1.2.5
OCA-git-bot Jul 4, 2022
d7a12ce
[FIX] product_configurator
csil300 Aug 26, 2022
8454a0e
product_configurator 14.0.1.2.6
OCA-git-bot Sep 27, 2022
28ea316
[MIG] product_configurator: Migration to 16.0
dannyadair Nov 22, 2023
0e013f5
[REF] product_configurator: pre-commit
dreispt Dec 9, 2023
0d7293b
[FIX] product_configurator: Deprecated attribute
SirAionTech Jan 10, 2024
51fddb4
[FIX] product_configurator: Validate attributes
SirAionTech Jan 10, 2024
04f254f
[IMP] product_configurator: Use new translation syntax
SirAionTech Jan 10, 2024
d9b612c
[IMP] product_configurator: Use new name_search
SirAionTech Jan 10, 2024
e3b4142
[REF] product_configurator: Remove unused method
SirAionTech Jan 10, 2024
909d453
[FIX] product_configurator: product.product.price does not exist
SirAionTech Jan 11, 2024
6d7b3c9
[IMP] product_configurator: Use existing flatten
SirAionTech Jan 11, 2024
6e1ae13
[FIX] product_configurator: Remove old commented code
SirAionTech Jan 11, 2024
ac4d2f6
[IMP] product_configurator: Do not recreate same exception
SirAionTech Jan 10, 2024
88228f6
[UPD] Update product_configurator.pot
Feb 5, 2024
19df775
Added translation using Weblate (Italian)
mymage Mar 12, 2024
0001c80
Translated using Weblate (Italian)
mymage Mar 20, 2024
022d0a4
Translated using Weblate (Italian)
SirAionTech Apr 3, 2024
4bff936
Added translation using Weblate (Portuguese)
peterromao Sep 13, 2024
2082290
Translated using Weblate (Portuguese)
peterromao Sep 15, 2024
5732433
[IMP] product_configurator: pre-commit
SirAionTech Sep 19, 2024
4282318
[IMP] product_configurator: Allow to restrict custom value
SirAionTech Sep 19, 2024
b201829
product_configurator: tests drop useless import
simahawk Oct 23, 2024
7b74335
product_configurator: rename common test file
simahawk Oct 23, 2024
2457f04
product_configurator: boost test perf
simahawk Oct 23, 2024
726f0ec
[BOT] post-merge updates
OCA-git-bot Oct 23, 2024
1f50e7f
[UPD] Update product_configurator.pot
Oct 23, 2024
6696236
[BOT] post-merge updates
OCA-git-bot Oct 23, 2024
a049061
Update translation files
weblate Oct 23, 2024
dd611a4
[IMP] product_configurator: early pre-commit cleanup
dreispt Feb 22, 2024
2e37576
[IMP] product_configurator: early pre-commit cleanup round 2
simahawk Oct 23, 2024
9c096e3
product_configurator: restore test_wizard
simahawk Oct 24, 2024
e7e08c2
product_configurator: improve test _configure_product_nxt_step
simahawk Oct 24, 2024
e66e4aa
product_configurator: restore test_product_config
simahawk Oct 24, 2024
e1a004b
product_configurator: add fixme comment on test_product
simahawk Oct 24, 2024
5991277
product_configurator: restore test_product_attribute
simahawk Oct 24, 2024
34d483d
product_configurator: restore test_create
simahawk Oct 24, 2024
480e34e
[UPD] Update product_configurator.pot
Oct 24, 2024
9d37cb7
[BOT] post-merge updates
OCA-git-bot Oct 24, 2024
664f616
Update translation files
weblate Oct 24, 2024
62e25cd
product_configurator: make not installable
simahawk Oct 24, 2024
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
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
^product_configurator/|
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
Expand Down
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:9ddc483727ae5c864626d3f7df20a5648deffc29d784bd82b5fd2a3eccee0f03
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/16.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-16-0/product-configurator-16-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=16.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:%2016.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 <simone.rubino@aion-tech.it>

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/16.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.1.1",
"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": False,
"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