[IMP] remerge add_relate_button

bzr revid: aar@tinyerp.com-20110726072053-oznk99qpj41e5bq2
This commit is contained in:
Amit Parmar (OpenERP) 2011-07-26 12:50:53 +05:30
parent 212826dbf2
commit 5a1021b830
1 changed files with 5 additions and 3 deletions

View File

@ -145,7 +145,7 @@
<field name="active"/>
<field name="resource_type"/>
<field name="calendar_id" widget="selection"/>
<field name="company_id" select="1" groups="base.group_multi_company" widget="selection"/>
<field name="company_id" select="1" groups="base.group_multi_company" widget="selection"/>
</group>
<notebook colspan="4">
<page string="General Information">
@ -269,7 +269,7 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Routing">
<field name="code"/>
<field name="code"/>
<field name="name"/>
<field name="location_id"/>
<field name="company_id" groups="base.group_multi_company"/>
@ -735,7 +735,7 @@
<field name="product_id" readonly="1"/>
<field name="product_qty" readonly="1" string="Qty"/>
<field name="product_uom" readonly="1" string="UOM"/>
<field name="location_dest_id" readonly="1" string="Destination Loc." widget="selection"/>
<field name="location_dest_id" readonly="1" string="Destination Loc." widget="selection"/>
<field name="prodlot_id" context="{'product_id': product_id}"/>
<field name="scrapped" invisible="1"/>
<field name="state" invisible="1"/>
@ -972,6 +972,7 @@
</data>
</field>
</record>
<act_window
domain="[('product_id', '=', active_id)]"
id="act_product_manufacturing_open"
@ -979,6 +980,7 @@
view_id="mrp_production_tree_view"
res_model="mrp.production"
src_model="product.product"/>
<act_window
id="action_product_bom_structure"
name="Product BoM Structure"