bzr revid: fp@tinyerp.com-20090901190006-i2tjwcrl71vnm2kv
This commit is contained in:
Fabien Pinckaers
2009-09-01 21:00:06 +02:00
40 changed files with 18661 additions and 4485 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: OpenERP
Version: 5.0.3
Version: 5.0.4
Author: Tiny.be
Author-email: fp at tiny be
Maintainer: Tiny.be
+6
View File
@@ -1212,6 +1212,12 @@
<field name="rounding">0.01</field>
<field name="accuracy">4</field>
</record>
<record id="rateARS" model="res.currency.rate">
<field name="rate">5.6</field>
<field name="currency_id" ref="ARS"/>
<field eval="time.strftime('%Y-01-01')" name="name"/>
</record>
<record id="INR" model="res.currency">
<field name="name">INR</field>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+8 -8
View File
@@ -141,10 +141,10 @@
<field eval="[(6, 0, [ref('res_partner_category_1')])]" name="category_id"/>
</record>
<record id="res_partner_9" model="res.partner">
<field name="website">http://opensides.be</field>
<field name="name">Opensides sprl</field>
<field name="website">http://www.openroad.be</field>
<field name="name">OpenRoad</field>
<field eval="12000.00" name="credit_limit"/>
<field name="ref">os</field>
<field name="ref">or</field>
<field name="user_id" ref="user_demo"/>
<field eval="[(6, 0, [ref('res_partner_category_1')])]" name="category_id"/>
</record>
@@ -181,12 +181,12 @@
<record id="res_partner_address_1" model="res.partner.address">
<field name="city">Bruxelles</field>
<field name="name">Benoit Mortier</field>
<field name="zip">1030</field>
<field name="name">Michel Schumacher</field>
<field name="zip">1000</field>
<field model="res.country" name="country_id" search="[('name','=','Belgium')]"/>
<field name="email">info@opensides.be</field>
<field name="phone">(+32)2 211 34 83</field>
<field name="street">Rue des Palais 44, bte 33</field>
<field name="email">info@openroad.be</field>
<field name="phone">(+32) 2 123 456</field>
<field name="street">Rue du flash 50</field>
<field name="type">default</field>
<field name="partner_id" ref="res_partner_9"/>
</record>
@@ -325,6 +325,7 @@
<field name="res_model">res.partner</field>
<field name="view_type">form</field>
<field name="domain">[('supplier','=',1)]</field>
<field name="context">{'default_customer':0}</field>
</record>
<menuitem action="action_partner_supplier_form" id="menu_partner_supplier_form" parent="menu_partner_form"/>
<record id="action_partner_other_form" model="ir.actions.act_window">
+4 -4
View File
@@ -2122,16 +2122,16 @@ class orm(orm_template):
if d1:
cr.execute('SELECT %s FROM \"%s\" WHERE id IN (%s) AND %s ORDER BY %s' % \
(','.join(fields_pre2 + ['id']), self._table,
','.join([str(x) for x in sub_ids]), d1,
self._order), d2)
','.join(['%s' for x in sub_ids]), d1,
self._order),sub_ids + d2)
if not cr.rowcount == len({}.fromkeys(sub_ids)):
raise except_orm(_('AccessError'),
_('You try to bypass an access rule (Document type: %s).') % self._description)
else:
cr.execute('SELECT %s FROM \"%s\" WHERE id IN (%s) ORDER BY %s' % \
(','.join(fields_pre2 + ['id']), self._table,
','.join([str(x) for x in sub_ids]),
self._order))
','.join(['%s' for x in sub_ids]),
self._order), sub_ids)
res.extend(cr.dictfetchall())
else:
res = map(lambda x: {'id': x}, ids)
+1 -1
View File
@@ -22,7 +22,7 @@
##############################################################################
name = 'openerp-server'
version = '5.0.3'
version = '5.0.5-bzr'
major_version = '5.0'
description = 'OpenERP Server'
long_desc = '''\
+7 -4
View File
@@ -331,7 +331,7 @@ def email_send(email_from, email_to, subject, body, email_cc=None, email_bcc=Non
email_bcc = []
if not attach:
msg = MIMEText(body or '',_subtype=subtype,_charset='utf-8')
msg = MIMEText(body.encode('utf-8') or '',_subtype=subtype,_charset='utf-8')
else:
msg = MIMEMultipart()
@@ -362,7 +362,7 @@ def email_send(email_from, email_to, subject, body, email_cc=None, email_bcc=Non
msg['Message-Id'] = "<%s-tinycrm-%s@%s>" % (time.time(), tinycrm, socket.gethostname())
if attach:
msg.attach( MIMEText(body or '', _charset='utf-8', _subtype=subtype) )
msg.attach( MIMEText(body.encode('utf-8') or '', _charset='utf-8', _subtype=subtype) )
for (fname,fcontent) in attach:
part = MIMEBase('application', "octet-stream")
@@ -783,6 +783,7 @@ def get_languages():
'es_AR': u'Spanish (AR) / Español (AR)',
'es_ES': u'Spanish / Español',
'et_EE': u'Estonian / Eesti keel',
'fi_FI': u'Finland / Suomi',
'fr_BE': u'French (BE) / Français (BE)',
'fr_CH': u'French (CH) / Français (CH)',
'fr_FR': u'French / Français',
@@ -799,12 +800,14 @@ def get_languages():
'ro_RO': u'Romanian / limba română',
'ru_RU': u'Russian / русский язык',
'sl_SL': u'Slovenian / slovenščina',
'sq_AL': u'Albanian / Shqipëri',
'sv_SE': u'Swedish / svenska',
'tr_TR': u'Turkish / Türkçe',
'vi_VN': u'Vietnam / Cộng hòa xã hội chủ nghĩa Việt Nam',
'uk_UA': u'Ukrainian / украї́нська мо́ва',
'zh_CN': u'Chinese (CN) / 简体中文' ,
'zh_CN': u'Chinese (CN) / 简体中文',
'zh_TW': u'Chinese (TW) / 正體字',
"th_TH": u"Thai / ภาษาไทย"
'th_TH': u'Thai / ภาษาไทย',
}
return languages
+59 -5
View File
@@ -1,4 +1,62 @@
2009-08-21: 5.0.2
2009-08-28: 5.0.4
=================
Bugfixes (server)
-----------------
* Not linked to a bug report:
* no traceback when access denied
* Security fix
* remove bad translation files (bad name)
* Pagecount problem while all objects print on same page and printing special character on xsl report
* https://launchpad.net/bugs/415973
* import: support "<rel_field>:db_id" , better warning message
* https://launchpad.net/bugs/415391
* Functional fields with M2O relation can be printed on print screen now
* https://launchpad.net/bugs/415334
* ir_cron :function and its arguements are now editable
Improvements (server)
---------------------
* replace partner name and address in demo
* add translation names
* update translations files
* new translations
Bugfixes (addons)
-----------------
* Not linked to a bug report:
* Document : error on create if attachment not specified
* report_dcoument : changed the misleading name of action
* point_of_sale: fixed a wrong domain
* sale: bad indentation
* https://launchpad.net/bugs/416807
* report_document : Dashboard should not display partner with no files
* https://launchpad.net/bugs/401110
* Audittrail : Logs set in descending order
* https://launchpad.net/bugs/418541
* Project : Delegated tasks from O2M didnt have project_id
* https://launchpad.net/bugs/416767
* Account_tax_include : onchange of product on invoice line price type issue
Improvements (addons)
---------------------
* update translations
* base_module_quality: make minimal score for all test, add message if the score is below limit,varible for whether to activate the test or not
* process view node now links to parent document directory if no record selected.
* purchase: Merge purchases wizard: added keyword='client_action_multi'
* Auction : improved code
* Auction : improved auction reports
* Age Partner Balance report executed 7 queries per partner, reduced this a total of 7 queries in total.
2009-08-21: 5.0.3
=================
Bugfixes (server)
@@ -15,7 +73,6 @@ Bugfixes (server)
* security issue: avoid access to inactive users
* security issue: avoid access with 'None' password (Thanks to P. Christeas for the bug report)
* avoid a bug when look in stack when translate code strings
* https://launchpad.net/bugs/415257
* import of boolean fields in csv files.
* https://launchpad.net/bugs/415014
@@ -55,7 +112,6 @@ Bugfixes (addons)
* Module:account Fix keyerror in general_ledger report
* Access rules stock / worker
* mrp: fr_FR.po file had a duplicate message definition
* https://launchpad.net/bugs/413699
* https://launchpad.net/bugs/415014
* report_task: regenerate translations files
@@ -123,7 +179,6 @@ Bugfixes (server)
* expression: correct the generated sql in case of _inherits
* the <delete> tag doesn't crash if the referenced id does not exists
* closed file pointer
* https://launchpad.net/bugs/380221
* https://launchpad.net/bugs/403652
* https://launchpad.net/bugs/369947
@@ -288,7 +343,6 @@ Bugfixes (addons)
* account_balance Module : Fix the Total problem and Put Indentation in Reports.C
* onchange of product_id on stock move corrected
* correct display of pyflakes result quality module
* https://launchpad.net/bugs/310458
* Simplify Migrations
* https://launchpad.net/bugs/382641