mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] sql_export_excel: black, isort, prettier
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
@@ -8,11 +8,26 @@
|
||||
<field name="inherit_id" ref="sql_export.sql_export_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="file_format" position="after">
|
||||
<field name="header" attrs="{'invisible': [('file_format', '=', 'csv')]}"/>
|
||||
<field name="attachment_id" attrs="{'invisible': [('file_format', '!=', 'excel')]}"/>
|
||||
<field name="sheet_position" attrs="{'invisible': [('attachment_id', '=', False)]}"/>
|
||||
<field name="row_position" attrs="{'invisible': [('attachment_id', '=', False)]}"/>
|
||||
<field name="col_position" attrs="{'invisible': [('attachment_id', '=', False)]}"/>
|
||||
<field
|
||||
name="header"
|
||||
attrs="{'invisible': [('file_format', '=', 'csv')]}"
|
||||
/>
|
||||
<field
|
||||
name="attachment_id"
|
||||
attrs="{'invisible': [('file_format', '!=', 'excel')]}"
|
||||
/>
|
||||
<field
|
||||
name="sheet_position"
|
||||
attrs="{'invisible': [('attachment_id', '=', False)]}"
|
||||
/>
|
||||
<field
|
||||
name="row_position"
|
||||
attrs="{'invisible': [('attachment_id', '=', False)]}"
|
||||
/>
|
||||
<field
|
||||
name="col_position"
|
||||
attrs="{'invisible': [('attachment_id', '=', False)]}"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user