← Back to team overview

openerp-india team mailing list archive

[Bug 1071768] Re: [6.1] hr_expense product_expense_installer_tree_view break product selection in search form

 

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

-- 
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):
  Confirmed

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