-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
[18.0][MIG] server_action_mass_edit: Migration to 18.0 #951
base: 18.0
Are you sure you want to change the base?
Conversation
…avoid incompatibilities with data from those users.
Currently translated at 100.0% (43 of 43 strings) Translation: server-ux-16.0/server-ux-16.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-server_action_mass_edit/tr/
Currently translated at 18.6% (8 of 43 strings) Translation: server-ux-16.0/server-ux-16.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-server_action_mass_edit/sl/
Currently translated at 100.0% (43 of 43 strings) Translation: server-ux-16.0/server-ux-16.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-server_action_mass_edit/es/
Currently translated at 58.1% (25 of 43 strings) Translation: server-ux-16.0/server-ux-16.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-server_action_mass_edit/it/
Currently translated at 95.3% (41 of 43 strings) Translation: server-ux-16.0/server-ux-16.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-server_action_mass_edit/fr/
Currently translated at 100.0% (43 of 43 strings) Translation: server-ux-16.0/server-ux-16.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-server_action_mass_edit/de/
Currently translated at 100.0% (43 of 43 strings) Translation: server-ux-16.0/server-ux-16.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-server_action_mass_edit/it/
Currently translated at 100.0% (43 of 43 strings) Translation: server-ux-16.0/server-ux-16.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-16-0/server-ux-16-0-server_action_mass_edit/sv/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: server-ux-17.0/server-ux-17.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-server_action_mass_edit/
Currently translated at 100.0% (44 of 44 strings) Translation: server-ux-17.0/server-ux-17.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-server_action_mass_edit/es_MX/
Currently translated at 100.0% (44 of 44 strings) Translation: server-ux-17.0/server-ux-17.0-server_action_mass_edit Translate-URL: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-server_action_mass_edit/it/
29381ab
to
0f93b99
Compare
/ocabot migration server_action_mass_edit |
@trisdoan Hi! I tested the module but it didn't worked. This are the last lines of the error: |
0f93b99
to
7399b98
Compare
Hi @florenciafrigieri2, thank you for the review I just added a fix, could you please try again? |
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.
I don't see the error mentioned by @florenciafrigieri2 anymore, but I am not familiar with this module !
Code review looks good.
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.
Couple of minor comments
|
||
@common.tagged("-at_install", "post_install") | ||
class TestMassEditing(common.TransactionCase): | ||
def setUp(self): |
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.
Would setUpClass
work for the common test setup to avoid running the setup separately for each test case?
def test_wiz_fields_view_get(self): | ||
"""Test whether fields_view_get method returns arch. |
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.
def test_wiz_fields_view_get(self): | |
"""Test whether fields_view_get method returns arch. | |
def test_wiz_get_view(self): | |
"""Test whether get_view method returns arch. |
return vals_list | ||
|
||
def read(self, fields=None, load="_classic_read"): | ||
"""Without this call, dynamic fields build by fields_view_get() |
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.
"""Without this call, dynamic fields build by fields_view_get() | |
"""Without this call, dynamic fields build by get_view() |
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.
Functional test! Now is working ok!
This PR has the |
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.
See @stefsava comment.
Hello @stefsava, I checked and it looks to me that the issue is not because of the module |
Hello @trisdoan your suggestion doesn't solve my use case. If I change create='true' I can see "Add a row", but the choice doesn't lead to anything useful. Instead I found a workaround that brings the behavior back to that of 17.0 that I think can help you understand the problem detected. I discovered that 17.0 only has the view "product.template.attribute.line.form" while My workaround was simply to deactive the list view, although I fear it may introduce regressions elsewhere. |
No description provided.