[MIGR] Fix base import view + mesage to user in base_completion

This commit is contained in:
Joel Grand-Guillaume
2012-12-18 21:38:21 +01:00
parent 64c68c7b05
commit a6e3ed40be
2 changed files with 2 additions and 2 deletions

View File

@@ -353,7 +353,7 @@ class AccountBankSatement(Model):
+ "\n" + error_log + "-------------" + "\n"]
log = "\n".join(log_line)
self.write(cr, uid, [stat_id], {'completion_logs' : log}, context=context)
self.message_post(cr, uid, [stat_id], body=_('Statement %s auto-completed for %s lines completed') % (st_number,number_imported), context=context)
self.message_post(cr, uid, [stat_id], body=_('Statement ID %s auto-completed for %s lines completed') % (stat_id,number_imported), context=context)
return True
def button_auto_completion(self, cr, uid, ids, context=None):

View File

@@ -32,7 +32,7 @@
<field eval="20" name="priority"/>
<field name="arch" type="xml">
<data>
<xpath expr="/form/notebook/page/field[@name='line_ids']/form/field[@name='label']" position="after">
<xpath expr="/form/sheet/notebook/page/field[@name='line_ids']/form/group/field[@name='label']" position="after">
<field name="commission_amount" />
</xpath>
</data>