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][MIG] web_m2x_options_manager : Migrated to 16.0. #2448

Closed
wants to merge 10 commits into from

Conversation

Ammar-OSI
Copy link

No description provided.

SilvioC2C and others added 9 commits March 13, 2023 22:53
- Fix postprocess inherit (removed from v15), and use _postprocess_tag_field
for create/edit options: In v14 it worked with inheriting the "postprocess"
method because in each recursive call it passed a section of the view, in the
way that it went through all the child nodes of the root node, and passed through
the fields, and now in v15 the method "_postprocess_view "it just does the while,
and we never go through the nodes.

- Fix pylint errors: xml-deprecated-tree-attributte, attribute-string-redundant,
translation-positional-used
@Ammar-OSI Ammar-OSI changed the title 16.0 mig option manager [16.0][MIG] web_m2x_options_manager : Migrated to 16.0. Mar 13, 2023
@Ammar-OSI Ammar-OSI force-pushed the 16.0-MIG-option_manager branch 2 times, most recently from 6642aea to b4ead22 Compare March 13, 2023 17:52
@yostashiro
Copy link
Member

Thanks for the migration. I might be missing something but the module does not seem to work with a quick functional test in runboat - created a record to remove options from the customer field in sales order, and it does not seem to affect the behavior.

image
image

@anothingguy
Copy link
Contributor

@Ammar-OSI this PR should depend on my PR: #2446 so that it can work

@@ -17,7 +17,7 @@
"demo": [
"demo/res_partner_demo_view.xml",
],
"depends": ["base", "web_m2x_options"],
"depends": ["base"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ammar-OSI: web_m2x_options_manager should depend on web_m2x_options

@@ -367,7 +367,7 @@ <h1 class="title">Web M2X Options Manager</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/web/tree/15.0/web_m2x_options_manager"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_m2x_options_manager"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/162/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/web/tree/14.0/web_m2x_options_manager"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_m2x_options_manager"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/162/14.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we have 14.0 here ? I think it should be 16.0

@patrickrwilson
Copy link

@Ammar-OSI can you work on comments and fix pre-commit?

@XanderDeMatteis
Copy link
Contributor

@Ammar-OSI this module does also not cover the options "no_create_edit: True" and "no_create": True. When these options are set, the force add command will still not work!

@QuocDuong1306
Copy link

QuocDuong1306 commented Aug 11, 2023

Hello @Ammar-OSI, thank you for your PR. I have created another PR to take over this PR:

Your feedback/review is welcome :)

@pedrobaeza pedrobaeza closed this Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.