openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #17093
[Bug 1071768] Re: [6.1] hr_expense product_expense_installer_tree_view break product selection in search form
Hi Anil,
I've tried to recreate the condition of the bug and was not able to
succeed. But i've encountered the bug in a production environment.
The hr_expense.product_expense_installer_tree_view priority is 7, same
priority as product.product_product_tree_view .
If i lower the priority of hr_expense.product_exp nstaller_tree_view ,
i encounter the bug. May be it is a random issue, and the solution is to
raise the priority of hr_expense.product_expense_installer_tree_view
to 16 like all other secondary product trees.
I know that the bug is not easily reproducible, but it has been a issue
for me... may be will it be for others.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1071768
Title:
[6.1] hr_expense product_expense_installer_tree_view break product
selection in search form
Status in OpenERP Addons (modules):
New
Bug description:
With hr_expense installed, it is impossible to select a product from
product search form.
Steps to reproduce :
1. Create a sale order.
2. Add a sale order line.
3. In sale order line product select, use the "Search" option.
4. In the product search form, click a product line to select it. It is not selected. A line edition form is displayed instead.
Steps to fix :
In hr_expense/hr_expense_installer_view.xml, remove editable="bottom"
from product_expense_installer_tree_view :
<record id="product_expense_installer_tree_view" model="ir.ui.view">
<field name="name">product.product.tree</field>
<field name="model">product.product</field>
<field name="type">tree</field>
<field eval="7" name="priority"/>
<field name="arch" type="xml">
<tree string="Products">
<field name="name"/>
<field name="standard_price"/>
<field name="list_price"/>
<field name="uom_id" string="UoM"/>
</tree>
</field>
</record>
Thank you.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1071768/+subscriptions
References