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

[MERGE][REF] web: remove qweb #130467

Closed
wants to merge 15 commits into from

Conversation

jpp-odoo
Copy link
Contributor

@jpp-odoo jpp-odoo commented Aug 2, 2023

The aim of this PR, is to remove qweb and use owl to render all the templates.

task~3443861

@robodoo
Copy link
Contributor

robodoo commented Aug 2, 2023

@jpp-odoo jpp-odoo force-pushed the master-remove_qweb_render-jpp branch 2 times, most recently from af83db3 to e18cb92 Compare August 2, 2023 06:59
@C3POdoo C3POdoo added the RD research & development, internal work label Aug 2, 2023
@jpp-odoo jpp-odoo force-pushed the master-remove_qweb_render-jpp branch 26 times, most recently from 1b1f893 to 7e5b9a4 Compare August 4, 2023 06:30
fw-bot pushed a commit to odoo-dev/odoo that referenced this pull request Feb 29, 2024
Since the PR [1] changed the rendering engine of qweb, the default
"selected" value set on selects field on the form snippet were lost once
the page is saved.

This commit builds upon the changes made in [this commit] by reinstating
the default "selected" value.

Steps to replicate:

- Go to Website -> Edit.
- Drop a Form snippet onto the page.
- Click on the 'Company' field.
- In Field > Type, opt for "Selection".
- Choose option 3 from the options list to establish it as the default.
- Save the modifications.

Issue: The expected default value for the selection field is not
retained after saving.

[1]: odoo#130467
[this commit]: odoo@b42e9cc

task-3767819

X-original-commit: dd50481
robodoo pushed a commit that referenced this pull request Mar 1, 2024
Since the PR [1] changed the rendering engine of qweb, the default
"selected" value set on selects field on the form snippet were lost once
the page is saved.

This commit builds upon the changes made in [this commit] by reinstating
the default "selected" value.

Steps to replicate:

- Go to Website -> Edit.
- Drop a Form snippet onto the page.
- Click on the 'Company' field.
- In Field > Type, opt for "Selection".
- Choose option 3 from the options list to establish it as the default.
- Save the modifications.

Issue: The expected default value for the selection field is not
retained after saving.

[1]: #130467
[this commit]: b42e9cc

task-3767819

closes #155977

X-original-commit: dd50481
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
robodoo pushed a commit that referenced this pull request Mar 1, 2024
Since the PR [1] changed the rendering engine of qweb, the default
"selected" value set on selects field on the form snippet were lost once
the page is saved.

This commit builds upon the changes made in [this commit] by reinstating
the default "selected" value.

Steps to replicate:

- Go to Website -> Edit.
- Drop a Form snippet onto the page.
- Click on the 'Company' field.
- In Field > Type, opt for "Selection".
- Choose option 3 from the options list to establish it as the default.
- Save the modifications.

Issue: The expected default value for the selection field is not
retained after saving.

[1]: #130467
[this commit]: b42e9cc

task-3767819

closes #155988

X-original-commit: dd50481
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
rdeodoo added a commit to odoo-dev/odoo that referenced this pull request Mar 4, 2024
Same fix as for checkbox (commit [1]) and select (commit [2]).
The radio buttons were forgotten.

Check commit [1] for in-depth explanation, but this is basically because
since the qweb engine conversion to OWL (done at [3]), it would toggle
the internal `checked` value and not the `checked` attribute anymore.

[1]: odoo@b42e9cc
[2]: odoo@dd50481
[3]: odoo#130467

opw-3755078
robodoo pushed a commit that referenced this pull request Mar 6, 2024
Same fix as for checkbox (commit [1]) and select (commit [2]).
The radio buttons were forgotten.

Check commit [1] for in-depth explanation, but this is basically because
since the qweb engine conversion to OWL (done at [3]), it would toggle
the internal `checked` value and not the `checked` attribute anymore.

[1]: b42e9cc
[2]: dd50481
[3]: #130467

opw-3755078

closes #156666

Signed-off-by: Robin Lejeune (role) <role@odoo.com>
fw-bot pushed a commit to odoo-dev/odoo that referenced this pull request Mar 6, 2024
Same fix as for checkbox (commit [1]) and select (commit [2]).
The radio buttons were forgotten.

Check commit [1] for in-depth explanation, but this is basically because
since the qweb engine conversion to OWL (done at [3]), it would toggle
the internal `checked` value and not the `checked` attribute anymore.

[1]: odoo@b42e9cc
[2]: odoo@dd50481
[3]: odoo#130467

opw-3755078

X-original-commit: d683947
fw-bot pushed a commit to odoo-dev/odoo that referenced this pull request Mar 6, 2024
Same fix as for checkbox (commit [1]) and select (commit [2]).
The radio buttons were forgotten.

Check commit [1] for in-depth explanation, but this is basically because
since the qweb engine conversion to OWL (done at [3]), it would toggle
the internal `checked` value and not the `checked` attribute anymore.

[1]: odoo@b42e9cc
[2]: odoo@dd50481
[3]: odoo#130467

opw-3755078

X-original-commit: d683947
robodoo pushed a commit that referenced this pull request Mar 7, 2024
Same fix as for checkbox (commit [1]) and select (commit [2]).
The radio buttons were forgotten.

Check commit [1] for in-depth explanation, but this is basically because
since the qweb engine conversion to OWL (done at [3]), it would toggle
the internal `checked` value and not the `checked` attribute anymore.

[1]: b42e9cc
[2]: dd50481
[3]: #130467

opw-3755078

closes #156818

X-original-commit: d683947
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
robodoo pushed a commit that referenced this pull request Mar 7, 2024
Same fix as for checkbox (commit [1]) and select (commit [2]).
The radio buttons were forgotten.

Check commit [1] for in-depth explanation, but this is basically because
since the qweb engine conversion to OWL (done at [3]), it would toggle
the internal `checked` value and not the `checked` attribute anymore.

[1]: b42e9cc
[2]: dd50481
[3]: #130467

opw-3755078

closes #156804

X-original-commit: d683947
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
MohammedBasioni pushed a commit to odoo-dev/odoo that referenced this pull request Mar 8, 2024
Same fix as for checkbox (commit [1]) and select (commit [2]).
The radio buttons were forgotten.

Check commit [1] for in-depth explanation, but this is basically because
since the qweb engine conversion to OWL (done at [3]), it would toggle
the internal `checked` value and not the `checked` attribute anymore.

[1]: odoo@b42e9cc
[2]: odoo@dd50481
[3]: odoo#130467

opw-3755078

closes odoo#156818

X-original-commit: d683947
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
thle-odoo pushed a commit to odoo-dev/odoo that referenced this pull request Mar 8, 2024
Since the PR [1] changed the rendering engine of qweb, the default
"selected" value set on selects field on the form snippet were lost once
the page is saved.

This commit builds upon the changes made in [this commit] by reinstating
the default "selected" value.

Steps to replicate:

- Go to Website -> Edit.
- Drop a Form snippet onto the page.
- Click on the 'Company' field.
- In Field > Type, opt for "Selection".
- Choose option 3 from the options list to establish it as the default.
- Save the modifications.

Issue: The expected default value for the selection field is not
retained after saving.

[1]: odoo#130467
[this commit]: odoo@b42e9cc

task-3767819

closes odoo#155988

X-original-commit: dd50481
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
thle-odoo pushed a commit to odoo-dev/odoo that referenced this pull request Mar 8, 2024
Same fix as for checkbox (commit [1]) and select (commit [2]).
The radio buttons were forgotten.

Check commit [1] for in-depth explanation, but this is basically because
since the qweb engine conversion to OWL (done at [3]), it would toggle
the internal `checked` value and not the `checked` attribute anymore.

[1]: odoo@b42e9cc
[2]: odoo@dd50481
[3]: odoo#130467

opw-3755078

closes odoo#156818

X-original-commit: d683947
Signed-off-by: Robin Lejeune (role) <role@odoo.com>
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Mar 14, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Mar 14, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Mar 14, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].
- Change qty_done to quantity and picked = True as part of [3].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
[3] odoo/odoo#137864
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Mar 14, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].
- Change qty_done to quantity and picked = True as part of [3].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
[3] odoo/odoo#137864
xlu-odoo pushed a commit to odoo-dev/design-themes that referenced this pull request Mar 14, 2024
As all the templates are now imported in the owl app, there is not need
anymore to specify the owl="1" attribute in the templates.

Part of task~3443861

closes odoo#686

Related: odoo/enterprise#45020
Related: odoo/odoo#130467
Signed-off-by: Samuel Degueldre (sad) <sad@odoo.com>
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Apr 1, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].
- Change qty_done to quantity and picked = True as part of [3].
- Adapt use of read_group to _read_group as part of [4].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
[3] odoo/odoo#137864
[4] odoo/odoo#110737
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Apr 1, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].
- Change qty_done to quantity and picked = True as part of [3].
- Adapt use of read_group to _read_group as part of [4].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
[3] odoo/odoo#137864
[4] odoo/odoo#110737
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Apr 1, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].
- Change qty_done to quantity and picked = True as part of [3].
- Adapt use of read_group to _read_group as part of [4].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
[3] odoo/odoo#137864
[4] odoo/odoo#110737
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Apr 3, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].
- Change qty_done to quantity and picked = True as part of [3].
- Adapt use of read_group to _read_group as part of [4].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
[3] odoo/odoo#137864
[4] odoo/odoo#110737
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Apr 4, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].
- Change qty_done to quantity and picked = True as part of [3].
- Adapt use of read_group to _read_group as part of [4].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
[3] odoo/odoo#137864
[4] odoo/odoo#110737
xmglord added a commit to vauxoo-dev/addons-vauxoo that referenced this pull request Apr 4, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].
- Change qty_done to quantity and picked = True as part of [3].
- Adapt use of read_group to _read_group as part of [4].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
[3] odoo/odoo#137864
[4] odoo/odoo#110737
luisg123v pushed a commit to Vauxoo/addons-vauxoo that referenced this pull request Apr 4, 2024
- Simplify the way to define modifiers as states, required, readonly,
  invisible and column_invisible as part of [1].
- Remove owl="1" from OWL templates, as it's not needed anymore as all
  of them are OWL now as part of [2].
- Change qty_done to quantity and picked = True as part of [3].
- Adapt use of read_group to _read_group as part of [4].

[1] odoo/odoo#104741
[2] odoo/odoo#130467
[3] odoo/odoo#137864
[4] odoo/odoo#110737
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
16.5 RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants