← Back to team overview

openerp-dev-web team mailing list archive

[Merge] lp:~openerp-dev/openobject-server/6.0-bug-765212-xrg into lp:openobject-server/6.0

 

xrg has proposed merging lp:~openerp-dev/openobject-server/6.0-bug-765212-xrg into lp:openobject-server/6.0.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #765212 in OpenERP Server: "res.currency symbol column (postgres type) too short"
  https://bugs.launchpad.net/openobject-server/+bug/765212

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-server/6.0-bug-765212-xrg/+merge/58271
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/6.0-bug-765212-xrg/+merge/58271
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-server/6.0-bug-765212-xrg.
=== modified file 'bin/addons/base/res/res_currency.py'
--- bin/addons/base/res/res_currency.py	2011-02-21 10:15:49 +0000
+++ bin/addons/base/res/res_currency.py	2011-04-19 10:57:03 +0000
@@ -49,7 +49,7 @@
     _columns = {
         # Note: 'code' column was removed as of v6.0, the 'name' should now hold the ISO code.
         'name': fields.char('Currency', size=32, required=True, help="Currency Code (ISO 4217)"),
-        'symbol': fields.char('Symbol', size=3, help="Currency sign, to be used when printing amounts"),
+        'symbol': fields.char('Symbol', size=8, help="Currency sign, to be used when printing amounts"),
         'rate': fields.function(_current_rate, method=True, string='Current Rate', digits=(12,6),
             help='The rate of the currency to the currency of rate 1'),
         'rate_ids': fields.one2many('res.currency.rate', 'currency_id', 'Rates'),


Follow ups