[IMP] move type of defaults in sale. and increase the priority of the product tree view defined in hr_epense.
bzr revid: shp@tinyerp.com-20121012051640-4i0eyltyuvpq57vc
This commit is contained in:
parent
92c8da8d8c
commit
935314ea26
|
@ -194,6 +194,7 @@
|
|||
<record id="view_product_hr_expense_form" model="ir.ui.view">
|
||||
<field name="name">product.product.expense.form</field>
|
||||
<field name="model">product.product</field>
|
||||
<field eval="8" name="priority"/>
|
||||
<field name="inherit_id" ref="product.product_normal_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="purchase_ok" position="before">
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
</data>
|
||||
|
|
|
@ -746,6 +746,7 @@ class sale_order_line(osv.osv):
|
|||
'sequence': 10,
|
||||
'invoiced': 0,
|
||||
'state': 'draft',
|
||||
'type': 'make_to_stock',
|
||||
'price_unit': 0.0,
|
||||
}
|
||||
|
||||
|
|
|
@ -497,7 +497,6 @@ class sale_order_line(osv.osv):
|
|||
}
|
||||
_defaults = {
|
||||
'delay': 0.0,
|
||||
'type': 'make_to_stock',
|
||||
'product_packaging': False,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue