mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD]l10n_es_SII: and refactoring pms documents
This commit is contained in:
37
pms_l10n_es_SII/data/pms_data.xml
Normal file
37
pms_l10n_es_SII/data/pms_data.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<!-- default partner simplified invoices -->
|
||||
<record id="pms.various_pms_partner" model="res.partner">
|
||||
<field name="aeat_anonymous_cash_customer">True</field>
|
||||
</record>
|
||||
<!-- aeat document type mapped -->
|
||||
<record id="pms_l10n_es.document_type_dni" model="res.partner.id_category">
|
||||
<field name="aeat_identification_type">02</field>
|
||||
</record>
|
||||
<record
|
||||
id="pms.document_type_spanish_residence"
|
||||
model="res.partner.id_category"
|
||||
>
|
||||
<field name="aeat_identification_type">05</field>
|
||||
</record>
|
||||
<record
|
||||
id="pms.document_type_european_residence"
|
||||
model="res.partner.id_category"
|
||||
>
|
||||
<field name="aeat_identification_type">05</field>
|
||||
</record>
|
||||
<record id="pms.document_type_passport" model="res.partner.id_category">
|
||||
<field name="aeat_identification_type">03</field>
|
||||
</record>
|
||||
<record id="pms.document_type_driving_license" model="res.partner.id_category">
|
||||
<field name="aeat_identification_type">06</field>
|
||||
</record>
|
||||
<record
|
||||
id="pms.document_type_identification_document"
|
||||
model="res.partner.id_category"
|
||||
>
|
||||
<field name="aeat_identification_type">06</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user