Add in party address the differents basics way that the facrturea could be
send. In case it wil be sned throw any platform.
This commit is contained in:
parent
a9712ae918
commit
228525f398
24
locale/ca.po
24
locale/ca.po
|
@ -94,6 +94,10 @@ msgctxt "field:account.tax.template,report_type:"
|
|||
msgid "Report Type"
|
||||
msgstr "Tipus informe"
|
||||
|
||||
msgctxt "field:party.address,facturae_outchannel:"
|
||||
msgid "Send Channel Used"
|
||||
msgstr "Canal d'enviament"
|
||||
|
||||
msgctxt "field:party.address,facturae_person_type:"
|
||||
msgid "Person Type"
|
||||
msgstr "Tipus persona"
|
||||
|
@ -805,6 +809,26 @@ msgctxt "selection:company.company,facturae_residence_type:"
|
|||
msgid "Resident in other EU country"
|
||||
msgstr "Resident a la Unió Europea (excepte Espanya)"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "Service Default"
|
||||
msgstr "Per defecte de la plataforma"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "AOC"
|
||||
msgstr "AOC"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "FACe"
|
||||
msgstr "FACe"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "FACeB2B"
|
||||
msgstr "FACeB2B"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "Osakidetza"
|
||||
msgstr "Osakidetza"
|
||||
|
||||
msgctxt "selection:party.address,facturae_person_type:"
|
||||
msgid "Individual"
|
||||
msgstr "Persona física"
|
||||
|
|
24
locale/es.po
24
locale/es.po
|
@ -94,6 +94,10 @@ msgctxt "field:company.company,unidad_tramitadora:"
|
|||
msgid "Unidad tramitadora"
|
||||
msgstr "Unidad tramitadora"
|
||||
|
||||
msgctxt "field:party.address,facturae_outchannel:"
|
||||
msgid "Send Channel Used"
|
||||
msgstr "Canal de envío"
|
||||
|
||||
msgctxt "field:party.address,facturae_person_type:"
|
||||
msgid "Person Type"
|
||||
msgstr "Tipo persona"
|
||||
|
@ -803,6 +807,26 @@ msgctxt "selection:company.company,facturae_residence_type:"
|
|||
msgid "Resident in other EU country"
|
||||
msgstr "Residente en la Unión Europea (excepto España)"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "Service Default"
|
||||
msgstr "Per defecte de la plataforma"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "AOC"
|
||||
msgstr "AOC"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "FACe"
|
||||
msgstr "FACe"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "FACeB2B"
|
||||
msgstr "FACeB2B"
|
||||
|
||||
msgctxt "selection:party.address,facturae_outchannel:"
|
||||
msgid "Osakidetza"
|
||||
msgstr "Osakidetza"
|
||||
|
||||
msgctxt "selection:party.address,facturae_person_type:"
|
||||
msgid "Individual"
|
||||
msgstr "Persona física"
|
||||
|
|
11
party.py
11
party.py
|
@ -19,6 +19,13 @@ class Address(metaclass=PoolMeta):
|
|||
('U', 'Resident in other EU country'),
|
||||
('E', 'Foreigner'),
|
||||
], 'Residence Type', sort=False)
|
||||
facturae_outchannel = fields.Selection([
|
||||
(None, 'Service Default'),
|
||||
('AOC', 'AOC'),
|
||||
('FACe', 'FACe'),
|
||||
('FACeB2B', 'FACeB2B'),
|
||||
('Osakidetza', 'Osakidetza'),
|
||||
], 'Send Channel Used', sort=False)
|
||||
oficina_contable = fields.Char('Oficina contable')
|
||||
organo_gestor = fields.Char('Organo gestor')
|
||||
unidad_tramitadora = fields.Char('Unidad tramitadora')
|
||||
|
@ -100,3 +107,7 @@ class Address(metaclass=PoolMeta):
|
|||
party.drop_column('organo_gestor')
|
||||
party.drop_column('unidad_tramitadora')
|
||||
party.drop_column('organo_proponente')
|
||||
|
||||
@staticmethod
|
||||
def default_facturae_outchannel():
|
||||
return None
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
<field name="facturae_person_type"/>
|
||||
<label name="facturae_residence_type"/>
|
||||
<field name="facturae_residence_type"/>
|
||||
<label name="facturae_outchannel"/>
|
||||
<field name="facturae_outchannel"/>
|
||||
<newline/>
|
||||
<label name="oficina_contable"/>
|
||||
<field name="oficina_contable"/>
|
||||
<label name="organo_gestor"/>
|
||||
|
|
Loading…
Reference in New Issue