[IMP] historical logs

This commit is contained in:
unknown
2013-01-29 09:46:57 +01:00
parent 330e80d472
commit e36c2db08d
2 changed files with 5 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ class AccountStatementProfil(Model):
help="Tic that box to automatically launch the completion " help="Tic that box to automatically launch the completion "
"on each imported file using this profile."), "on each imported file using this profile."),
'last_import_date': fields.datetime("Last Import Date"), 'last_import_date': fields.datetime("Last Import Date"),
'rec_log': fields.text('log', readonly=True), # deprecated
'import_type': fields.selection( 'import_type': fields.selection(
get_import_type_selection, get_import_type_selection,
'Type of import', 'Type of import',

View File

@@ -18,7 +18,10 @@
string="Import Bank Statement" string="Import Bank Statement"
type="action" icon="gtk-ok" type="action" icon="gtk-ok"
colspan = "2"/> colspan = "2"/>
<separator colspan="4" string="Import Logs"/> <group attrs="{'invisible': [('rec_log', '=', False)]}">
<separator colspan="4" string="Historical Import Logs"/>
<field name="rec_log" colspan="4" nolabel="1" />
</group>
</field> </field>
</field> </field>
</record> </record>