25 lines
893 B
Python
25 lines
893 B
Python
# The COPYRIGHT file at the top level of this repository contains the full
|
|
# copyright notices and license terms.
|
|
from trytond.model import fields
|
|
from trytond.pool import PoolMeta
|
|
|
|
|
|
class Company(metaclass=PoolMeta):
|
|
__name__ = 'company.company'
|
|
|
|
facturae_person_type = fields.Selection([
|
|
(None, ''),
|
|
('J', 'Legal Entity'),
|
|
('F', 'Individual'),
|
|
], 'Person Type', sort=False)
|
|
facturae_residence_type = fields.Selection([
|
|
(None, ''),
|
|
('R', 'Resident in Spain'),
|
|
('U', 'Resident in other EU country'),
|
|
('E', 'Foreigner'),
|
|
], 'Residence Type', sort=False)
|
|
oficina_contable = fields.Char('Oficina contable')
|
|
organo_gestor = fields.Char('Organo gestor')
|
|
unidad_tramitadora = fields.Char('Unidad tramitadora')
|
|
organo_proponente = fields.Char('Organo proponente')
|