[IMP] create new view instead of inheriting

bzr revid: tpa@tinyerp.com-20120306063322-fvvsd4odsh4v3ulh
This commit is contained in:
Turkesh Patel (Open ERP)
2012-03-06 12:03:22 +05:30
parent 7aae1867ec
commit 3bc8355637
2 changed files with 5 additions and 8 deletions
+2 -2
View File
@@ -69,10 +69,10 @@ class mrp_configuration(osv.osv_memory):
'module_mrp_operations': fields.boolean("Track dates in work order operations",
help="""This allows to add state, date_start,date_stop in production order operation lines (in the "Work Centers" tab).
It installs the mrp_operations module."""),
'group_mrp_routings':fields.boolean("Manage manufacturing operations ",
'group_mrp_routings':fields.boolean("Manage manufacturing operations ",group='base.group_user', xml_id='base.group_mrp_routings',
help="""Routings allow you to create and manage the manufacturing operations that should be followed within your work centers in order to produce a product. They are attached to bills of materials that will define the required raw materials..
It assigns the "Routings" group to employee."""),
'group_mrp_properties':fields.boolean("Allow different properties per product in your order",
'group_mrp_properties':fields.boolean("Allow different properties per product in your order",group='base.group_user', xml_id='base.group_mrp_routings',
help="""Allows to Define specific property groups that can be assigned to the properties of your bill of materials.
It assigns the "Properties of Product" group to employee."""),
}
+3 -6
View File
@@ -5,10 +5,8 @@
<field name="name">Manufacturing Application</field>
<field name="model">res.config.settings</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.view_res_config_settings"/>
<field name="arch" type="xml">
<form position ="replace">
<form string ="Manufacturing Application">
<form string="Manufacturing Application">
<separator string="Manufacturing Order" colspan="4"/>
<group colspan="4" col="8">
<group colspan="4" col="4">
@@ -40,8 +38,7 @@
<group colspan="4" col="4">
<field name="group_mrp_properties"/>
</group>
</form>
</form>
</form>
</field>
</record>
@@ -54,7 +51,7 @@
<field name="view_mode">form</field>
</record>
<menuitem id="base.menu_mrp_config" name="Mrp" parent="base.menu_config" sequence="1" action="mrp.action_mrp_configuration"/>
<menuitem id="base.menu_mrp_config" name="MRP" parent="base.menu_config" sequence="1" action="action_mrp_configuration"/>
</data>
</openerp>