[MERGE]: Merged with trunk-dev-addons1.

bzr revid: uco@tinyerp.com-20100512061521-w8zhdf3tmly0qkjn
This commit is contained in:
uco (OpenERP)
2010-05-12 11:45:21 +05:30
11 changed files with 6887 additions and 69 deletions
File diff suppressed because it is too large Load Diff
+10 -6
View File
@@ -7,13 +7,13 @@ msgstr ""
"Project-Id-Version: OpenERP Server 5.0.4\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
"PO-Revision-Date: 2009-11-17 09:28+0000\n"
"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
"PO-Revision-Date: 2010-05-11 10:20+0000\n"
"Last-Translator: Simon Vidmar <Unknown>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-04-17 04:12+0000\n"
"X-Launchpad-Export-Date: 2010-05-12 04:20+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account_payment
@@ -46,7 +46,7 @@ msgstr "Napačno ime modela v definiciji dejanja."
#: field:payment.line,info_owner:0
#: view:payment.order:0
msgid "Owner Account"
msgstr ""
msgstr "Konto lastnika"
#. module: account_payment
#: help:account.invoice,amount_to_pay:0
@@ -54,6 +54,8 @@ msgid ""
"The amount which should be paid at the current date\n"
"minus the amount which is already in payment order"
msgstr ""
"Znesek, ki ga je potrebno plačati na trenutni datum\n"
"zmanjšan za znesek že posredovanih plačilnih nalogov."
#. module: account_payment
#: help:payment.line,date:0
@@ -61,6 +63,8 @@ msgid ""
"If no payment date is specified, the bank will treat this payment line "
"directly"
msgstr ""
"Če datum plačilnega naloga ni podan, ga bo banka takoj posredovala v "
"plačilni sistem"
#. module: account_payment
#: field:payment.order,date_prefered:0
@@ -147,7 +151,7 @@ msgstr "Vrstica plačila"
#. module: account_payment
#: field:payment.type,suitable_bank_types:0
msgid "Suitable bank types"
msgstr ""
msgstr "Primerne vrste bank"
#. module: account_payment
#: view:payment.line:0
@@ -182,7 +186,7 @@ msgstr ""
#. module: account_payment
#: field:payment.order,state:0
msgid "State"
msgstr ""
msgstr "Država"
#. module: account_payment
#: view:payment.line:0
+27 -16
View File
@@ -24,6 +24,11 @@ from osv import osv
from osv import fields
import string
from tools.func import partial
from tools.translate import _
_ref_vat = {
'be': 'BE0477472701',
}
def mult_add(i, j):
"""Sum each digits of the multiplication of i and j."""
@@ -32,6 +37,10 @@ def mult_add(i, j):
class res_partner(osv.osv):
_inherit = 'res.partner'
def _split_vat(self, vat):
vat_country, vat_number = vat[:2].lower(), vat[2:].replace(' ', '')
return vat_country, vat_number
def check_vat(self, cr, uid, ids):
'''
Check the VAT number depending of the country.
@@ -39,35 +48,37 @@ class res_partner(osv.osv):
'''
for partner in self.browse(cr, uid, ids):
if not partner.vat:
continue #FIXME return False? empty vat numbre is invalid?
continue
vat_country, vat_number = partner.vat[:2].lower(), partner.vat[2:].replace(' ', '')
vat_country, vat_number = self._split_vat(partner.vat)
if not hasattr(self, 'check_vat_' + vat_country):
return False
check = getattr(self, 'check_vat_' + vat_country)
if not check(vat_number):
return False
return True
def __getattr__(self, attr):
if not attr.startswith('check_vat_'):
super(res_partner, self).__getattr__(attr)
def default_vat_check(self, cn, vn):
# by default, a VAT number is valid if:
# it starts with 2 letters
# has more than 3 characters
return len(vn) > 0 and len(cn) == 2 and cn[0] in string.ascii_lowercase and cn[1] in string.ascii_lowercase
return partial(default_vat_check, self, attr[10:])
def vat_change(self, cr, uid, ids, value, context={}):
return {'value': {'vat_subjected': bool(value)}}
_columns = {
'vat_subjected': fields.boolean('VAT Legal Statement', help="Check this box if the partner is subjected to the VAT. It will be used for the VAT legal statement.")
}
_constraints = [(check_vat, "The VAT doesn't seem to be correct.", ["vat"])]
def _construct_constraint_msg(self, cr, uid, ids):
def default_vat_check(cn, vn):
# by default, a VAT number is valid if:
# it starts with 2 letters
# has more than 3 characters
return cn[0] in string.ascii_lowercase and cn[1] in string.ascii_lowercase
vat_country, vat_number = self._split_vat(self.browse(cr, uid, ids)[0].vat)
if default_vat_check(vat_country, vat_number):
return _('The Vat does not seems to be correct. You should have entered something like this %s'), (_ref_vat[vat_country])
return _('The VAT is invalid, it shoul begin with the country code'), ()
_constraints = [(check_vat, _construct_constraint_msg, ["vat"])]
# code from the following methods come from Tryton (B2CK)
# http://www.tryton.org/hgwebdir.cgi/modules/relationship/file/544d1de586d9/party.py
+2 -3
View File
@@ -315,8 +315,7 @@ class crm_case(osv.osv):
_columns = {
'id': fields.integer('ID', readonly=True),
'name': fields.char('Description', size=1024, required=True),
'active': fields.boolean('Active', help="If the active field is set to\
true, it will allow you to hide the case without removing it."),
'active': fields.boolean('Active', help="If the active field is set to false, it will allow you to hide the case without removing it."),
'description': fields.text('Description'),
'section_id': fields.many2one('crm.case.section', 'Sales Team', \
select=True, help='Sales team to which Case belongs to.\
@@ -774,7 +773,7 @@ class crm_case_history(osv.osv):
"""
res = {}
for hist in self.browse(cursor, user, ids, context or {}):
res[hist.id] = (hist.email or '/') + ' (' + str(hist.date) + ')\n'
res[hist.id] = (hist.email_from or '/') + ' (' + str(hist.date) + ')\n'
res[hist.id] += (hist.description or '')
return res
+1 -1
View File
@@ -113,7 +113,7 @@ class crm_lead(osv.osv):
'type_id': fields.many2one('crm.case.resource.type', 'Lead Type', \
domain="[('section_id','=',section_id),\
('object_id.model', '=', 'crm.lead')]"),
'partner_name': fields.char("Contact Name", size=64),
'partner_name': fields.char("Company Name", size=64),
'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'),
'date_closed': fields.datetime('Closed', readonly=True),
+2 -2
View File
@@ -69,7 +69,7 @@
<page string="Lead">
<group colspan="2" col="4">
<separator string="Contact" colspan="4" col="4"/>
<field name="partner_name" string="Contact Name" colspan="4"/>
<field name="partner_name" colspan="4"/>
<newline/>
<field domain="[('domain', '=', 'contact')]" name="title"/>
<field name="function_name" />
@@ -141,8 +141,8 @@
<separator string="Dates" colspan="2" col="2"/>
<field name="create_date"/>
<field name="write_date"/>
<field name="date_closed"/>
<field name="date_open"/>
<field name="date_closed"/>
</group>
<group colspan="2" col="2">
<separator string="Statistics" colspan="2" col="2"/>
@@ -168,13 +168,14 @@ class email_parser(object):
def _decode_header(self, s):
from email.Header import decode_header
s = decode_header(s)
s = decode_header(s.replace('\r', ''))
return ''.join(map(lambda x:self._to_decode(x[0], [x[1]]), s or []))
def msg_new(self, msg):
message = self.msg_body_get(msg)
msg_subject = self._decode_header(msg['Subject'])
msg_from = self._decode_header(msg['From'])
msg_to = self._decode_header(msg['To'])
msg_cc = self._decode_header(msg['Cc'] or '')
data = {
@@ -189,7 +190,7 @@ class email_parser(object):
try:
id = self.rpc(self.model, 'create', data)
self.rpc(self.model, 'history', [id], 'Receive', True, msg['From'], message['body'], False, False, {'model' : self.model})
self.rpc(self.model, 'history', [id], 'Receive', True, msg_to, message['body'], msg_from, False, {'model' : self.model})
#self.rpc(self.model, 'case_open', [id])
except Exception, e:
if getattr(e, 'faultCode', '') and 'AccessError' in e.faultCode:
@@ -314,7 +315,7 @@ class email_parser(object):
'res_id': id
}
self.rpc('ir.attachment', 'create', data_attach)
self.rpc(self.model, 'history', [id], 'Send', True, msg['From'], body['body'])
self.rpc(self.model, 'history', [id], 'Send', True, self._decode_header(msg['From']), body['body'])
return id
def msg_send(self, msg, emails, priority=None):
@@ -357,7 +358,7 @@ class email_parser(object):
'res_id': id
}
self.rpc('ir.attachment', 'create', data_attach)
self.rpc(self.model, 'history', [id], 'Send', True, msg['From'], message['body'])
self.rpc(self.model, 'history', [id], 'Send', True, self._decode_header(msg['From']), message['body'])
return id
def msg_test(self, msg, case_str):
+53 -27
View File
@@ -26,6 +26,24 @@ import base64
import tools
from crm import crm
class crm_send_new_email(osv.osv_memory):
""" Sends new email for the case"""
_name = "crm.send.mail"
crm_send_new_email()
class crm_send_new_email_attachment(osv.osv_memory):
_name = 'crm.send.mail.attachment'
_columns = {
'binary' : fields.binary('Attachment', required=True),
'name' : fields.char('Name', size=128, required=True),
'wizard_id' : fields.many2one('crm.send.mail', 'Wizard', required=True),
}
crm_send_new_email_attachment()
class crm_send_new_email(osv.osv_memory):
""" Sends new email for the case"""
_name = "crm.send.mail"
@@ -38,12 +56,8 @@ class crm_send_new_email(osv.osv_memory):
'subject': fields.char('Subject', size=128, required=True),
'text': fields.text('Message', required=True),
'state': fields.selection(crm.AVAILABLE_STATES, string='Set New State To', required=True),
'doc1': fields.binary("Attachment1"),
'doc1_fname': fields.char("File Name", size=64),
'doc2': fields.binary("Attachment2"),
'doc2_fname': fields.char("File Name", size=64),
'doc3': fields.binary("Attachment3"),
'doc3_fname': fields.char("File Name", size=64),
'attachment_ids' : fields.one2many('crm.send.mail.attachment', 'wizard_id'),
}
def action_cancel(self, cr, uid, ids, context=None):
@@ -68,12 +82,13 @@ class crm_send_new_email(osv.osv_memory):
case_pool = self.pool.get(model)
res_id = context and context.get('active_id', False) or False
for data in self.read(cr, uid, ids, context=context):
attach = filter(lambda x: x, [data['doc1'], data['doc2'], data['doc3']])
attach = map(lambda x: (data['doc' + str(attach.index(x) + 1) \
+ '_fname'], base64.decodestring(x)), attach)
message_id = None
for obj in self.browse(cr, uid, ids, context=context):
attach = [
(x.name, base64.decodestring(x.binary)) for x in obj.attachment_ids
]
message_id = None
case = case_pool.browse(cr, uid, res_id)
if context.get('mail', 'new') == 'new':
if len(case.history_line):
@@ -84,17 +99,18 @@ class crm_send_new_email(osv.osv_memory):
model = hist.log_id.model_id.model
model_pool = self.pool.get(model)
case = model_pool.browse(cr, uid, hist.log_id.res_id)
emails = [data['email_to']] + (data['email_cc'] or '').split(',')
emails = [obj.email_to] + (obj.email_cc or '').split(',')
emails = filter(None, emails)
body = data['text']
body = obj.text
body = case_pool.format_body(body)
email_from = data.get('email_from', False)
case_pool._history(cr, uid, [case], _('Send'), history=True, email=data['email_to'], details=body, email_from=email_from, message_id=message_id)
email_from = getattr(obj, 'email_from', False)
case_pool._history(cr, uid, [case], _('Send'), history=True, email=obj.email_to, details=body, email_from=email_from, message_id=message_id)
x_headers = {
'Reply-To':"%s" % case.section_id.reply_to,
}
x_headers = dict()
#x_headers = {
# 'Reply-To':"%s" % case.section_id.reply_to,
#}
if message_id:
x_headers['References'] = "%s" % (message_id)
@@ -105,7 +121,7 @@ class crm_send_new_email(osv.osv_memory):
uid=uid,
server_id=case.section_id.server_id.id,
emailto=emails,
subject=data['subject'],
subject=obj.subject,
body="<pre>%s</pre>" % body,
attachments=attach,
headers=x_headers
@@ -114,7 +130,7 @@ class crm_send_new_email(osv.osv_memory):
flag = tools.email_send(
email_from,
emails,
data['subject'],
obj.subject,
body,
attach=attach,
reply_to=case.section_id.reply_to,
@@ -123,14 +139,14 @@ class crm_send_new_email(osv.osv_memory):
)
if flag:
if data['state'] == 'unchanged':
if obj.state == 'unchanged':
pass
elif data['state'] == 'done':
elif obj.state == 'done':
case_pool.case_close(cr, uid, [case.id])
elif data['state'] == 'draft':
elif obj.state == 'draft':
case_pool.case_reset(cr, uid, [case.id])
elif data['state'] in ['cancel', 'open', 'pending']:
act = 'case_' + data['state']
elif obj.state in ['cancel', 'open', 'pending']:
act = 'case_' + obj.state
getattr(case_pool, act)(cr, uid, [case.id])
cr.commit()
@@ -186,6 +202,11 @@ class crm_send_new_email(osv.osv_memory):
res = {}
for hist in hist_obj.browse(cr, uid, res_ids):
model = hist.log_id.model_id.model
# In the case where the crm.case does not exist in the database
if not model:
return {}
model_pool = self.pool.get(model)
case = model_pool.browse(cr, uid, hist.log_id.res_id)
if 'email_to' in fields:
@@ -201,7 +222,12 @@ class crm_send_new_email(osv.osv_memory):
to = 'To: %s' % (hist.email_to or '')
sentdate = 'Date: %s' % (hist.date)
desc = '\n%s'%(hist.description)
original = [header, sender, to, sentdate, desc]
signature = ''
if case.user_id.signature:
signature = '--\n' + case.user_id.signature
original = [header, sender, to, sentdate, desc, signature]
original = '\n'.join(original)
res['text']=original
if 'subject' in fields:
+18 -9
View File
@@ -19,12 +19,15 @@
<field name="text" nolabel="1" colspan="4"/>
</page>
<page string="Attachments">
<field name="doc1" filename="doc1_fname"/>
<field name="doc1_fname" invisible="1" />
<field name="doc2" filename="doc2_fname" />
<field name="doc2_fname" invisible="1" />
<field name="doc3" filename="doc3_fname" />
<field name="doc3_fname" invisible="1" />
<field name="attachment_ids" colspan="4" nolabel="1">
<form string="Attachment">
<field name="binary" filename="name" />
<field name="name" />
</form>
<tree string="Attachments">
<field name="name" />
</tree>
</field>
</page>
</notebook>
<group colspan="2" col="4" >
@@ -60,9 +63,15 @@
<field name="email_to" />
<field name="email_cc" />
<field name="subject" />
<field name="doc1" />
<field name="doc2" />
<field name="doc3" />
<field name="attachment_ids" colspan="4" nolabel="1">
<form string="Attachment">
<field name="binary" filename="name" />
<field name="name" />
</form>
<tree string="Attachments">
<field name="name" />
</tree>
</field>
<separator string="" colspan="4"/>
<field name="text" nolabel="1" colspan="4"/>
<separator string=" " colspan="4"/>
+840
View File
@@ -0,0 +1,840 @@
# German translation for openobject-addons
# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-11-26 06:00+0000\n"
"PO-Revision-Date: 2010-05-11 11:19+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2010-05-12 04:20+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: smtpclient
#: field:email.smtpclient.queue,bcc:0
msgid "BCC to"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "__number__ for Invoice / Sales Number"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,ssl:0
msgid "Use SSL?"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Start Server"
msgstr ""
#. module: smtpclient
#: model:ir.actions.wizard,name:smtpclient.wizard_email_verifycode
msgid "Verify Server"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,priority:0
msgid "Server Priority"
msgstr ""
#. module: smtpclient
#: help:email.sendcode,init,emailto:0
msgid "Enter the address Email where you want to get the Verification Code"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,auth_type:0
msgid "Other Mail Servers"
msgstr ""
#. module: smtpclient
#: constraint:ir.actions.act_window:0
msgid "Invalid model name in the action definition."
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.queue,to:0
msgid "Mail to"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "Message Error!"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,name:0
msgid "Server Name"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,header_ids:0
msgid "Default Headers"
msgstr ""
#. module: smtpclient
#: wizard_button:email.testemail,init,send:0
msgid "Send Email"
msgstr ""
#. module: smtpclient
#: field:res.company.address,company_id:0
msgid "Company"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Set to Draft"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/wizard/verifycode.py:0
#, python-format
msgid "Server already verified!"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/wizard/sendcode.py:0
#: code:addons/smtpclient/wizard/testemail.py:0
#, python-format
msgid "Verification Failed. Please check the Server Configuration!"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "SMTP Server Error!"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,auth_type:0
#: field:email.smtpclient,type:0
msgid "Server Type"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,from_email:0
msgid "Email From"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "User Information"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "OpenERP SMTP server Email Registration Code!"
msgstr ""
#. module: smtpclient
#: model:ir.model,name:smtpclient.model_report_smtp_server
#: view:report.smtp.server:0
msgid "Server Statistics"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Messages"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,type:0
#: selection:res.company.address,name:0
msgid "Sale"
msgstr ""
#. module: smtpclient
#: field:email.headers,value:0
msgid "Value"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Access Permission"
msgstr ""
#. module: smtpclient
#: model:ir.model,name:smtpclient.model_email_headers
msgid "Email Headers"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,delete_queue:0
msgid "Queue Option"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "Please configure Email Server Messages [Verification / Test]"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/wizard/verifycode.py:0
#, python-format
msgid "Verification failed. Invalid Verification Code!"
msgstr ""
#. module: smtpclient
#: model:ir.actions.act_window,name:smtpclient.act_mail_server_2_mail_history
msgid "Email History"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient.history:0
msgid "Server History"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,auth_type:0
msgid "Yahoo!!! Server"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
#: field:email.smtpclient,test_email:0
msgid "Test Message"
msgstr ""
#. module: smtpclient
#: field:report.smtp.server,server_id:0
msgid "Server ID"
msgstr ""
#. module: smtpclient
#: help:email.smtpclient,delete_queue_period:0
msgid "delete emails/contents from email queue after specified no of days"
msgstr ""
#. module: smtpclient
#: field:report.smtp.server,no:0
msgid "Total No."
msgstr ""
#. module: smtpclient
#: help:email.smtpclient,process_id:0
msgid "Mail Transport Agent Process"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "__user__ for User Name"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,date_create:0
msgid "Date Create"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,state:0
msgid "Server Status"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.queue,error:0
msgid "Last Error"
msgstr ""
#. module: smtpclient
#: wizard_view:email.sendcode,init:0
#: wizard_button:email.sendcode,init,send:0
msgid "Send Code"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.queue,name:0
msgid "Subject"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "Read Error!"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "Unable to read Server Settings"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,server_statistics:0
msgid "Statistics"
msgstr ""
#. module: smtpclient
#: wizard_view:email.testemail,init:0
msgid "Test Email"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.history,server_id:0
msgid "Smtp Server"
msgstr ""
#. module: smtpclient
#: field:res.company,addresses:0
msgid "Email Addresses"
msgstr ""
#. module: smtpclient
#: model:ir.actions.act_window,name:smtpclient.action_email_smtpclient_history_tree
#: model:ir.ui.menu,name:smtpclient.menu_smtpclient_administration_server_history
msgid "Email Server History"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient.queue,state:0
msgid "Waiting"
msgstr ""
#. module: smtpclient
#: help:email.testemail,init,emailto:0
msgid "Enter the address Email where you want to get the Test Email"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,state:0
msgid "Not Verified"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.history,email:0
msgid "Email"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient.queue,state:0
msgid "Sent"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.history,user_id:0
msgid "Username"
msgstr ""
#. module: smtpclient
#: field:res.company.address,name:0
msgid "Address Type"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Permission"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient.queue:0
msgid "Message with All Headers"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Message Headers"
msgstr ""
#. module: smtpclient
#: field:ir.actions.server,report_id:0
msgid "Report"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Other Information"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Configuration"
msgstr ""
#. module: smtpclient
#: constraint:ir.cron:0
msgid "Invalid arguments"
msgstr ""
#. module: smtpclient
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
#: field:email.smtpclient,disclaimers:0
msgid "Disclaimers"
msgstr ""
#. module: smtpclient
#: field:report.smtp.server,name:0
msgid "Server"
msgstr ""
#. module: smtpclient
#: view:res.company:0
msgid "SMTP Settings"
msgstr ""
#. module: smtpclient
#: help:email.smtpclient,body:0
msgid ""
"The message text that will be send along with the email which is send "
"through this server"
msgstr ""
#. module: smtpclient
#: model:ir.actions.wizard,name:smtpclient.wizard_email_testemail
msgid "Send Test Email"
msgstr ""
#. module: smtpclient
#: model:ir.model,name:smtpclient.model_email_smtpclient_queue
msgid "Email Queue"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Server Information"
msgstr ""
#. module: smtpclient
#: help:email.verifycode,init,code:0
msgid "Enter the verification code thay you get in your verification Email"
msgstr ""
#. module: smtpclient
#: model:ir.model,name:smtpclient.model_email_smtpclient_history
msgid "Email Client History"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,delete_queue:0
msgid "Never Delete Message"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "OpenERP Test Email!"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
#: field:email.smtpclient,body:0
#: view:email.smtpclient.queue:0
#: field:email.smtpclient.queue,serialized_message:0
msgid "Message"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,process_id:0
msgid "MTA Process"
msgstr ""
#. module: smtpclient
#: field:email.headers,server_id:0
#: view:email.smtpclient:0
#: field:email.smtpclient,server:0
#: field:email.smtpclient.queue,server_id:0
#: model:ir.ui.menu,name:smtpclient.menu_smtpclient_administration_smtp_server
msgid "SMTP Server"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,auth_type:0
msgid "Google Server"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,state:0
msgid "Verified"
msgstr ""
#. module: smtpclient
#: help:email.smtpclient,priority:0
msgid ""
"Priority between 0 to 10, will be used to define the MTA process priotiry"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,port:0
msgid "SMTP Port"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "Email TO Address not Defined !"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "SMTP Server Error !"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,auth:0
msgid "Use Auth"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,pstate:0
msgid "Server Statue"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,user:0
msgid "User Name"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,verify_email:0
msgid "Verify Message"
msgstr ""
#. module: smtpclient
#: model:ir.model,name:smtpclient.model_email_smtpclient
#: model:ir.module.module,shortdesc:smtpclient.module_meta_information
msgid "Email Client"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Disclaimers Message"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "__code__ for Verification Code"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient.queue,state:0
msgid "Queued"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.history,date_create:0
#: field:email.smtpclient.queue,date_create:0
msgid "Date"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.queue,cc:0
msgid "CC to"
msgstr ""
#. module: smtpclient
#: model:email.smtpclient,verify_email:smtpclient.email_smtpclient_sendmailserver0
msgid ""
"Verification Message. This is the code\n"
"__code__ \n"
"you must copy in the OpenERP Email Server (Verify Server wizard).\n"
"Created by user __user__"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient.queue:0
#: model:ir.actions.act_window,name:smtpclient.action_email_smtpclient_queue_tree
#: model:ir.ui.menu,name:smtpclient.menu_smtpclient_administration_smtp_server_queue
msgid "Message Queue"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,type:0
#: selection:res.company.address,name:0
msgid "Default"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,delete_queue:0
msgid "Delete Content After"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "You have no permission to access SMTP Server : %s "
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,active:0
msgid "Active"
msgstr ""
#. module: smtpclient
#: model:ir.actions.act_window,name:smtpclient.act_mail_server_2_mail_queue
msgid "Message Queus"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/wizard/sendcode.py:0
#: code:addons/smtpclient/wizard/testemail.py:0
#: code:addons/smtpclient/wizard/verifycode.py:0
#: view:email.smtpclient.queue:0
#: selection:email.smtpclient.queue,state:0
#, python-format
msgid "Error"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "Server Error!"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,delete_queue:0
msgid "Clear All After"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid ""
"Please verify Email Server, without verification you can not send Email(s)."
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,history_line:0
#: field:report.smtp.server,history:0
msgid "History"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.queue,priority:0
msgid "Message Priority"
msgstr ""
#. module: smtpclient
#: field:ir.actions.server,file_ids:0
msgid "Attachments"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "__name__ for Customer Name"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient.queue:0
msgid "General"
msgstr ""
#. module: smtpclient
#: field:email.headers,key:0
msgid "Header"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid ""
"Verification Message. This is the code\n"
"\n"
"__code__\n"
"\n"
"you must copy in the OpenERP Email Server (Verify Server wizard).\n"
"\n"
"Created by user __user__"
msgstr ""
#. module: smtpclient
#: selection:res.company.address,name:0
msgid "Invoice"
msgstr ""
#. module: smtpclient
#: wizard_view:email.verifycode,init:0
#: wizard_button:email.verifycode,init,check:0
msgid "Verify Code"
msgstr ""
#. module: smtpclient
#: wizard_button:email.sendcode,init,end:0
#: wizard_button:email.testemail,init,end:0
#: wizard_button:email.verifycode,init,end:0
msgid "Cancel"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,delete_queue_period:0
msgid "Delete after"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "Server is not Verified, Please Verify the Server !"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.history,resource_id:0
msgid "Resource ID"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "SMTP Data Error !"
msgstr ""
#. module: smtpclient
#: constraint:ir.model:0
msgid ""
"The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,delete_queue:0
msgid "Delete when Email Sent"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,type:0
msgid "Account"
msgstr ""
#. module: smtpclient
#: model:ir.module.module,description:smtpclient.module_meta_information
msgid ""
"Email Client module that provides:\n"
" Sending Email\n"
" Use Multiple Server\n"
" Multi Threading\n"
" Multi Attachment\n"
" "
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,type:0
msgid "Stock"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.history,name:0
msgid "Description"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,code:0
#: wizard_field:email.verifycode,init,code:0
msgid "Verification Code"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,pstate:0
msgid "Stop"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.queue,body:0
msgid "Email Text"
msgstr ""
#. module: smtpclient
#: selection:res.company.address,name:0
msgid "Delivery"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,pstate:0
msgid "Running"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient.queue:0
msgid "Last Error occured"
msgstr ""
#. module: smtpclient
#: selection:email.smtpclient,state:0
msgid "Waiting for Verification"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,password:0
msgid "Password"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient,users_id:0
msgid "Users Allowed"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/wizard/sendcode.py:0
#, python-format
msgid "Verification Code Already Generated !"
msgstr ""
#. module: smtpclient
#: wizard_field:email.sendcode,init,emailto:0
#: field:email.smtpclient,email:0
#: wizard_field:email.testemail,init,emailto:0
#: view:res.company:0
#: field:res.company.address,email:0
msgid "Email Address"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Verification Message"
msgstr ""
#. module: smtpclient
#: view:email.smtpclient:0
msgid "Stop Server"
msgstr ""
#. module: smtpclient
#: model:ir.ui.menu,name:smtpclient.menu_smtpclient_administration_server
msgid "Email Servers"
msgstr ""
#. module: smtpclient
#: model:ir.actions.wizard,name:smtpclient.wizard_email_sendcode
msgid "Send Verification Code"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.history,model:0
msgid "Model"
msgstr ""
#. module: smtpclient
#: model:ir.actions.act_window,name:smtpclient.action_email_smtpclient_tree
#: field:ir.actions.server,email_server:0
msgid "Email Server"
msgstr ""
#. module: smtpclient
#: code:addons/smtpclient/smtpclient.py:0
#, python-format
msgid "Permission Error!"
msgstr ""
#. module: smtpclient
#: model:ir.model,name:smtpclient.model_res_company_address
msgid "res.company.address"
msgstr ""
#. module: smtpclient
#: field:email.smtpclient.queue,state:0
msgid "Message Status"
msgstr ""
+1 -1
View File
@@ -490,7 +490,7 @@ class stock_picking(osv.osv):
'min_date': fields.function(get_min_max_date, fnct_inv=_set_minimum_date, multi="min_max_date",
method=True, store=True, type='datetime', string='Expected Date', select=1, help="Expected date for Picking. Default it takes current date"),
'date': fields.datetime('Order Date', help="Date of Order"),
'date_done': fields.datetime('Date Done', help="Date of completion"),
'date_done': fields.datetime('Date Done', help="Date of Completion"),
'max_date': fields.function(get_min_max_date, fnct_inv=_set_maximum_date, multi="min_max_date",
method=True, store=True, type='datetime', string='Max. Expected Date', select=2),
'move_lines': fields.one2many('stock.move', 'picking_id', 'Entry lines', states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}),