[FIX]Can Constitute an Expense ? set as a true when creating from hr_expense

bzr revid: sgo@tinyerp.com-20120316125123-28u9weolcszgexms
This commit is contained in:
Sanjay Gohel (Open ERP)
2012-03-16 18:21:23 +05:30
parent 01bfed053b
commit 583c11eba0
+1 -1
View File
@@ -81,7 +81,7 @@
<field colspan="4" name="line_ids" nolabel="1" context="{'currency_id': currency_id}">
<form string="Expense Lines">
<group col="6" colspan="4">
<field name="product_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id, context)"/>
<field name="product_id" on_change="onchange_product_id(product_id, uom_id, parent.employee_id, context)" context="{'default_hr_expense_ok':1}"/>
<field name="name" colspan="4"/>
<newline/>
<field name="unit_amount"/>