[19.0][MIG] bi_sql_editor: Migration to 19.0#1102
Conversation
…ield; [ADD] security
…fresh date time on the action name of each sql materialized view
Fix error '... is not a table or foreign table' Fix view (colors + oe_highlight) Fix tests Fix README + manifest Fix back to draft Fix cron call + default values Use Postgres version 9.6 for travis builds
* [IMP] is_materialized field non readonly on sql_valid state ; [FIX] block possibility to set indexes on non materialized view * [FIX] set domain_force, group_ids readonly if state > sql_valid * [IMP] better display of the field group_ids * [IMP] possibility to reorder menu items from sql views * [IMP] Do not warn user when setting sql view to draft if state is sql_valid * [REF] * [FIX] Set Date of the first execution in the action name
[UPD] Update bi_sql_editor.pot [UPD] Update bi_sql_editor.pot [UPD] Update bi_sql_editor.pot
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
bi_sql_editor 12.0.1.1.0 [UPD] README.rst [UPD] README.rst
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: reporting-engine-12.0/reporting-engine-12.0-bi_sql_editor Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-bi_sql_editor/
Currently translated at 29.1% (32 of 110 strings) Translation: reporting-engine-12.0/reporting-engine-12.0-bi_sql_editor Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-bi_sql_editor/de/
| def _get_user(cls, access_level=False): | ||
| if access_level == "manager": | ||
| cls.demo_user.write({"groups_id": [(6, 0, cls.group_bi_manager.ids)]}) | ||
| cls.demo_user.write({"group_ids": [(6, 0, cls.group_bi_manager.ids)]}) |
There was a problem hiding this comment.
Can you check the commit “[MIG] bi_sql_editor: Migration to 19.0”? It's like that.
yankinmax
left a comment
There was a problem hiding this comment.
Thanks for taking care of suggestions
4927854 to
3144fdc
Compare
8cc1347 to
b66eb95
Compare
vvrossem
left a comment
There was a problem hiding this comment.
I agree with @yankinmax: it would be a nice opportunity to use Command instead of keeping the "old" way
| </record> | ||
| <record id="sql_request_abstract.group_sql_request_user" model="res.groups"> | ||
| <field name="users" eval="[(4, ref('base.user_demo'))]" /> | ||
| <field name="user_ids" eval="[(4, ref('base.user_demo'))]" /> |
There was a problem hiding this comment.
| <field name="user_ids" eval="[(4, ref('base.user_demo'))]" /> | |
| <field name="user_ids" eval="[Command.link(ref('base.user_demo'))]" /> |
| @@ -3,11 +3,11 @@ | |||
|
|
|||
| from odoo.exceptions import AccessError, UserError, ValidationError | |||
| from odoo.tests import tagged | |||
There was a problem hiding this comment.
| from odoo.tests import tagged | |
| from odoo.tests import new_test_user, tagged |
| cls.group_bi_no_access = cls.env.ref("base.group_user") | ||
| cls.demo_user = cls.env.ref("base.user_demo") | ||
| cls.view = cls.env.ref("bi_sql_editor.partner_sql_view") | ||
| cls.demo_user = cls.env["res.users"].create( |
There was a problem hiding this comment.
| cls.demo_user = cls.env["res.users"].create( | |
| cls.demo_user = new_test_user(cls.env, login='demo_bi_sql', groups='base.group_user', name='Demo User', email='demo@example.com') |
|
@lef-adhoc how is going with this one? |
b66eb95 to
887773e
Compare
|
@lef-adhoc Would it be possible to update When running this test in my module, it currently fails due to search mismatches: |
|
Hello @lef-adhoc , can you pls address the suggestions and finish the migration? |
887773e to
f31b335
Compare
|
@yankinmax Done! |
|
@lef-adhoc the related PR is merged, and we can ping maintainers to merge this one. Can you update? |
f31b335 to
088160d
Compare
|
Hello @HviorForgeFlow |
|
@yankinmax Done, I deleted the commit |
|
This PR has the |
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at 429646a. Thanks a lot for contributing to OCA. ❤️ |
Depends on: