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

[18.0][MIG] bi_sql_editor: Migration to 18.0 #938

Open
wants to merge 108 commits into
base: 18.0
Choose a base branch
from

Conversation

Copy link

@henrybackman henrybackman left a comment

Choose a reason for hiding this comment

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

Small change requests but overall looks good 👍

bi_sql_editor/models/bi_sql_view_field.py Outdated Show resolved Hide resolved
bi_sql_editor/models/bi_sql_view.py Outdated Show resolved Hide resolved
bi_sql_editor/models/bi_sql_view.py Outdated Show resolved Hide resolved
bi_sql_editor/views/view_bi_sql_view.xml Show resolved Hide resolved
@thienvh332 thienvh332 force-pushed the 18.0-mig-bi_sql_editor branch 2 times, most recently from 3acc48a to 213c15c Compare October 24, 2024 04:12
Copy link
Contributor

@sebalix sebalix left a comment

Choose a reason for hiding this comment

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

LG, small remarks

bi_sql_editor/models/bi_sql_view.py Outdated Show resolved Hide resolved
bi_sql_editor/models/bi_sql_view.py Outdated Show resolved Hide resolved
bi_sql_editor/models/bi_sql_view.py Outdated Show resolved Hide resolved
@thienvh332 thienvh332 force-pushed the 18.0-mig-bi_sql_editor branch 2 times, most recently from aa72ab4 to 9753795 Compare October 29, 2024 05:26
Copy link

@JrAdhoc JrAdhoc left a comment

Choose a reason for hiding this comment

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

LGTM

@sebalix
Copy link
Contributor

sebalix commented Nov 28, 2024

Hello @thienvh332 , you can drop your DON'T MERGE commit, all dependencies have been merged now :) Thanks!

legalsylvain and others added 17 commits November 29, 2024 10:58
…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
legalsylvain and others added 25 commits November 29, 2024 10:59
…le to implement that feature with optional='hide' on the field list view
…del Valid'. Avoid to reset to draft and to have to recreate view that can take a while, if the view is materialized
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/
Currently translated at 100.0% (140 of 140 strings)

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/es/
Currently translated at 19.2% (27 of 140 strings)

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/it/
Currently translated at 100.0% (140 of 140 strings)

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/it/
Currently translated at 100.0% (140 of 140 strings)

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/it/
…ating UI elements

When creating the UI for the SQL view, it is now possible to set a specific Parent Menu which will be used when creating the UI Menu for the report itself. The default value will be the `SQL Reports` menu.
Also, added the explanation on the `CONFIGURE.rst` file to have the description updated.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/
Currently translated at 100.0% (144 of 144 strings)

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/it/
Currently translated at 100.0% (144 of 144 strings)

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/sv/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: reporting-engine-17.0/reporting-engine-17.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-17-0/reporting-engine-17-0-bi_sql_editor/
Allow to call refresh materialized view with an explicit lang passed in
the context and have this get priority over the user's lang
@thienvh332
Copy link
Author

you can drop your DON'T MERGE commit, all dependencies have been merged now :) Thanks!

Hi @sebalix ,
Thanks, I updated it.

@sebalix sebalix added this to the 18.0 milestone Nov 29, 2024
Copy link
Contributor

@sebalix sebalix left a comment

Choose a reason for hiding this comment

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

Getting back on my review, I couldn't create SQL objects on a demo report (on runbot):
image
Can you check this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.