[IMP] bi_sql_editor : use ace widget

This commit is contained in:
Sylvain LE GAL
2021-12-17 10:10:39 +01:00
parent f8f4171159
commit b6083b660e

View File

@@ -69,7 +69,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
</group>
<notebook>
<page string="SQL Query">
<field name="query" nolabel="1" colspan="4" attrs="{'readonly': [('state', '!=', 'draft')]}"/>
<field name="query" nolabel="1" colspan="4" attrs="{'readonly': [('state', '!=', 'draft')]}" widget="ace"/>
</page>
<page string="SQL Fields" attrs="{'invisible': [('state', '=', 'draft')]}">
<field name="bi_sql_view_field_ids" nolabel="1" colspan="4" attrs="{'readonly': [('state', '!=', 'sql_valid')]}">