|
@@ -0,0 +1,11 @@
|
|
|
|
+# -*- coding: utf-8 -*-
|
|
|
|
+from openerp import models, fields
|
|
|
|
+
|
|
|
|
+class ResCurrency(models.Model):
|
|
|
|
+ _inherit = 'res.currency'
|
|
|
|
+ _name = 'res.currency'
|
|
|
|
+
|
|
|
|
+ decimal_separator = fields.Selection([('.', '.'),(',', ',')],'Decimal Separator', required=True)
|
|
|
|
+ decimal_places = fields.Integer(string='Decimal Places', default=0, required=True)
|
|
|
|
+ thousands_separator = fields.Selection([('.', '.'),(',', ',')],'thousands Separator', required=True)
|
|
|
|
+ symbol_position = fields.Selection([('before', 'Antes del importe'),('after', 'Después del importe')],'Symbol Position', required=True)
|