Leonardo Pistone - Agile BG - Domsense has proposed merging lp:~lpistone/openobject-italia/6.1-fix-account_invoice_entry_date_signature into lp:openobject-italia/6.1.
Requested reviews: OpenERP Italia core devs (openobject-italia-core-devs) Related bugs: Bug #1202117 in OpenERP Italia: "account_invoice_entry_date: method action_move_create: incorrect signature" https://bugs.launchpad.net/openobject-italia/+bug/1202117 For more details, see: https://code.launchpad.net/~lpistone/openobject-italia/6.1-fix-account_invoice_entry_date_signature/+merge/175221 -- https://code.launchpad.net/~lpistone/openobject-italia/6.1-fix-account_invoice_entry_date_signature/+merge/175221 Your team OpenERP Italia core devs is requested to review the proposed merge of lp:~lpistone/openobject-italia/6.1-fix-account_invoice_entry_date_signature into lp:openobject-italia/6.1.
=== modified file 'account_invoice_entry_date/invoice.py' --- account_invoice_entry_date/invoice.py 2011-09-09 08:48:18 +0000 +++ account_invoice_entry_date/invoice.py 2013-07-17 08:35:35 +0000 @@ -31,9 +31,9 @@ 'registration_date':fields.date('Registration Date', states={'paid':[('readonly',True)], 'open':[('readonly',True)], 'close':[('readonly',True)]}, select=True, help="Keep empty to use the current date"), } - def action_move_create(self, cr, uid, ids, *args): + def action_move_create(self, cr, uid, ids, context=None): - super(account_invoice,self).action_move_create(cr, uid, ids,*args) + super(account_invoice,self).action_move_create(cr, uid, ids, context=context) for inv in self.browse(cr, uid, ids):
_______________________________________________ Mailing list: https://launchpad.net/~openobject-italia-core-devs Post to : openobject-italia-core-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~openobject-italia-core-devs More help : https://help.launchpad.net/ListHelp