mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] bi_sql_editor : add field context
This commit is contained in:
committed by
OCA-git-bot
parent
edecab16a2
commit
c55dc6f287
@@ -98,6 +98,7 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
name="cron_id"
|
||||
attrs="{'invisible': ['|', ('state', 'in', ('draft', 'sql_valid')), ('is_materialized', '=', False)]}"
|
||||
/>
|
||||
<field name="option_context_field" />
|
||||
</group>
|
||||
</group>
|
||||
<page name="page_sql" position="after">
|
||||
@@ -160,6 +161,13 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
optional="hide"
|
||||
attrs="{'invisible': [('field_description', '=', False)]}"
|
||||
/>
|
||||
<field
|
||||
name="field_context"
|
||||
attrs="{
|
||||
'invisible': [('field_description', '=', False)],
|
||||
'column_invisible': [('parent.option_context_field', '=', False)],
|
||||
}"
|
||||
/>
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
|
||||
Reference in New Issue
Block a user