[MIG] sql_request_abstract from 15.0 to 16.0

- Add new main entry menu for SQL configuration
- Add abstract tree view
- Add abstract form view
- ADD ace/mode-pgsql.js file to have syntaxic coloration in sql field
- move has_grouped_changed from bi_sql_editor to sql_request_abstract
- remove main menu entries, replaced by new spreadsheet menu entries in V16
- update translation
- IMP : inherit from mail.thread to use chatter
- ADD : new note fields
- REF : add comment on has_grouped_changed field
This commit is contained in:
Sylvain LE GAL
2022-10-25 22:36:46 +02:00
committed by chien
parent a7a94b95a2
commit 965df8fe09
12 changed files with 1930 additions and 42 deletions

View File

@@ -0,0 +1,7 @@
This module add the 'pgsql' mode syntax for the ace widget.
(the ace widget is used in odoo web module, but only with
the xml and python mode).
The file is a copy of the file present here
(https://github.com/ajaxorg/ace-builds/blob/v1.12.3/src/mode-pgsql.js
(Release 18 Oct 2022)

View File

@@ -1,5 +1,7 @@
Inherit the model:
.. code-block:: python
from odoo import models
class MyModel(models.model)
@@ -9,3 +11,6 @@ Inherit the model:
_sql_request_groups_relation = 'my_model_groups_rel'
_sql_request_users_relation = 'my_model_users_rel'
See implementations in the modules ``bi_sql_editor`` and ``sql_export``. (same OCA/reporting-engine repository)