[FIX]Fixed the issue of missing fields in tree view, due to which while the time of grouping the record error thrown as there is groupby context has that field.

bzr revid: msh@openerp.com-20130208151121-o50t1ipsljjrqgwr
This commit is contained in:
Mohammed Shekha 2013-02-08 20:41:21 +05:30
parent 1f1d2a1cdf
commit efaad74d1a
2 changed files with 15 additions and 0 deletions

View File

@ -23,6 +23,17 @@
</field>
</record>
<record id="view_partner_inherit_customer_followup_tree" model="ir.ui.view">
<field name="name">res.partner.followup.inherit.tree</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_tree"/>
<field name="arch" type="xml">
<field name="name" position="after">
<field name="payment_responsible_id" invisible="1"/>
</field>
</field>
</record>
<record id="customer_followup_search_view" model="ir.ui.view">
<field name="name">Search</field>
<field name="model">res.partner</field>

View File

@ -1167,6 +1167,10 @@
<field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
<field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
<field name="product_uos" groups="product.group_uos"/>
<field name="location_id" groups="stock.group_locations" invisible="1"/>
<field name="picking_id" invisible="1" />
<field name="create_date" invisible="1" />
<field name="date_expected" invisible="1" />
<button name="%(stock.move_scrap)d"
string="Scrap Products" type="action"
icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"