bzr revid: fp@tinyerp.com-20120831150419-dk2t02ey0lcoycl0
This commit is contained in:
Fabien Pinckaers 2012-08-31 17:04:19 +02:00
parent 901ee0683c
commit 1d04c6b7df
3 changed files with 2 additions and 4 deletions

View File

@ -294,7 +294,7 @@ class product_template(osv.osv):
'weight_net': fields.float('Net Weight', digits_compute=dp.get_precision('Stock Weight'), help="The net weight in Kg."),
'cost_method': fields.selection([('standard','Standard Price'), ('average','Average Price')], 'Costing Method', required=True,
help="Standard Price: the cost price is fixed and recomputed periodically (usually at the end of the year), Average Price: the cost price is recomputed at each reception of products."),
'warranty': fields.float('Warranty (months)'),
'warranty': fields.float('Warranty'),
'sale_ok': fields.boolean('Can be Sold', help="Determines if the product can be visible in the list of product within a selection from a sale order line."),
'purchase_ok': fields.boolean('Can be Purchased', help="Determine if the product is visible in the list of products within a selection from a purchase order line."),
'state': fields.selection([('',''),

View File

@ -134,7 +134,7 @@
<div>
<field name="sale_delay"/> days
</div>
<field name="warranty"/>
<field name="warranty"/> months
</group>
<group groups="product.group_uom">
<field name="uos_id"/>

View File

@ -60,8 +60,6 @@
<group name="delay" string="Delays">
<field name="active"/>
<field name="produce_delay" attrs="{'invisible':[('type','=','service')]}"/>
<field name="sale_delay" attrs="{'readonly':[('sale_ok','=',0)]}"/>
<field name="warranty"/>
</group>
<group name="store" string="Storage Localisation">
<field name="company_id" groups="base.group_multi_company" widget="selection"/>