[FIX]product:the same field twice in _defaults of project.template
lp bug: https://launchpad.net/bugs/740858 fixed bzr revid: ron@tinyerp.com-20110323120818-49l3m94rw35pcwhj
This commit is contained in:
parent
40fd149a4a
commit
27255d1a44
|
@ -325,7 +325,6 @@ class product_template(osv.osv):
|
|||
|
||||
_defaults = {
|
||||
'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'product.template', context=c),
|
||||
'type': lambda *a: 'product',
|
||||
'list_price': lambda *a: 1,
|
||||
'cost_method': lambda *a: 'standard',
|
||||
'supply_method': lambda *a: 'buy',
|
||||
|
|
Loading…
Reference in New Issue