You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# -*- coding: utf-8 -*- # © 2015 Antiun Ingeniería S.L. - Antonio Espinosa # © 2015 Antiun Ingeniería S.L. - Jairo Llopis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openerp import models, fields
class ResPartner(models.Model): _inherit = 'res.partner'
capital_country_id = fields.Many2one( 'res.country', "Capital country", oldname="capital_country", help="Country of origin of this company's capital.") capital_amount = fields.Float( "Capital amount", oldname="capital_registered", help="Publicly registered capital amount.") capital_currency_id = fields.Many2one( "res.currency", string="Capital currency") turnover_range_id = fields.Many2one( 'res.partner.turnover_range', "Turnover range", oldname="turnover_range") turnover_amount = fields.Float( oldname="turnover_number") company_size = fields.Selection( string="Company size", selection=[('micro', 'Micro'), ('small', 'Small'), ('medium', 'Medium'), ('big', 'Big')])
|