-
-
Notifications
You must be signed in to change notification settings - Fork 78
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] [MIG] website_product_configurator: Migration to 17.0 #143
Open
bizzappdev
wants to merge
267
commits into
OCA:17.0
Choose a base branch
from
BizzAppDev-Systems:17.0-mig-website_product_configurator-BAD
base: 17.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
267 commits
Select commit
Hold shift + click to select a range
8f2750b
Removed console.log, renamed __openerp__.py files to __manifest__.py
PCatinean 90d6bce
Bumped version to 11.0 and removed all traces of coding: utf-8 from p…
PCatinean 8aea70f
Update README, replace iteritems->items, minor fixes
PCatinean 5457bf0
Moving config step related methods from product template to config se…
PCatinean 32dea04
[FIX]product_configurator, website_product_configurator, product_conf…
bizzappdev ff29a52
[FIX]website_product_configurator : replace val._model with val._name…
bizzappdev 8cac077
[FIX]website_product_configurator : fix error(TypeError: must be str,…
bizzappdev 1681f27
[FIX][T1902] : fix singleton error(product.config.session), fix view …
bizzappdev 336f68b
[FIX][T1902]website_product_configurator : add require('web.dom_ready…
bizzappdev e534b6f
Added product_configurator_stock and website_product_configurator and…
PCatinean 62e5e21
[WIP] Migration and refactor of website product configurator
PCatinean 3d95b67
[IMP] Moved render methods to controller
PCatinean 6741035
[IMP] Added published widget to form view, basic configuration view l…
PCatinean c218b2b
First version of descentralized forms for all config steps
PCatinean 3d43ed2
[FIX] Checking for selected values properly, added header
PCatinean ac71bde
[IMP] Preparing basic onchange and adding tour tests
PCatinean b3b5cfd
[IMP]website_product_configurator: save product-config-session in htt…
bizzappdev 58fe037
[IMP]create new session each time only for public user
bizzappdev 0f52120
[WIP]website_product_configurator : call onchange and get changed val…
bizzappdev e5c5723
[IMP]add cron to delete cofig session that are inactive for more than…
bizzappdev 6d23b74
[WIP]add code to handle multi attribute and call onchange, and send d…
bizzappdev 7795a71
[FIX]create session for public user if session will create with no login
bizzappdev 5d880ac
[IMP]make steps lines visible and invisible based on open step lines
bizzappdev 2231280
[IMP]save data in session and add functionality of continue
bizzappdev d07f53d
[IMP]remove invalid selection on onchage
bizzappdev 08ca2d5
[IMP]configure product and save step in session
bizzappdev 7a2105c
[IMP]website_product_configurator : redirect product and prevent to c…
bizzappdev e6ad6d5
[IMP]product_configurator, website_product_configurator : write a wra…
bizzappdev 1a8e268
[IMP]website_product_configurator : move code in small methods in js
bizzappdev 90f586b
[IMP]add code for custom values
bizzappdev 503b0dc
[IMP]website_product_configurator : check required on custom attribute
bizzappdev 0d0b748
[IMP]add attribute name
bizzappdev 5331735
[IMP]change message for custom value
bizzappdev 99ab78b
[IMP]handle configuration if no config step exist
bizzappdev 6864ab8
[FIX]search custom container based on class
bizzappdev 1d3e7fc
[ADD][#T00494]website_product_configurator:create method for increase…
08e0f7c
[IMP]make configuration work for custom type date and datetime
bizzappdev bad796e
[ADD][#T00494]website_product_configurator:add or remove quantity usi…
e2557f1
[IMP]website_product_configurator : configurablr images will display …
bizzappdev 6002640
[IMP]call cfg_step_line.get_website_template instead of static id
bizzappdev f620bbc
[ADD][#T00494]website_product_configurator:add and remove quantity on…
5a0faaa
[FIX]againg use default template as no step line is there
bizzappdev 24a69b2
[IMP][#T2720]website_product_configurator:change the alert message.
3130585
[ADD][#T2720]website_product_configurator: solved the issue of when n…
a95cd3c
Revert "[IMP]website_product_configurator : configurablr images will …
bizzappdev 8280c00
[FIX]add comments and fix get_current_configuration
bizzappdev 27d1948
[ADD][#T2720]website_product_configurator:solved the issue of when no…
6b137a1
[ADD][#T2720]website_product_configurator:add css on text_box when no…
995c78d
[FIX]add images on website same aas in backend using product_attribut…
bizzappdev 71bc65f
[IMP]desplay tooltip instead of alert
bizzappdev 364451c
[IMP]add css for configurable image on website
bizzappdev 38baf77
[IMP]add image for configured product using url and remove code for r…
bizzappdev c71b758
[FIX]add class js_quantity in checking value of integer
bizzappdev 51155ef
[WIP]product configuration of website for radio buttons
bizzappdev 45bb86b
[FIX]fix flake8 and py-lint errors
bizzappdev 67b08f9
[FIX]fic indentation error
bizzappdev 25e5759
[IMP]configuration functionality on website work with radio buttons
bizzappdev a108f98
[FIX]remove config-session from http session when product configured
bizzappdev 81fd668
[FIX]set step in config session when session is created from website
bizzappdev 618a6ba
[IMP]display images for attribute value
bizzappdev 19677d2
[FIX]fix changes request during review
bizzappdev 073ed2f
[FIX]remove parameter limit from search_session and use cfg_session_id
bizzappdev 417c6d6
[FIX]remove new line from cfg_session = cfg_session_obj.browse(int(cf…
bizzappdev db882f5
[IMP][T-00511] website configuration image
961e5f3
[FIX]changes suggested in review
bizzappdev 806465e
[FIX]get values of name and value from form_val using get
bizzappdev aacc6f8
[FIX]fix attribute_value_line_ids in _prepare_configurator_values and…
bizzappdev c83d17c
[FIX]fix qty spinner
bizzappdev af022d5
[FIX]add keyBinds: null, in datetime-picker options
bizzappdev 36a4d58
[FIX]set min_val to 0 if not exist
bizzappdev c06e71d
[FIX]add onchange and remove border red onchange of value
bizzappdev d70a9b2
[IMP]display values using product on configured product instead of se…
bizzappdev 64c4287
[FIX]set active_step to false if no config_line exist
bizzappdev ab0b088
[FIX]fix active_step
bizzappdev 90df8da
[FIX]import websiteSale from website_product_configurator instead of …
bizzappdev 8a5711d
[FIX]use UserError instead of warning, raise error if no value is sel…
bizzappdev 45f270e
[FIX]restrict to enter char in custom field of type number
bizzappdev d85a2f8
[IMP][#T00494] website_product_configurator : when we click on image …
09de528
[FIX]display product image if no image is configured
bizzappdev f18604e
[IMP]price and weight on website
bizzappdev 88137b3
[FIX]display weight upto 2 decimal precision
bizzappdev 5670121
[FIX]fix method get_current_configuration
bizzappdev 712eb53
[FIX]fix try catch
bizzappdev cc14dee
[FIX]move .get_custom_value_id to config session
bizzappdev 687f83a
[FIX]fix flake8 and pylint errors
bizzappdev d6d942f
[FIX]fix decimal precision on of weight on website
bizzappdev 80baad2
[FIX]website_product_configurator : display price extra with attr val…
bizzappdev 8dc27c6
[FIX][T-00513] product_configurator: add new changes and fix some issue
bizzappdev b7dc23e
[FIX]add domain website_published = true in record rules by inheritin…
bizzappdev 8f2c602
[FIX]remove noupdate=1 from security file of product_configurator
bizzappdev be13acf
[FIX]remove extra file
bizzappdev 97854dc
[IMP]make image click work for radio and check box
bizzappdev d2989ee
[FIX]fix attributes, and radion images
bizzappdev df803d6
[FIX]add background-size: for radio images
bizzappdev 31bc626
[FIX]fix attr value style disable
bizzappdev 4c40ff6
[FIX]again display checkbox and radio
bizzappdev a9582f9
[FIX]disable event on not available attr image
bizzappdev f13627f
[FIX]fix change event is not triggering on datetime fields
bizzappdev e611a41
[FIX]disabel checkbox if value not available
bizzappdev a236c38
[FIX]add code for read file and send data of files to backend
bizzappdev 9a2486e
[FIX]send attachment values from js to controller
bizzappdev 0837f61
[FIX]remove multi from input field type file
bizzappdev 0e7ddb9
[FIX]take value_ids from session if value_ids is not list
bizzappdev 27b59ea
[FIX]get decimal precision value from backend
bizzappdev ced5bc5
[FIX]fix flake8
bizzappdev 0642db7
[FIX]find custom val within fieldset
bizzappdev 0de3d0d
[FIX]fix flake8
bizzappdev 0ec4ffb
[FIX]fix access rules and record rules
bizzappdev 0783124
[FIX]inherit templates from base and add domain on inherit id
bizzappdev c66ff3e
[FIX]display publish button on website
bizzappdev 593252b
[FIX]set website_price od configurable products
bizzappdev 300c589
[FIX]fix price extra functionality
bizzappdev 78f7904
[FIX]fixes from 11.0
bizzappdev 1f8a1cf
[FIX]fix doc string
bizzappdev 7be4f39
[FIX]set configuration_template_id while calling template selection f…
bizzappdev d34919e
[IMP][T-00513] website_product_configurator: write test-case for webs…
bizzappdev 6e1510f
[FIX]add error page
bizzappdev 6268e8e
[FIX]add try except around self.get_config_session
bizzappdev a8d5f97
[FIX]fix weight and price formatting on website
bizzappdev 09c7d69
[FIX]fix web tour : add demo data (website_publish true) and search p…
bizzappdev c96393e
[FIX]add values in render form method
bizzappdev ba68ebe
[FIX]set default value as None and
bizzappdev c051d34
[FIX]call method weight_to_str for weight on website
bizzappdev 101d0d5
[IMP]open dialog box instead of alert
bizzappdev 38a4a48
[FIX] fix ex. name
bizzappdev 99d4b31
[FIX]import web.dialog in js
b7c3abf
[FIX]fix configuration step
bizzappdev 641f0ae
[FIX]fix if config step will add in middle
bizzappdev 527b1a2
[FIX] website_product_configurator : comment test file
0bed1e7
[WIP][00517] website_product_configurator: create changes in website …
bizzappdev 58e91b8
[FIX]change string
bizzappdev 11cb986
[FIX]fixes from 11.0
bizzappdev 597c579
[WIP] website_product_configurator
bizzappdev 9917377
[FIX]add if value_ids is None instead if not value_ids, fix parameter…
bizzappdev 438a88b
[FIX]fix argument name
bizzappdev 57785e1
[FIX]fix csv
bizzappdev 4e47457
[FIX]fix custom vals and some js classs
bizzappdev b646ea0
[FIX]dateime picker on website
bizzappdev fb55854
[FIX]solve issue session was not updating
bizzappdev e9f98ca
[WIP] website_product_configurator: changes of product list price
bizzappdev 4ab7bf9
[FIX]remove sudo, fix active atep
bizzappdev d9979e3
[FIX]add class radio-card-container when steps not exist
bizzappdev 761b522
[FIX][T-00517]website_product_configurator : fix when configure step …
bizzappdev 05f2617
[FIX][T-00517]website_product_configurator : fix message when enter n…
bizzappdev a289ebc
[FIX][T-00517]website_product_configurator : write config step when c…
bizzappdev 6bc1e15
[IMP][T00517] website_product_configurator : add field in config sett…
f996ec1
[FIX][T-00517] website_product_configurator: fix the issue of label n…
bizzappdev e8833cb
[FIX]fix warning when next step is config
bizzappdev 2a09452
[IMP][T00517] website_product_configurator : write method for return …
6a66143
[IMP][T00517] website_product_configurator : change the method name
10f8f9a
[FIX]fix product page after configuration
bizzappdev 03ca072
[FIX][T-00517]website_product_configurator: fix css on radio buttons,…
bizzappdev 93c3c57
[FIX][T-00517]website_product_configurator: fix default_website_templ…
bizzappdev 7907173
[FIX][T-00517]website_product_configurator: add padding-top in cfg_fo…
bizzappdev 7b077fc
[FIX][T-00517]website_product_configurator: inherit _cart_update and …
bizzappdev d3ba060
[FIX][T-00517]website_product_configurator: enable add or remove butt…
bizzappdev 9694581
[FIX][T-00517]website_product_configurator: fix super call
bizzappdev 22b74e5
[FIX]add datetimepicker-input in datetime and date custom fields
bizzappdev 6906d78
[FIX] website_product_configurator: fix active step issue
bizzappdev 59d04d0
[FIX]change version in manifest file
bizzappdev 46ebce0
[FIX]website_product_configurator : solve pylint
2a8a9b7
[FIX] product_configurator: fix issue of config step
bizzappdev 3edfaf6
[FIX] website_product_configurator : Change condition in Configuratio…
371f881
[FIX]fix keyerror
bizzappdev 3063de1
[FIX] website_product_configurator : change for decimal_precision]
540ce1f
[FIX]website_product_configurator,product_configurator : change for d…
a3ba166
[FIX]website_product_configurator : change blockui
a8b5e29
[FIX]website_product_configurator : change v12 accoding to v11 commits
b64039f
[FIX]website_product_configurator : change v12 accoding to v11 commit
f4e9829
[FIX]website_product_configurator : change v12 accoding to v11 commit
b4ae78d
[FIX]website_product_configurator : change in v12 accoding to v11 commit
0c4e003
[FIX]fix flake8
bizzappdev 70be785
[FIX]add error code
bizzappdev f990c82
[FIX]fix flake8
bizzappdev 009f08a
[FIX]website_product_configurator : changes in v12 website_product_co…
7c53c11
[FIX]website_product_configurator : changes in v12 website_product_co…
83588d8
[WIP] product_configurator: add change for fix price extra issue
bizzappdev da09080
[FIX] product_configurator: fix issue price extra
bizzappdev 96102af
[FIX][ADD] website_product_configurator : add price_precision in extr…
dde990e
[FIX]website_product_configurator : change condition for extra_price
fcf853f
[FIX]fix space in text area
bizzappdev 8531ee2
[FIX]check value not exist
bizzappdev b23f8cd
Reseting website controller to main branch and remove old-code comments
PCatinean 97bd2fa
[FIX]change force_check_build: to submit_configuration:
bizzappdev 91f4c0e
[FIX] Tiny flake8 issue
PCatinean e0272b5
Removed oldcode comments since there is no inherit copy/paste functio…
PCatinean 1426224
[FIX]remove action_confirm from create_get_variant and call it from c…
bizzappdev fc84cc7
[FIX]remove self from controller while calling .action_confirm
bizzappdev 36a6dcb
[FIX]remove extra call for .create_get_variant
bizzappdev e937bac
[IMP][T-00542] product_configurator: make changes for default custom …
bizzappdev 9f68219
[FIX]product_configurator,website_product_configurator : chnages acco…
4ab882d
[IMP][T-00560] product_Configurator: for the restricted value check a…
bizzappdev 225b515
[IMP][T-00560] product_configurator: add attribute for required
bizzappdev b622565
[IMP][T-00560] product_configurator: add available vailable value
bizzappdev acef9fd
Added mt16 to custom field containers
PCatinean f6976d1
[IMP][T-00560] product_Configurator: custom value make required if at…
bizzappdev 2dd013d
[IMP][T-00560] product_Configurator: add changes
bizzappdev 7432e1a
[FIX]create js widget
bizzappdev bc0d5ec
[IMP]return deffered in _onChangeFile
bizzappdev 1133d34
[FIX]fix image click in radio button view
bizzappdev 482b9ec
[FIX]check for max value if exist in custom value
bizzappdev ce6e05d
[FIX][T-00560]use any() instead of filter
bizzappdev 1273ce5
[FIX][t-00563]add curser style
bizzappdev 14dc5a2
[WIP][T-00616] Product_configurator: show price_extra in attribute va…
bizzappdev 09663b9
[IMP][T-00616] Product_configurator: price extra changes
bizzappdev ea2747d
[FIX][T-00616]fix test case and code optimization
bizzappdev 1f7a2e0
[FIX][t-00616]fix price extra : access error
bizzappdev e102383
[FIX][T-00547]move code from onchage to new method apply_onchage_values
bizzappdev 7184910
[FIX][T-00616]find price from related product, and then loop out over…
bizzappdev b3fd182
[IMP][T-00633] website_product_configurator: make changes for textar…
bizzappdev 6ec9702
[IMP][T-00638]add field container in xml and a small fix in js
bizzappdev a90093d
[IMP]Add installable False to module from version 12
bizzappdev a07f6a3
[FIX]update manifest
bizzappdev c6d65d2
[IMP][T3200]add controller for session instead of product
bizzappdev f7bd4a3
[MIG]migrate website_product_configurator to v13
bizzappdev 8032ce7
[FIX]fix flak8
bizzappdev 4f6edf0
[FIX][T3200]change ccfg_image to class from id
bizzappdev ef2cbb3
[FIX][T3200]add session map only for sale order line get from context
bizzappdev 3f388db
[FIX]fix res config settings view
bizzappdev d30f1bc
[FIX]update po file
bizzappdev 37962a9
[FIX]fix flake8
bizzappdev a639266
[FIX][T3200]fix: input for custom value interger is not visible
bizzappdev 3e65641
[FIX][T3200]fix js error if no file selected in custom type attachmen…
bizzappdev a769de7
[FIX][T3200]add max-width of input for integer/float
bizzappdev 180e8ee
[FIX][3200]add product_configurator_sale in dependency
bizzappdev 2b8443a
[FIX][T3200]fix price in cart lines
bizzappdev 656f104
[FIX][T3200]fix images on onchange
bizzappdev 65bc5e1
[FIX][T3200]fix product session in context
bizzappdev c6bae12
[FIX][T3200]set images from js only of new images are exists
bizzappdev a61981a
[FIX]fix flake8 error
bizzappdev d4e7cb1
[FIX]fix flake8 and used env.ref instead of search for view in xml_id…
bizzappdev 330cf40
Update config_form.js (#181)
d73c062
[MIG] website_product_configurator
pledrateam 94e4207
[FIX] website_product_configurator : fix the image for attribute and …
pledrateam 6b5876c
[FIX] website_product_configurator : fix website page and image url.
pledrateam 08d2704
[FIX] write testcase for website_product_configurator
pledrateam 66d0cf1
[UPD] Update website_product_configurator.pot
oca-travis c151af1
[FIX]website_product_configurator: fix issue of cfg_product
pledrateam 8bd44aa
website_product_configurator 14.0.1.1.0
OCA-git-bot d0d8dd6
Add pcatinean as maintainer for all modules
PCatinean db2b4d7
[WIP][T-01839]product_configurator: remove price calculation from ses…
pledrateam 5a52a1a
[REF] *: fix PCatinean maintainer
dreispt 68db648
website_product_configurator 14.0.1.1.1
OCA-git-bot 9f4fa7d
[IMP] cron noupdate
patrickrwilson 2666b0c
website_product_configurator 14.0.1.2.0
OCA-git-bot b5ee56e
[IMP] update dotfiles [ci skip]
OCA-git-bot 620b82c
Update translation files
weblate 59619e5
[IMP] website_product_configurator: pre-commit auto fixes
bizzappdev 9003b30
[MIG][17.0] website_product_configurator:Migration to 17.0
bizzappdev 1542af4
[DON'T MERGE] test-requirements.txt
bizzappdev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
odoo-addon-product_configurator @ git+https://github.com/OCA/product-configurator.git@refs/pull/141/head#subdirectory=product_configurator | ||
odoo-addon-product_configurator_sale @ git+https://github.com/OCA/product-configurator.git@refs/pull/142/head#subdirectory=product_configurator_sale |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Odoo Product Configurator | ||
|
||
This module facilitates to configure product on website. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from . import models | ||
from . import controllers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "Website Product Configurator", | ||
"version": "17.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.esm.js", | ||
"website_product_configurator/static/src/js/website_sale.esm.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/website_config_tour.esm.js", | ||
], | ||
}, | ||
"demo": ["demo/product_template_demo.xml"], | ||
"images": ["static/description/cover.png"], | ||
"application": True, | ||
"installable": True, | ||
"development_status": "Beta", | ||
"maintainers": ["PCatinean"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import main |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you replace this with proper "readme section files" under a
readme
directory? 🙏🏻