forked from OCA/l10n-spain
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[11.0][IMP] l10n_es_aeat_mod111: IRPF AEE 7% y 15%
- Loading branch information
1 parent
26b31ed
commit 58c4173
Showing
6 changed files
with
311 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<record id="mod_111_11" model="account.account.tag"> | ||
<field name="name">mod111[11]</field> | ||
<field name="applicability">taxes</field> | ||
<field name="country_id" ref="base.es"/> | ||
</record> | ||
<record id="mod_111_12" model="account.account.tag"> | ||
<field name="name">mod111[12]</field> | ||
<field name="applicability">taxes</field> | ||
<field name="country_id" ref="base.es"/> | ||
</record> | ||
<record id="account_tax_template_p_irpf15e" model="account.tax.template"> | ||
<field name="description"/> <!-- for resetting the value on existing DBs --> | ||
<field name="type_tax_use">purchase</field> | ||
<field name="name">Retenciones IRPF 15% en especie</field> | ||
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/> | ||
<field name="amount" eval="-15"/> | ||
<field name="amount_type">percent</field> | ||
<field name="tax_group_id" ref="tax_group_retenciones_15"/> | ||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0), | ||
(0,0, { | ||
'repartition_type': 'base', | ||
'tag_ids': [ref('mod_111_11')], | ||
}), | ||
(0,0, { | ||
'repartition_type': 'tax', | ||
'account_id': ref('l10n_es.account_common_4751'), | ||
'tag_ids': [ref('mod_111_12')], | ||
}), | ||
]"/> | ||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0), | ||
(0,0, { | ||
'repartition_type': 'base', | ||
'tag_ids': [ref('mod_111_11')], | ||
}), | ||
(0,0, { | ||
'repartition_type': 'tax', | ||
'account_id': ref('l10n_es.account_common_4751'), | ||
'tag_ids': [ref('mod_111_12')], | ||
}), | ||
]"/> | ||
</record> | ||
<record id="account_tax_template_p_irpf7e" model="account.tax.template"> | ||
<field name="description"/> <!-- for resetting the value on existing DBs --> | ||
<field name="type_tax_use">purchase</field> | ||
<field name="name">Retenciones IRPF 7% en especie</field> | ||
<field name="chart_template_id" ref="l10n_es.account_chart_template_common"/> | ||
<field name="amount" eval="-7"/> | ||
<field name="amount_type">percent</field> | ||
<field name="tax_group_id" ref="tax_group_retenciones_7"/> | ||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0), | ||
(0,0, { | ||
'repartition_type': 'base', | ||
'tag_ids': [ref('mod_111_11')], | ||
}), | ||
(0,0, { | ||
'repartition_type': 'tax', | ||
'account_id': ref('l10n_es.account_common_4751'), | ||
'tag_ids': [ref('mod_111_12')], | ||
}), | ||
]"/> | ||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0), | ||
(0,0, { | ||
'repartition_type': 'base', | ||
'tag_ids': [ref('mod_111_11')], | ||
}), | ||
(0,0, { | ||
'repartition_type': 'tax', | ||
'account_id': ref('l10n_es.account_common_4751'), | ||
'tag_ids': [ref('mod_111_12')], | ||
}), | ||
]"/> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<record id="tax_group_retenciones_15" model="account.tax.group"> | ||
<field name="name">Retenciones 15%</field> | ||
<field name="country_id" ref="base.es"/> | ||
</record> | ||
<record id="tax_group_retenciones_7" model="account.tax.group"> | ||
<field name="name">Retenciones 7%</field> | ||
<field name="country_id" ref="base.es"/> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.