[BUG-FIX] lp:685977

bzr revid: jam@tinyerp.com-20101207063945-bwm3s2b4jqbd24kp
This commit is contained in:
jam-openerp 2010-12-07 12:09:45 +05:30
parent 42d6b54c2d
commit e27c993dd0
3 changed files with 7 additions and 7 deletions

View File

@ -29,11 +29,11 @@
"description": """
This module is required for the thuderbird plug-in to work
properly.
This allows you to select an object that youd like to add
to your email and its attachments. You can select a partner, a task,
a project, an analytical account, or any other object and attach selected
mail as .eml file in attachment of selected record.
The Plugin allows you archive email and its attachments to the selected
OpenERP objects. You can select a partner, a task, a project, an analytical
account,or any other object and attach selected mail as .eml file in
attachment of selected record. You can create Documents for crm Lead,
HR Applicant and project issue from selected mails.
""",
"init_xml" : [],

View File

@ -131,11 +131,11 @@ email_server_tools()
class thunderbird_partner(osv.osv_memory):
_name = "thunderbird.partner"
_description="Thunderbid mails"
_description="Thunderbid Plugin Tools"
def create_contact(self,cr,user,vals):
dictcreate = dict(vals)
# Set False value if 'undefined'. Thunerbird set 'undefined' if user did not set any value.
# Set False value if 'undefined' for record. Id User does not spicify the values, Thunerbird set 'undefined' by default for new contact.
for key in dictcreate:
if dictcreate[key] == 'undefined':
dictcreate[key] = False