Rohan Nayani(openerp) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-740858-ron into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #740858 in OpenERP Addons: "product/product.py doubt: is normal to see 
the same field twice in _defaults?"
  https://bugs.launchpad.net/openobject-addons/+bug/740858

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-740858-ron/+merge/54503

https://bugs.launchpad.net/openobject-addons/+bug/740858
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-740858-ron/+merge/54503
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-740858-ron.
=== modified file 'product/product.py'
--- product/product.py	2011-03-09 18:41:27 +0000
+++ product/product.py	2011-03-23 12:14:25 +0000
@@ -325,7 +325,6 @@
 
     _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',

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-web
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-web
More help   : https://help.launchpad.net/ListHelp

Reply via email to