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

[IMP] website_product_configurator: Show image for custom values #118

Open
wants to merge 262 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
262 commits
Select commit Hold shift + click to select a range
f611bc1
[FIX] Regression in website template introduced by values_available r…
PCatinean Apr 23, 2017
8fa9227
[IMP/FIX] Preventing duplicates via checks and refactored create_vari…
PCatinean Apr 23, 2017
aca4d87
General fixes and flake8
PCatinean May 25, 2017
098b50b
[WIP] Basic subconfiguration process
PCatinean May 14, 2017
8408509
#T1532 partial commit
Feb 5, 2018
cf07643
Removed console.log, renamed __openerp__.py files to __manifest__.py
PCatinean Feb 20, 2018
57c7672
Bumped version to 11.0 and removed all traces of coding: utf-8 from p…
PCatinean May 14, 2018
f86d298
Update README, replace iteritems->items, minor fixes
PCatinean May 20, 2018
b33b860
Moving config step related methods from product template to config se…
PCatinean Jul 9, 2018
1c38379
[FIX]product_configurator, website_product_configurator, product_conf…
bizzappdev Jul 5, 2018
31dd28c
[FIX]website_product_configurator : replace val._model with val._name…
bizzappdev Jul 5, 2018
2525e52
[FIX]website_product_configurator : fix error(TypeError: must be str,…
bizzappdev Jul 5, 2018
1ca4c4b
[FIX][T1902] : fix singleton error(product.config.session), fix view …
bizzappdev Jul 6, 2018
cb0f18b
[FIX][T1902]website_product_configurator : add require('web.dom_ready…
bizzappdev Jul 7, 2018
4eaef85
Added product_configurator_stock and website_product_configurator and…
PCatinean Aug 30, 2018
3d07212
[WIP] Migration and refactor of website product configurator
PCatinean Apr 9, 2019
fd05ac7
[IMP] Moved render methods to controller
PCatinean Apr 9, 2019
cfcbe08
[IMP] Added published widget to form view, basic configuration view l…
PCatinean Apr 15, 2019
e2921aa
First version of descentralized forms for all config steps
PCatinean Apr 16, 2019
5401f0a
[FIX] Checking for selected values properly, added header
PCatinean Apr 17, 2019
0fb7b45
[IMP] Preparing basic onchange and adding tour tests
PCatinean Apr 18, 2019
5c285dc
[IMP]website_product_configurator: save product-config-session in htt…
bizzappdev Apr 24, 2019
ec77606
[IMP]create new session each time only for public user
bizzappdev Apr 25, 2019
3605615
[WIP]website_product_configurator : call onchange and get changed val…
bizzappdev Apr 25, 2019
d852f01
[IMP]add cron to delete cofig session that are inactive for more than…
bizzappdev Apr 26, 2019
05e42d4
[WIP]add code to handle multi attribute and call onchange, and send d…
bizzappdev Apr 29, 2019
f35336e
[FIX]create session for public user if session will create with no login
bizzappdev Apr 29, 2019
a9f7516
[IMP]make steps lines visible and invisible based on open step lines
bizzappdev Apr 30, 2019
bcaded6
[IMP]save data in session and add functionality of continue
bizzappdev Apr 30, 2019
5dd9391
[IMP]remove invalid selection on onchage
bizzappdev May 1, 2019
8a3405d
[IMP]configure product and save step in session
bizzappdev May 2, 2019
4294bb4
[IMP]website_product_configurator : redirect product and prevent to c…
bizzappdev May 4, 2019
4e58831
[IMP]product_configurator, website_product_configurator : write a wra…
bizzappdev May 6, 2019
e6b58e1
[IMP]website_product_configurator : move code in small methods in js
bizzappdev May 6, 2019
8191d55
[IMP]add code for custom values
bizzappdev May 9, 2019
b8f6409
[IMP]website_product_configurator : check required on custom attribute
bizzappdev May 9, 2019
ae98be7
[IMP]add attribute name
bizzappdev May 9, 2019
1ac3d94
[IMP]change message for custom value
bizzappdev May 9, 2019
d4b12f3
[IMP]handle configuration if no config step exist
bizzappdev May 10, 2019
76f8d11
[FIX]search custom container based on class
bizzappdev May 17, 2019
f5e2c2b
[ADD][#T00494]website_product_configurator:create method for increase…
May 18, 2019
b5548f3
[IMP]make configuration work for custom type date and datetime
bizzappdev May 18, 2019
3411501
[ADD][#T00494]website_product_configurator:add or remove quantity usi…
May 18, 2019
fbeecb7
[IMP]website_product_configurator : configurablr images will display …
bizzappdev May 20, 2019
3849f84
[IMP]call cfg_step_line.get_website_template instead of static id
bizzappdev May 21, 2019
158715b
[ADD][#T00494]website_product_configurator:add and remove quantity on…
May 21, 2019
fbd03cb
[FIX]againg use default template as no step line is there
bizzappdev May 22, 2019
8b8bdb7
[IMP][#T2720]website_product_configurator:change the alert message.
May 22, 2019
c2091e4
[ADD][#T2720]website_product_configurator: solved the issue of when n…
May 22, 2019
cfdbe6d
Revert "[IMP]website_product_configurator : configurablr images will …
bizzappdev May 22, 2019
5b0266b
[FIX]add comments and fix get_current_configuration
bizzappdev May 22, 2019
c142382
[ADD][#T2720]website_product_configurator:solved the issue of when no…
May 22, 2019
76e179e
[ADD][#T2720]website_product_configurator:add css on text_box when no…
May 22, 2019
548e95a
[FIX]add images on website same aas in backend using product_attribut…
bizzappdev May 23, 2019
43d0190
[IMP]desplay tooltip instead of alert
bizzappdev May 23, 2019
71b38c0
[IMP]add css for configurable image on website
bizzappdev May 24, 2019
3034471
[IMP]add image for configured product using url and remove code for r…
bizzappdev May 24, 2019
72ed69c
[FIX]add class js_quantity in checking value of integer
bizzappdev May 24, 2019
e02c065
[WIP]product configuration of website for radio buttons
bizzappdev May 28, 2019
0287152
[FIX]fix flake8 and py-lint errors
bizzappdev May 29, 2019
d0758fc
[FIX]fic indentation error
bizzappdev May 30, 2019
bbb2bdd
[IMP]configuration functionality on website work with radio buttons
bizzappdev May 30, 2019
6ce9a84
[FIX]remove config-session from http session when product configured
bizzappdev May 30, 2019
e01ab90
[FIX]set step in config session when session is created from website
bizzappdev May 31, 2019
75e20e9
[IMP]display images for attribute value
bizzappdev May 31, 2019
558ec96
[FIX]fix changes request during review
bizzappdev May 31, 2019
51e44d2
[FIX]remove parameter limit from search_session and use cfg_session_id
bizzappdev Jun 1, 2019
b9749d6
[FIX]remove new line from cfg_session = cfg_session_obj.browse(int(cf…
bizzappdev Jun 1, 2019
f9c955e
[IMP][T-00511] website configuration image
Jun 1, 2019
01ba382
[FIX]changes suggested in review
bizzappdev Jun 3, 2019
df42fb7
[FIX]get values of name and value from form_val using get
bizzappdev Jun 3, 2019
49d34c8
[FIX]fix attribute_value_line_ids in _prepare_configurator_values and…
bizzappdev Jun 3, 2019
8b6913c
[FIX]fix qty spinner
bizzappdev Jun 3, 2019
b22c40a
[FIX]add keyBinds: null, in datetime-picker options
bizzappdev Jun 3, 2019
d0076eb
[FIX]set min_val to 0 if not exist
bizzappdev Jun 3, 2019
9e222b7
[FIX]add onchange and remove border red onchange of value
bizzappdev Jun 4, 2019
18a7efd
[IMP]display values using product on configured product instead of se…
bizzappdev Jun 4, 2019
d20dade
[FIX]set active_step to false if no config_line exist
bizzappdev Jun 4, 2019
6534cd5
[FIX]fix active_step
bizzappdev Jun 5, 2019
8e6deab
[FIX]import websiteSale from website_product_configurator instead of …
bizzappdev Jun 5, 2019
565bbad
[FIX]use UserError instead of warning, raise error if no value is sel…
bizzappdev Jun 6, 2019
52acdba
[FIX]restrict to enter char in custom field of type number
bizzappdev Jun 7, 2019
ce2cd30
[IMP][#T00494] website_product_configurator : when we click on image …
Jun 7, 2019
ec195d6
[FIX]display product image if no image is configured
bizzappdev Jun 7, 2019
370abed
[IMP]price and weight on website
bizzappdev Jun 10, 2019
58e19f4
[FIX]display weight upto 2 decimal precision
bizzappdev Jun 13, 2019
c12a51e
[FIX]fix method get_current_configuration
bizzappdev Jun 14, 2019
6e682f7
[FIX]fix try catch
bizzappdev Jun 14, 2019
60b5a34
[FIX]move .get_custom_value_id to config session
bizzappdev Jun 14, 2019
31dca81
[FIX]fix flake8 and pylint errors
bizzappdev Jun 15, 2019
e6d62a2
[FIX]fix decimal precision on of weight on website
bizzappdev Jun 18, 2019
3cc9108
[FIX]website_product_configurator : display price extra with attr val…
bizzappdev Jun 18, 2019
bd6a504
[FIX][T-00513] product_configurator: add new changes and fix some issue
bizzappdev Jun 19, 2019
4235bbd
[FIX]add domain website_published = true in record rules by inheritin…
bizzappdev Jun 19, 2019
2f879ff
[FIX]remove noupdate=1 from security file of product_configurator
bizzappdev Jun 19, 2019
43ffe86
[FIX]remove extra file
bizzappdev Jun 19, 2019
2af39aa
[IMP]make image click work for radio and check box
bizzappdev Jun 19, 2019
5f1ec1e
[FIX]fix attributes, and radion images
bizzappdev Jun 20, 2019
f07d843
[FIX]add background-size: for radio images
bizzappdev Jun 20, 2019
06f61c5
[FIX]fix attr value style disable
bizzappdev Jun 20, 2019
ad44527
[FIX]again display checkbox and radio
bizzappdev Jun 20, 2019
61dee67
[FIX]disable event on not available attr image
bizzappdev Jun 20, 2019
a9dfdd3
[FIX]fix change event is not triggering on datetime fields
bizzappdev Jun 20, 2019
f755b72
[FIX]disabel checkbox if value not available
bizzappdev Jun 20, 2019
39f2218
[FIX]add code for read file and send data of files to backend
bizzappdev Jun 21, 2019
5380627
[FIX]send attachment values from js to controller
bizzappdev Jun 21, 2019
8575874
[FIX]remove multi from input field type file
bizzappdev Jun 21, 2019
ddc4861
[FIX]take value_ids from session if value_ids is not list
bizzappdev Jun 21, 2019
17a3475
[FIX]get decimal precision value from backend
bizzappdev Jun 21, 2019
71c87b3
[FIX]fix flake8
bizzappdev Jun 21, 2019
42e3d0c
[FIX]find custom val within fieldset
bizzappdev Jun 24, 2019
288e078
[FIX]fix flake8
bizzappdev Jun 24, 2019
a20462f
[FIX]fix access rules and record rules
bizzappdev Jun 25, 2019
27efe85
[FIX]inherit templates from base and add domain on inherit id
bizzappdev Jun 25, 2019
9188670
[FIX]display publish button on website
bizzappdev Jun 25, 2019
18aba93
[FIX]set website_price od configurable products
bizzappdev Jun 25, 2019
e3d795d
[FIX]fix price extra functionality
bizzappdev Jun 25, 2019
ab46d4e
[FIX]fixes from 11.0
bizzappdev Jun 26, 2019
29568f5
[FIX]fix doc string
bizzappdev Jun 26, 2019
359662b
[FIX]set configuration_template_id while calling template selection f…
bizzappdev Jun 27, 2019
368ab04
[IMP][T-00513] website_product_configurator: write test-case for webs…
bizzappdev Jun 28, 2019
444e2e0
[FIX]add error page
bizzappdev Jun 29, 2019
747f1f1
[FIX]add try except around self.get_config_session
bizzappdev Jun 29, 2019
b743ad0
[FIX]fix weight and price formatting on website
bizzappdev Jun 29, 2019
9c1ae41
[FIX]fix web tour : add demo data (website_publish true) and search p…
bizzappdev Jul 2, 2019
b3283d1
[FIX]add values in render form method
bizzappdev Jul 6, 2019
68688ba
[FIX]set default value as None and
bizzappdev Jul 6, 2019
fcd59df
[FIX]call method weight_to_str for weight on website
bizzappdev Jul 8, 2019
f828831
[IMP]open dialog box instead of alert
bizzappdev Jul 10, 2019
2c2239b
[FIX] fix ex. name
bizzappdev Jul 10, 2019
1b174a9
[FIX]import web.dialog in js
Jul 10, 2019
c93f825
[FIX]fix configuration step
bizzappdev Jul 12, 2019
d4a25bb
[FIX]fix if config step will add in middle
bizzappdev Jul 12, 2019
8e3d3e2
[FIX] website_product_configurator : comment test file
Jul 12, 2019
056735b
[WIP][00517] website_product_configurator: create changes in website …
bizzappdev Jul 13, 2019
efe991c
[FIX]change string
bizzappdev Jul 15, 2019
a1259aa
[FIX]fixes from 11.0
bizzappdev Jul 15, 2019
6e674ec
[WIP] website_product_configurator
bizzappdev Jul 15, 2019
4dc6a95
[FIX]add if value_ids is None instead if not value_ids, fix parameter…
bizzappdev Jul 16, 2019
66798b7
[FIX]fix argument name
bizzappdev Jul 16, 2019
45ddf04
[FIX]fix csv
bizzappdev Jul 16, 2019
d128b6d
[FIX]fix custom vals and some js classs
bizzappdev Jul 17, 2019
e231e95
[FIX]dateime picker on website
bizzappdev Jul 17, 2019
1c61d39
[FIX]solve issue session was not updating
bizzappdev Jul 17, 2019
1ea32d8
[WIP] website_product_configurator: changes of product list price
bizzappdev Jul 17, 2019
1b10292
[FIX]remove sudo, fix active atep
bizzappdev Jul 17, 2019
18a8302
[FIX]add class radio-card-container when steps not exist
bizzappdev Jul 17, 2019
41fd5a2
[FIX][T-00517]website_product_configurator : fix when configure step …
bizzappdev Jul 18, 2019
e83150a
[FIX][T-00517]website_product_configurator : fix message when enter n…
bizzappdev Jul 18, 2019
104eecb
[FIX][T-00517]website_product_configurator : write config step when c…
bizzappdev Jul 18, 2019
3014161
[IMP][T00517] website_product_configurator : add field in config sett…
Jul 18, 2019
f4c73c3
[FIX][T-00517] website_product_configurator: fix the issue of label n…
bizzappdev Jul 18, 2019
fface50
[FIX]fix warning when next step is config
bizzappdev Jul 18, 2019
506bf90
[IMP][T00517] website_product_configurator : write method for return …
Jul 18, 2019
1db7dd5
[IMP][T00517] website_product_configurator : change the method name
Jul 18, 2019
749d129
[FIX]fix product page after configuration
bizzappdev Jul 18, 2019
b4a2e45
[FIX][T-00517]website_product_configurator: fix css on radio buttons,…
bizzappdev Jul 19, 2019
f87b898
[FIX][T-00517]website_product_configurator: fix default_website_templ…
bizzappdev Jul 19, 2019
1074c26
[FIX][T-00517]website_product_configurator: add padding-top in cfg_fo…
bizzappdev Jul 19, 2019
89d898e
[FIX][T-00517]website_product_configurator: inherit _cart_update and …
bizzappdev Jul 19, 2019
1229da7
[FIX][T-00517]website_product_configurator: enable add or remove butt…
bizzappdev Jul 19, 2019
a16f399
[FIX][T-00517]website_product_configurator: fix super call
bizzappdev Jul 19, 2019
ec03fa5
[FIX]add datetimepicker-input in datetime and date custom fields
bizzappdev Jul 22, 2019
a567f1f
[FIX] website_product_configurator: fix active step issue
bizzappdev Jul 23, 2019
4470c9a
[FIX]change version in manifest file
bizzappdev Jul 26, 2019
3835532
[FIX]website_product_configurator : solve pylint
Jul 26, 2019
fdc475e
[FIX] product_configurator: fix issue of config step
bizzappdev Sep 3, 2019
f451004
[FIX] website_product_configurator : Change condition in Configuratio…
Sep 6, 2019
baa9146
[FIX]fix keyerror
bizzappdev Sep 6, 2019
3365079
[FIX] website_product_configurator : change for decimal_precision]
Sep 7, 2019
75ff48c
[FIX]website_product_configurator,product_configurator : change for d…
Sep 7, 2019
7646552
[FIX]website_product_configurator : change blockui
Sep 7, 2019
0924a38
[FIX]website_product_configurator : change v12 accoding to v11 commits
Sep 10, 2019
fd0921e
[FIX]website_product_configurator : change v12 accoding to v11 commit
Sep 10, 2019
95669b3
[FIX]website_product_configurator : change v12 accoding to v11 commit
Sep 11, 2019
e06b400
[FIX]website_product_configurator : change in v12 accoding to v11 commit
Sep 11, 2019
9b3a9d1
[FIX]fix flake8
bizzappdev Sep 11, 2019
8966a0e
[FIX]add error code
bizzappdev Sep 11, 2019
26543d7
[FIX]fix flake8
bizzappdev Sep 11, 2019
33daace
[FIX]website_product_configurator : changes in v12 website_product_co…
Sep 19, 2019
935439b
[FIX]website_product_configurator : changes in v12 website_product_co…
Sep 19, 2019
e8c9eab
[WIP] product_configurator: add change for fix price extra issue
bizzappdev Sep 22, 2019
4c71fe6
[FIX] product_configurator: fix issue price extra
bizzappdev Sep 22, 2019
0d0c561
[FIX][ADD] website_product_configurator : add price_precision in extr…
Sep 25, 2019
b163c20
[FIX]website_product_configurator : change condition for extra_price
Sep 25, 2019
d9db13f
[FIX]fix space in text area
bizzappdev Sep 26, 2019
bebbe80
[FIX]check value not exist
bizzappdev Sep 27, 2019
5142fe3
Reseting website controller to main branch and remove old-code comments
PCatinean Sep 28, 2019
1fcb3aa
[FIX]change force_check_build: to submit_configuration:
bizzappdev Sep 28, 2019
6f6894e
[FIX] Tiny flake8 issue
PCatinean Sep 28, 2019
4c61d92
Removed oldcode comments since there is no inherit copy/paste functio…
PCatinean Sep 28, 2019
e833c6b
[FIX]remove action_confirm from create_get_variant and call it from c…
bizzappdev Sep 30, 2019
444e739
[FIX]remove self from controller while calling .action_confirm
bizzappdev Sep 30, 2019
269cc54
[FIX]remove extra call for .create_get_variant
bizzappdev Sep 30, 2019
be41933
[IMP][T-00542] product_configurator: make changes for default custom …
bizzappdev Oct 3, 2019
7a58857
[FIX]product_configurator,website_product_configurator : chnages acco…
Oct 10, 2019
8d3154b
[IMP][T-00560] product_Configurator: for the restricted value check a…
bizzappdev Oct 14, 2019
a65ed3c
[IMP][T-00560] product_configurator: add attribute for required
bizzappdev Oct 15, 2019
f1da6ef
[IMP][T-00560] product_configurator: add available vailable value
bizzappdev Oct 15, 2019
b23db71
Added mt16 to custom field containers
PCatinean Oct 16, 2019
73747cc
[IMP][T-00560] product_Configurator: custom value make required if at…
bizzappdev Oct 18, 2019
b2db568
[IMP][T-00560] product_Configurator: add changes
bizzappdev Oct 18, 2019
c3a11be
[FIX]create js widget
bizzappdev Oct 22, 2019
c5bb4eb
[IMP]return deffered in _onChangeFile
bizzappdev Oct 23, 2019
d66468f
[FIX]fix image click in radio button view
bizzappdev Oct 25, 2019
b1b5e7e
[FIX]check for max value if exist in custom value
bizzappdev Oct 25, 2019
df6fd96
[FIX][T-00560]use any() instead of filter
bizzappdev Nov 5, 2019
46c4f88
[FIX][t-00563]add curser style
bizzappdev Nov 12, 2019
f4c70d3
[WIP][T-00616] Product_configurator: show price_extra in attribute va…
bizzappdev Nov 21, 2019
bab6162
[IMP][T-00616] Product_configurator: price extra changes
bizzappdev Nov 25, 2019
1647f17
[FIX][T-00616]fix test case and code optimization
bizzappdev Nov 26, 2019
17feba7
[FIX][t-00616]fix price extra : access error
bizzappdev Nov 30, 2019
47d018a
[FIX][T-00547]move code from onchage to new method apply_onchage_values
bizzappdev Dec 2, 2019
b5336c2
[FIX][T-00616]find price from related product, and then loop out over…
bizzappdev Dec 2, 2019
5455143
[IMP][T-00633] website_product_configurator: make changes for textar…
bizzappdev Dec 17, 2019
f110a6e
[IMP][T-00638]add field container in xml and a small fix in js
bizzappdev Dec 19, 2019
9740f08
[IMP]Add installable False to module from version 12
bizzappdev Dec 26, 2019
64f08f8
[FIX]update manifest
bizzappdev Feb 12, 2020
cb55def
[IMP][T3200]add controller for session instead of product
bizzappdev Feb 12, 2020
fa368e2
[MIG]migrate website_product_configurator to v13
bizzappdev Feb 12, 2020
15aef33
[FIX]fix flak8
bizzappdev Feb 13, 2020
a696634
[FIX][T3200]change ccfg_image to class from id
bizzappdev Feb 13, 2020
3ee4f8a
[FIX][T3200]add session map only for sale order line get from context
bizzappdev Feb 19, 2020
fd5daa7
[FIX]fix res config settings view
bizzappdev Feb 19, 2020
2e11460
[FIX]update po file
bizzappdev Feb 19, 2020
2a77b4c
[FIX]fix flake8
bizzappdev Feb 20, 2020
928417e
[FIX][T3200]fix: input for custom value interger is not visible
bizzappdev Feb 21, 2020
1ba8b83
[FIX][T3200]fix js error if no file selected in custom type attachmen…
bizzappdev Feb 21, 2020
bbdcb38
[FIX][T3200]add max-width of input for integer/float
bizzappdev Feb 21, 2020
e1cf439
[FIX][3200]add product_configurator_sale in dependency
bizzappdev Feb 21, 2020
c3b3e47
[FIX][T3200]fix price in cart lines
bizzappdev Feb 24, 2020
90ab38b
[FIX][T3200]fix images on onchange
bizzappdev Feb 24, 2020
711b2dc
[FIX][T3200]fix product session in context
bizzappdev Feb 27, 2020
5bd92d6
[FIX][T3200]set images from js only of new images are exists
bizzappdev Feb 28, 2020
f0a6bfc
[FIX]fix flake8 error
bizzappdev Mar 2, 2020
13250c4
[FIX]fix flake8 and used env.ref instead of search for view in xml_id…
bizzappdev Mar 2, 2020
20568e6
Update config_form.js (#181)
Jan 8, 2021
e505438
[MIG] website_product_configurator
pledrateam May 14, 2021
6c46964
[FIX] website_product_configurator : fix the image for attribute and …
pledrateam May 18, 2021
950b81e
[FIX] website_product_configurator : fix website page and image url.
pledrateam May 18, 2021
cdf62c1
[FIX] write testcase for website_product_configurator
pledrateam Jun 1, 2021
2975dca
[FIX]website_product_configurator: fix issue of cfg_product
pledrateam Jun 15, 2021
27a96ec
Add pcatinean as maintainer for all modules
PCatinean Jun 15, 2021
d02f910
[WIP][T-01839]product_configurator: remove price calculation from ses…
pledrateam Oct 25, 2021
41b6d79
[REF] *: fix PCatinean maintainer
dreispt Dec 10, 2021
adeca02
[IMP] cron noupdate
patrickrwilson Mar 23, 2022
beb4822
[IMP] website_product_configurator: pre-commit execution
SirAionTech Jan 15, 2024
c13fdc3
[MIG] website_product_configurator: Migration to 16.0
SirAionTech Jan 15, 2024
66651e0
[IMP] product_configurator: Dedicated image for custom value
SirAionTech Feb 22, 2024
a0c0f03
[IMP] website_product_configurator: Use image of custom value
SirAionTech Feb 22, 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
3 changes: 3 additions & 0 deletions product_configurator/models/product_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def onchange_val_custom_field(self):
)
uom_id = fields.Many2one(comodel_name="uom.uom", string="Unit of Measure")
image = fields.Binary()
configurator_custom_image = fields.Binary(
string="Image for custom value",
)

# TODO prevent the same attribute from being defined twice on the
# attribute lines
Expand Down
3 changes: 3 additions & 0 deletions product_configurator/views/product_attribute_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@
<group>
<field name="search_ok" />
</group>
<group>
<field name="configurator_custom_image" widget="image" />
</group>
</group>
</page>
</xpath>
Expand Down
6 changes: 6 additions & 0 deletions setup/website_product_configurator/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
86 changes: 86 additions & 0 deletions website_product_configurator/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
============================
Website Product Configurator
============================

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

.. |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/website_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-website_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 facilitates to configure product on website.

**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:%20website_product_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 <[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/16.0/website_product_configurator>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions website_product_configurator/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import controllers
42 changes: 42 additions & 0 deletions website_product_configurator/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "Website Product Configurator",
"version": "16.0.1.0.0",
"summary": """Configure products in e-shop""",
"author": "Pledra, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/product-configurator",
"category": "website",
"depends": [
"website_sale",
"product_configurator",
"product_configurator_sale",
],
"data": [
"security/configurator_security.xml",
"data/ir_config_parameter_data.xml",
"data/config_form_templates.xml",
"data/cron.xml",
"views/product_view.xml",
"views/templates.xml",
"views/res_config_settings_view.xml",
],
"assets": {
"web.assets_frontend": [
"website_product_configurator/static/src/js/config_form.js",
"website_product_configurator/static/src/js/variant_mixin.js",
"website_product_configurator/static/src/js/website_sale.esm.js",
"website_product_configurator/static/src/js/website_config_tour.js",
"website_product_configurator/static/src/scss/config_form.scss",
"website_product_configurator/static/src/scss/tooltip.scss",
],
"web.assets_tests": [
"website_product_configurator/static/tests/tours/custom_values.esm.js",
],
},
"demo": ["demo/product_template_demo.xml"],
"images": ["static/description/cover.png"],
"application": True,
"installable": True,
"development_status": "Beta",
"maintainers": ["PCatinean"],
}
1 change: 1 addition & 0 deletions website_product_configurator/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import main
Loading
Loading