mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
removed unused defaults , changed mixed tab/space intentation to space only
This commit is contained in:
@@ -30,7 +30,5 @@ class mrp_bom(osv.osv):
|
||||
'product_standard_price': fields.related('product_id', 'standard_price', type='float', string='Cost Price', readonly=True),
|
||||
'product_qty_available': fields.related('product_id', 'qty_available', type='float', string='Quantity On Hand', readonly=True),
|
||||
}
|
||||
_defaults = {
|
||||
}
|
||||
|
||||
|
||||
mrp_bom()
|
||||
|
||||
@@ -2,29 +2,29 @@
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<record id="mrp_bom_tree_view" model="ir.ui.view">
|
||||
<field name="name">mrp.bom.tree</field>
|
||||
<field name="model">mrp.bom</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_bom_tree_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_uom" position="after">
|
||||
<field name="product_standard_price" />
|
||||
<field name="product_qty_available" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_bom_component_tree_view" model="ir.ui.view">
|
||||
<record id="mrp_bom_tree_view" model="ir.ui.view">
|
||||
<field name="name">mrp.bom.tree</field>
|
||||
<field name="model">mrp.bom</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_bom_tree_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_uom" position="after">
|
||||
<field name="product_standard_price" />
|
||||
<field name="product_qty_available" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_bom_component_tree_view" model="ir.ui.view">
|
||||
<field name="name">mrp.bom.component.tree</field>
|
||||
<field name="model">mrp.bom</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_bom_component_tree_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_uom" position="after">
|
||||
<field name="product_standard_price" />
|
||||
<field name="product_qty_available" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
<field name="arch" type="xml">
|
||||
<field name="product_uom" position="after">
|
||||
<field name="product_standard_price" />
|
||||
<field name="product_qty_available" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="mrp_bom_form_view" model="ir.ui.view">
|
||||
<field name="name">mrp.bom.form</field>
|
||||
@@ -32,11 +32,11 @@
|
||||
<field name="inherit_id" ref="mrp.mrp_bom_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='bom_lines']/tree" position="inside" >
|
||||
<field name="product_standard_price" />
|
||||
<field name="product_qty_available" />
|
||||
</xpath>
|
||||
<field name="product_standard_price" />
|
||||
<field name="product_qty_available" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
Reference in New Issue
Block a user