diff --git a/addons/thunderbird/partner/partner.py b/addons/thunderbird/partner/partner.py index 53050ec55a1..2269d0fa351 100644 --- a/addons/thunderbird/partner/partner.py +++ b/addons/thunderbird/partner/partner.py @@ -99,7 +99,7 @@ class thunderbird_partner(osv.osv_memory): 'mobile': dictcreate['mobile'], 'email': dictcreate['email'], } - address_obj.write(cr, user,res_id,result ) + address_obj.write(cr, user,int(res_id),result ) return True def create_partner(self,cr,user,vals): diff --git a/addons/thunderbird/plugin/openerp_plugin.xpi b/addons/thunderbird/plugin/openerp_plugin.xpi index 4e0973e58e4..58b63dd50ce 100644 Binary files a/addons/thunderbird/plugin/openerp_plugin.xpi and b/addons/thunderbird/plugin/openerp_plugin.xpi differ diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar index 8a64c9646f9..93a0d86fc7f 100644 Binary files a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar and b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar differ diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/address.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/address.xul index 02700277d26..370683b0c4b 100644 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/address.xul +++ b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/address.xul @@ -90,7 +90,7 @@ - + diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/loaddata.js b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/loaddata.js index 4bc4193fb70..f095010f03d 100755 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/loaddata.js +++ b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/loaddata.js @@ -45,7 +45,7 @@ var myPrefObserver = //set the initial value of name and email field of create contact window createContact: function() { - //document.getElementById("txtselectpartner").value= getPartnerID(); + //document.getElementById("txtselectpartner").value= getPartnerName(); document.getElementById("txtname").value= getSenderName(); document.getElementById("txtemail").value= getSenderEmail(); document.getElementById("country").value=getAllCountry(); @@ -93,6 +93,7 @@ var myPrefObserver = createContactAddress: function() { +// getResourceId(); document.getElementById("txtname").value= getPartnerName(); document.getElementById("txtcontactname").value= getSenderName(); document.getElementById("txtstreet").value= getStreet(); diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/plugin.xul b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/plugin.xul index 2847638f756..87f8386b1cd 100644 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/plugin.xul +++ b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/plugin.xul @@ -31,7 +31,7 @@