Skip to content

Commit

Permalink
[IMP] bi_sql_editor : better display of UI settings
Browse files Browse the repository at this point in the history
  • Loading branch information
legalsylvain committed Jul 23, 2024
1 parent 75e63bc commit 41b2bae
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions bi_sql_editor/views/view_bi_sql_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,16 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
name="technical_name"
attrs="{'readonly': [('state', '!=', 'draft')]}"
/>
<field name="view_order" />
<field name="is_materialized" />
<field
name="size"
attrs="{'invisible': ['|', ('state', '=', 'draft'), ('is_materialized', '=', False)]}"
/>
<field
name="cron_id"
attrs="{'invisible': ['|', ('state', 'in', ('draft', 'sql_valid')), ('is_materialized', '=', False)]}"
/>
</group>
<group>
<field name="view_order" />
<field name="parent_menu_id" />
</group>
</group>
<page name="page_sql" position="after">
<page
Expand Down Expand Up @@ -188,26 +187,25 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<page string="Extras Information">
<group>
<group string="Technical Details">
<field
name="cron_id"
attrs="{'invisible': ['|', ('state', 'in', ('draft', 'sql_valid')), ('is_materialized', '=', False)]}"
/>
<field name="view_name" />
<field name="model_name" />
<field
name="model_id"
attrs="{'invisible': [('state', '=', 'draft')]}"
/>
</group>
<group string="User Interface">
<group string="UI Parameters">
<field name="parent_menu_id" />
</group>
<group string="UI Instances">
<field name="form_view_id" />
<field name="tree_view_id" />
<field name="graph_view_id" />
<field name="pivot_view_id" />
<field name="search_view_id" />
<field name="action_id" />
<field name="menu_id" />
</group>
<group string="UI Instances">
<field name="form_view_id" />
<field name="tree_view_id" />
<field name="graph_view_id" />
<field name="pivot_view_id" />
<field name="search_view_id" />
<field name="action_id" />
<field name="menu_id" />
</group>
</group>
</page>
Expand Down

0 comments on commit 41b2bae

Please sign in to comment.