rmeoved_print
bzr revid: fp@fp-laptop-20101010193630-vowjm74h9f55ixel
This commit is contained in:
parent
56e1d1784b
commit
c11bbdb64b
|
@ -26,7 +26,6 @@ from tools.translate import _
|
|||
class invoice(osv.osv):
|
||||
_inherit = 'account.invoice'
|
||||
def invoice_pay_customer(self, cr, uid, ids, context={}):
|
||||
print context
|
||||
if not ids: return []
|
||||
inv = self.browse(cr, uid, ids[0], context=context)
|
||||
return {
|
||||
|
|
|
@ -276,7 +276,6 @@ class product_template(osv.osv):
|
|||
return res and res[0] or False
|
||||
|
||||
def _default_category(self, cr, uid, context={}):
|
||||
print '_default_categ', context
|
||||
if 'categ_id' in context and context['categ_id']:
|
||||
return context['categ_id']
|
||||
md = self.pool.get('ir.model.data')
|
||||
|
|
Loading…
Reference in New Issue