[IMP] sql_export: black, isort, prettier

This commit is contained in:
Florian da Costa
2021-03-22 16:15:37 +01:00
committed by David Beal
parent 27c69271ac
commit e7f482ab37
9 changed files with 306 additions and 205 deletions

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<data>
@@ -7,17 +7,32 @@
<field name="model">sql.file.wizard</field>
<field name="arch" type="xml">
<form string="Csv File">
<separator string="variables_placeholder" colspan="4" invisible="1"/>
<separator string="Export file" colspan="4"
attrs="{'invisible': [('binary_file', '=', False)]}"/>
<field name="binary_file" filename="file_name"/>
<field name="file_name" invisible="1"/>
<separator
string="variables_placeholder"
colspan="4"
invisible="1"
/>
<separator
string="Export file"
colspan="4"
attrs="{'invisible': [('binary_file', '=', False)]}"
/>
<field name="binary_file" filename="file_name" />
<field name="file_name" invisible="1" />
<footer>
<button name="export_sql" string="Export" type="object"
icon="fa-download"/>
<button
name="export_sql"
string="Export"
type="object"
icon="fa-download"
/>
or
<button special="cancel" string="Cancel" type="object"
icon="fa-times" />
<button
special="cancel"
string="Cancel"
type="object"
icon="fa-times"
/>
</footer>
</form>
</field>