[FIX] product_margin: tab2space

bzr revid: olt@tinyerp.com-20100924113232-vy055qmmzmbtyj98
This commit is contained in:
olt@tinyerp.com 2010-09-24 13:32:32 +02:00
parent df261181c1
commit 9e50339257
1 changed files with 3 additions and 3 deletions

View File

@ -36,11 +36,11 @@ class product_product(osv.osv):
date_to = context.get('date_to', time.strftime('%Y-12-31'))
invoice_state = context.get('invoice_state', 'open_paid')
if 'date_from' in field_names:
res[val.id]['date_from']=date_from
res[val.id]['date_from']=date_from
if 'date_to' in field_names:
res[val.id]['date_to']=date_to
if 'invoice_state' in field_names:
res[val.id]['invoice_state']=invoice_state
res[val.id]['invoice_state']=invoice_state
invoice_types = ()
states = ()
if invoice_state=='paid':
@ -114,4 +114,4 @@ class product_product(osv.osv):
product_product()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: