[IMP] l10n_pt: add type and reference account for taxes
Useful resource to understand the different taxes: - IVA dedutível - IVA suportado - IVA liquidado https://www.e-konomista.pt/iva-dedutivel/ closes odoo/odoo#84299 X-original-commit: b092faa6038dc1b8c5cb624d3a6ceb4722e121de Signed-off-by: William André (wan) <wan@odoo.com>
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_vendas_faturas_normal')],
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -34,6 +35,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_vendas_notas_credito_normal')],
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -43,6 +45,7 @@
|
||||
<field name="name">IVA22</field>
|
||||
<field name="description">IVA22 (taxa normal Madeira)</field>
|
||||
<field name="amount">22</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_group_id" ref="tax_group_iva_22"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -54,6 +57,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -65,6 +69,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -74,6 +79,7 @@
|
||||
<field name="name">IVA16</field>
|
||||
<field name="description">IVA16 (taxa normal Açores)</field>
|
||||
<field name="amount">16</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_group_id" ref="tax_group_iva_16"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -85,6 +91,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -96,6 +103,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -105,6 +113,7 @@
|
||||
<field name="name">IVA13</field>
|
||||
<field name="description">IVA13 (taxa intermédia Portugal Continental)</field>
|
||||
<field name="amount">13</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_iva_13"/>
|
||||
@@ -119,6 +128,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_vendas_faturas_intermedia')],
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -132,6 +142,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_vendas_notas_credito_intermedia')],
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -141,6 +152,7 @@
|
||||
<field name="name">IVA12</field>
|
||||
<field name="description">IVA12 (taxa intermédia Madeira)</field>
|
||||
<field name="amount">12</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_group_id" ref="tax_group_iva_12"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -152,6 +164,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -163,6 +176,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -172,6 +186,7 @@
|
||||
<field name="name">IVA9</field>
|
||||
<field name="description">IVA9 (taxa intermédia Açores)</field>
|
||||
<field name="amount">9</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_group_id" ref="tax_group_iva_9"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -183,6 +198,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -194,6 +210,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -203,6 +220,7 @@
|
||||
<field name="name">IVA6</field>
|
||||
<field name="description">IVA6 (taxa reduzida Portugal Continental)</field>
|
||||
<field name="amount">6</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_iva_6"/>
|
||||
@@ -217,6 +235,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_vendas_faturas_reduzida')],
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -230,6 +249,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_vendas_notas_credito_reduzida')],
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -239,6 +259,7 @@
|
||||
<field name="name">IVA5</field>
|
||||
<field name="description">IVA5 (taxa reduzida Madeira)</field>
|
||||
<field name="amount">5</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_group_id" ref="tax_group_iva_5"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -250,6 +271,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -261,6 +283,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -270,6 +293,7 @@
|
||||
<field name="name">IVA4</field>
|
||||
<field name="description">IVA4 (taxa reduzida Açores)</field>
|
||||
<field name="amount">4</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="tax_group_id" ref="tax_group_iva_4"/>
|
||||
<field name="invoice_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -281,6 +305,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -292,6 +317,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -301,6 +327,7 @@
|
||||
<field name="name">IVA0</field>
|
||||
<field name="description">IVA0</field>
|
||||
<field name="amount">0</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="tax_group_id" ref="tax_group_iva_0"/>
|
||||
@@ -315,6 +342,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_vendas_faturas_isento')],
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -328,6 +356,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_vendas_notas_credito_isento')],
|
||||
'account_id': ref('chart_2433'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -351,6 +380,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_despesas_faturas_normal')],
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -364,10 +394,11 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_despesas_notas_credito_normal')],
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="compiva22" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="pt_chart_template"/>
|
||||
<field name="name">IVA22 compra</field>
|
||||
@@ -385,6 +416,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -396,10 +428,11 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="compiva16" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="pt_chart_template"/>
|
||||
<field name="name">IVA16 compra</field>
|
||||
@@ -417,6 +450,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -428,6 +462,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -451,6 +486,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_despesas_faturas_intermedia')],
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -464,6 +500,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_despesas_notas_credito_intermedia')],
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -485,6 +522,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -496,6 +534,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -517,6 +556,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -528,6 +568,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -551,6 +592,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_despesas_faturas_reduzida')],
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -564,6 +606,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_despesas_notas_credito_reduzida')],
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -585,6 +628,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -596,6 +640,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -617,6 +662,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -628,6 +674,7 @@
|
||||
(0,0, {
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
@@ -651,6 +698,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_despesas_faturas_isento')],
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
|
||||
@@ -664,6 +712,7 @@
|
||||
'factor_percent': 100,
|
||||
'repartition_type': 'tax',
|
||||
'plus_report_line_ids': [ref('tax_report_pt_tax_despesas_notas_credito_isento')],
|
||||
'account_id': ref('chart_2432'),
|
||||
}),
|
||||
]"/>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user