[MERGE]:When creating a product from expense line, it must set Can Constitute an Expense ?True
bzr revid: apa@tinyerp.com-20120316131007-gjslmefjab0sgaga
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user