[IMP]analytic: all invoicing data is getting filled from template.
bzr revid: dbr@tinyerp.com-20120607092218-yt3xyy3gel66z4sj
This commit is contained in:
parent
8cb3df4d42
commit
6885badab4
|
@ -490,11 +490,13 @@ class account_analytic_account(osv.osv):
|
|||
res['value']['date'] = str(template.date)
|
||||
res['value']['quantity_max'] = template.quantity_max
|
||||
res['value']['remaining_hours'] = template.remaining_hours
|
||||
res['value']['amount_max'] = template.amount_max
|
||||
res['value']['expense_max'] = template.expense_max
|
||||
res['value']['to_invoice'] = template.to_invoice.id
|
||||
res['value']['pricelist_id'] = template.pricelist_id.id
|
||||
res['value']['description'] = template.description
|
||||
return res
|
||||
|
||||
|
||||
def open_hr_expense(self, cr, uid, ids, context=None):
|
||||
account = self.browse(cr, uid, ids[0], context)
|
||||
data_obj = self.pool.get('ir.model.data')
|
||||
|
|
Loading…
Reference in New Issue