Commit Graph

23 Commits

Author SHA1 Message Date
GuillemCForgeFlow
fdec58782b [IMP]bi_sql_editor: archive Scheduled Action to not recreate when resetting the SQL View
Based on the agreed solution: https://github.com/OCA/reporting-engine/pull/903#pullrequestreview-2273835493. It is best to archive the Scheduled Action every time you set back to the draft state. Then, when creating the SQL view, if it is a materialized view, unarchive the Scheduled Action if already exists, otherwise create it from scratch.
Then, if the SQL View is deleted, also make sure to remove the Scheduled Action if there is one assigned as it has not been done in the `button_set_draft` method
2024-09-02 12:56:55 +02:00
GuillemCForgeFlow
27c30863f4 [IMP]bi_sql_editor: add parent menu as an editable parameter when creating 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.
2024-06-04 13:13:28 +02:00
Laurent-Corron
ae6d5a659c [IMP] report_qweb_signer: Black python code 2021-06-29 10:17:33 +02:00
HviorForgeFlow
150b71d194 [MIG] bi_sql_editor: Migration to 13.0 2020-05-26 13:51:11 +02:00
HviorForgeFlow
ab6b702d57 [IMP] bi_sql_editor: black, isort, prettier 2020-05-26 13:36:21 +02:00
Sylvain LE GAL
913f4da4e3 [ADD] action context 2020-05-26 13:36:21 +02:00
hveficent
ef2989ca7f change SQL mapping for date 2020-05-26 13:36:21 +02:00
hveficent
e0706c44a2 [FIX] bi_sql_editor: Add required attribute name on filters 2020-05-26 13:36:21 +02:00
Adrià Gil Sorribes
5072059c4f [12.0][MIG] Migrate module bi_sql_editor to v12 2020-05-26 13:36:21 +02:00
mreficent
de78c60c89 [FIX] Solves the upgrading problem 2020-05-26 13:36:21 +02:00
mreficent
3d5f824467 [IMP] remove unneeded parenthesis 2020-05-26 13:36:21 +02:00
mreficent
96379674f8 [FIX] ir.cron relation 2020-05-26 13:36:21 +02:00
hveficent
0c9a8d39df [FIX] Can be upgraded with materialized views generated 2020-05-26 13:36:21 +02:00
hveficent
5735843d14 [MIG] bi_sql_editor: Migration to 11.0 2020-05-26 13:36:21 +02:00
Sylvain LE GAL
1e19c203d5 10.0 imp bi sql editor (#1)
* [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
2020-05-26 13:36:20 +02:00
Patrick Tombez
6a1caf24b4 Fix several issues
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
2020-05-26 13:36:20 +02:00
Darshan Patel
5cf60df708 [IMP] preview button 2020-05-26 13:36:20 +02:00
Darshan Patel
985835521a [MIG] bi_sql_editor v10 2020-05-26 13:36:20 +02:00
nicomacr
9d41492e66 FIX bi_sql_editor 2020-05-26 13:36:20 +02:00
aheficent
d3df5d6777 [IMP] Add test + several fixes 2020-05-26 13:36:20 +02:00
Sylvain LE GAL
9ad2c5ddae create ui now create tree view [IMP] fr translation [IMP] add last refresh date time on the action name of each sql materialized view 2020-05-26 13:36:20 +02:00
nicomacr
57aca5f55f bi_sql_editor 2020-05-26 13:36:20 +02:00
Sylvain LE GAL
4ce9447e5c new module bi_sql_editor [IMP] function to guess model for many2one field; [ADD] security 2020-05-26 13:36:20 +02:00