Jigar Amin  (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-855397-jam into 
lp:openobject-addons.

Requested reviews:
  Bhumika (OpenERP) (sbh-openerp)
Related bugs:
  Bug #855397 in OpenERP Addons: "convert a lead to opportunities by creating a 
new partner, it creates 2 addresses, one empty "
  https://bugs.launchpad.net/openobject-addons/+bug/855397

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-855397-jam/+merge/76397

Changes :  Bug/Fix
 - Bug #855397 - "convert a lead to opportunities by creating a new partner, it 
creates 2 addresses, one empty" is fixed.
Kindly Review this.
Thank You



-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-855397-jam/+merge/76397
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-855397-jam.
=== modified file 'crm/res_partner.py'
--- crm/res_partner.py	2011-08-25 04:10:37 +0000
+++ crm/res_partner.py	2011-09-21 12:33:36 +0000
@@ -33,6 +33,11 @@
         'phonecall_ids': fields.one2many('crm.phonecall', 'partner_id',\
             'Phonecalls'),
     }
+
+    _defaults= {
+        'address':[],
+    }
+
 res_partner()
 
 

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

Reply via email to