bzr revid: fp@tinyerp.com-20101015115712-swlsc5pia5dx960q
This commit is contained in:
Fabien Pinckaers
2010-10-15 13:57:12 +02:00
parent 940eaa4a68
commit 8ea9e3384f
3 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -378,7 +378,7 @@ class account_bank_statement(osv.osv):
self.create_move_from_st_line(cr, uid, st_line.id, company_currency_id, st_line_number, context)
self.write(cr, uid, [st.id], {'name': st_number}, context=context)
self.log(cr, uid, st.id, 'Statement %s is confirmed and entries are created.' % st_number)
self.log(cr, uid, st.id, _('Statement %s is confirmed and entries are created.') % st_number)
done.append(st.id)
return self.write(cr, uid, ids, {'state':'confirm'}, context=context)
@@ -501,4 +501,4 @@ class account_bank_statement_line(osv.osv):
account_bank_statement_line()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
+3
View File
@@ -375,6 +375,9 @@ class account_invoice(osv.osv):
def confirm_paid(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'state':'paid'}, context=context)
for inv_id, name in self.name_get(cr, uid, ids, context=context):
message = _('Invoice ') + " '" + name + "' "+ _("is marked as paid.")
self.log(cr, uid, inv_id, message)
return True
def unlink(self, cr, uid, ids, context=None):
+1 -1
View File
@@ -111,7 +111,7 @@
<menuitem id="menu_attendee_invitations"
name="Meeting Invitations" parent="crm.menu_meeting_sale"
sequence="10" action="action_view_attendee_form"
groups="base.group_extended,base.group_sale_salesman" />
groups="base.group_no_one" />
</data>
</openerp>