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] cms_form: migrate to v16 #130

Merged
merged 69 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
fcf2c9f
cms_form: apply pre-commit
simahawk Jul 11, 2023
fae2a05
cms_form: prepare for v16 (and remove 'website')
simahawk Jul 11, 2023
0122763
cms_form: refactor class init and attributes
simahawk Jul 11, 2023
2178b34
cms_form: fix status msg add after rollback
simahawk Jul 11, 2023
d5d3a21
cms_form: mig widgets
simahawk Jul 12, 2023
17530b3
cms_form: make Serialized field fail gracefully
simahawk Jul 12, 2023
5701fac
cms_form: add TODO for templates
simahawk Jul 12, 2023
3ed1658
cms_form: ease custom widget declaration
simahawk Jul 13, 2023
cb4b484
cms_form: add _form_fields_attributes_get
simahawk Jul 13, 2023
d405d4f
cms_form: fix url tests
simahawk Jul 13, 2023
51b806c
cms_form: x2m widget defaults to []
simahawk Jul 13, 2023
c36d676
cms_form: add form_fname_pattern
simahawk Jul 14, 2023
655dddc
cms_form: improve tests.utils.fake_form
simahawk Jul 14, 2023
52ee0e6
cms_form: add some todos
simahawk Jul 14, 2023
6e6e2e0
cms_form: refactor marshaller as class
simahawk Jul 14, 2023
e808041
cms_form: add :dict:list marshaller
simahawk Jul 14, 2023
1acd7a3
cms_form: fix/imp request test utils
simahawk Jul 14, 2023
a12afbd
cms_form: fix controllers rendering and tests
simahawk Jul 14, 2023
23ba478
cms_form: fix usage of t-raw in tmpl
simahawk Jul 14, 2023
c70d167
cms_form: do not break if model has no url field
simahawk Jul 14, 2023
94b7045
cms_form: add field for wrapper template
simahawk Jul 14, 2023
f524dbd
cms_form: fix wizard storage
simahawk Jul 14, 2023
019e2be
cms_form: wizard load defaults from storage
simahawk Jul 14, 2023
935d568
cms_form: introduce form_data field
simahawk Jul 18, 2023
ca1c3b6
cms_form: add form_get_current_widget
simahawk Jul 18, 2023
076e157
cms_form: fix wizard session store
simahawk Jul 18, 2023
11b2f6d
cms_form: widget mixin default to no value
simahawk Jul 18, 2023
8578b43
cms_form: add readonly form mode
simahawk Jul 20, 2023
85a7024
cms_form: merge fields rather than replace
simahawk Jul 20, 2023
1fdd198
cms_form: support form_hidden attribute
simahawk Jul 20, 2023
c653c9b
cms_form: add ctrl to render portion of forms
simahawk Jul 20, 2023
2640344
cms_form: support wizard form reset on demand
simahawk Jul 20, 2023
fc8e670
cms_form: add wizard.is_final_step_process helper
simahawk Jul 20, 2023
87f26f3
cms_form: widget mixin ease json data conversion
simahawk Jul 20, 2023
2a3fe44
cms_form: fix wiz last step next url
simahawk Jul 24, 2023
b37b0c5
cms_form: cms.form add mesage after all hooks
simahawk Jul 24, 2023
febab12
cms_form: add TODO to fix widget ids
simahawk Jul 24, 2023
db3df8e
cms_form: fix warning for exc attribute
simahawk Jul 24, 2023
0ba444b
cms_form: wipe wiz storage after last step complete
simahawk Jul 24, 2023
14f53a3
cms_form: fix wrapper tmpl id
simahawk Jul 24, 2023
e55deea
cms_form: fix wiz btn position
simahawk Jul 25, 2023
9ac46c8
cms_form: fix session de-serialization
simahawk Jul 25, 2023
f17a508
cms_form: add search no result tmpl
simahawk Aug 3, 2023
7f9e889
cms_form: fix widget.mixin extract corner case
simahawk Aug 4, 2023
85bd3ac
cms_form: widget init allow direct fields init
simahawk Sep 11, 2023
f5aa3e2
cms_form: support mix/max for numeric widgets
simahawk Sep 11, 2023
cad9ef8
cms_form: allow txt input pattern validation
simahawk Sep 11, 2023
c47a7b5
cms_form: allow custom field wrapper tmpl and class by widget
simahawk Sep 13, 2023
ee8f3aa
cms_form: add widget.html_value
simahawk Sep 13, 2023
ec882b6
cms_form: fix boolean widget class
simahawk Sep 13, 2023
5f77e89
cms_form: fix disabled checkbox
simahawk Sep 13, 2023
30de0fb
cms_form: fix textarea random white spaces
simahawk Sep 13, 2023
81f9ee3
cms_form: fix wiz form_load_defaults
simahawk Sep 18, 2023
f2d0ce4
cms_form: add basic file widget
simahawk Sep 18, 2023
7102db0
cms_form: fix master/slave JS
simahawk Sep 18, 2023
98d135b
cms_form: add wizard.wiz_load_steps
simahawk Sep 19, 2023
e4fdad2
cms_form: fix binary file value handling
simahawk Sep 19, 2023
f5b78c7
cms_form: fix widget.w_load none value
simahawk Sep 19, 2023
49f3ba2
cms_form: fix marshallers tests
simahawk Sep 19, 2023
4753bac
cms_form: fix marshaller cleanup
simahawk Sep 19, 2023
f030437
cms_form: add :file marshaller
simahawk Sep 19, 2023
87652e8
cms_form: prevent deprecate warning on perm tests
simahawk Sep 20, 2023
e5270d0
cms_form: improve utils.safe_to_float
simahawk Sep 20, 2023
969c2ab
cms_form: form_load_defaults use form_data if available
simahawk Sep 20, 2023
8da3c91
cms_form: fix number tests
simahawk Sep 20, 2023
bcfbd6d
cms_form: fix x2m tests
simahawk Sep 20, 2023
c238044
cms_form: fix form base test default
simahawk Sep 20, 2023
310acb1
cms_form: fix master/slave js handle required
simahawk Sep 22, 2023
ec17594
cms_form: fix linting
simahawk Oct 31, 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
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
exclude: |
(?x)
# NOT INSTALLABLE ADDONS
^cms_form/|
^cms_form_example/|
# END NOT INSTALLABLE ADDONS
# Files and folders generated by bots, to avoid loops
Expand Down
343 changes: 0 additions & 343 deletions cms_form/CHANGES.rst

This file was deleted.

4 changes: 2 additions & 2 deletions cms_form/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
CMS Form
========

Basic website contents form framework. Allows to define front-end forms for every models in a simple way.
Advanced contents form framework. Allows to define front-end forms for every models in a simple way.

If you are tired of re-defining every time an edit form or a search form for your odoo website,
If you are tired of re-defining every time an edit form or a search form for your odoo portal or website,
this is the module you are looking for.

Features
Expand Down
Loading
Loading