summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernandoRFR02 <fernandorfr02@gmail.com>2020-11-24 00:40:21 +0000
committerFernandoRFR02 <fernandorfr02@gmail.com>2020-12-02 09:51:24 +0000
commitc8f343bfdf5d9a7706dae25462dee52e6762d3aa (patch)
tree7b687cf6b675d92f1803b1017744ff51b47b068f
parent375ba5b37053a599922dd61c9e787553d6171291 (diff)
[REF] l10n_do : deleting and adding journals, adding missing taxes, updating account to Retención 5% ISR gubernamentales
and CLA sing closes odoo/odoo#62720 X-original-commit: 0de9e69fae5abb2d4f15da35f907c8821ec80674 Signed-off-by: Josse Colpaert <jco@openerp.com>
-rw-r--r--addons/l10n_do/data/account.tax.template.xml107
-rw-r--r--addons/l10n_do/models/chart_template.py20
-rw-r--r--doc/cla/individual/rfiguereo.md11
3 files changed, 123 insertions, 15 deletions
diff --git a/addons/l10n_do/data/account.tax.template.xml b/addons/l10n_do/data/account.tax.template.xml
index 7aaf53e8cee..12802e12fb6 100644
--- a/addons/l10n_do/data/account.tax.template.xml
+++ b/addons/l10n_do/data/account.tax.template.xml
@@ -1179,7 +1179,7 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('do_niif_21030308'),
+ 'account_id': ref('do_niif_11080302'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5,0,0),
@@ -1190,7 +1190,7 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('do_niif_21030308'),
+ 'account_id': ref('do_niif_11080302'),
}),
]"/>
</record>
@@ -1261,5 +1261,108 @@
<field name="tax_group_id" ref="group_ret"/>
</record>
+ <record id="tax_18_10_total_mount" model="account.tax.template">
+ <field name="chart_template_id" ref="do_chart_template"/>
+ <field name="name">18% ITBIS sobre el 10% del Monto Total</field>
+ <field name="description">18% del 10%</field>
+ <field name="amount">1.8</field>
+ <field name="amount_type">percent</field>
+ <field name="type_tax_use">purchase</field>
+ <field eval="0" name="price_include"/>
+ <field name="tax_group_id" ref="group_itbis"/>
+ <field name="invoice_repartition_line_ids" eval="[(5,0,0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('do_niif_11080102'),
+ }),
+ ]"/>
+ <field name="refund_repartition_line_ids" eval="[(5,0,0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('do_niif_11080102'),
+ }),
+ ]"/>
+ </record>
+
+ <record id="tax_18_property_cost" model="account.tax.template">
+ <field name="chart_template_id" ref="do_chart_template"/>
+ <field name="name">18% ITBIS llevado al Costo Bienes</field>
+ <field name="description">18%</field>
+ <field name="amount">18</field>
+ <field name="amount_type">percent</field>
+ <field name="type_tax_use">purchase</field>
+ <field eval="0" name="price_include"/>
+ <field name="tax_group_id" ref="group_itbis"/>
+ <field name="invoice_repartition_line_ids" eval="[(5,0,0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('do_niif_51010500'),
+ 'plus_report_line_ids': [ref('account_tax_report_itbs_pgdo_locales')],
+ }),
+ ]"/>
+ <field name="refund_repartition_line_ids" eval="[(5,0,0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('do_niif_51010500'),
+ 'plus_report_line_ids': [ref('account_tax_report_itbs_pgdo_locales')],
+ }),
+ ]"/>
+ </record>
+
+ <record id="tax_18_serv_cost" model="account.tax.template">
+ <field name="chart_template_id" ref="do_chart_template"/>
+ <field name="name">18% ITBIS llevado al Costo Servicios</field>
+ <field name="description">18%</field>
+ <field name="amount">18</field>
+ <field name="amount_type">percent</field>
+ <field name="type_tax_use">purchase</field>
+ <field eval="0" name="price_include"/>
+ <field name="tax_group_id" ref="group_itbis"/>
+ <field name="invoice_repartition_line_ids" eval="[(5,0,0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('do_niif_51010500'),
+ 'plus_report_line_ids': [ref('account_tax_report_itbs_pgdo_locales')],
+ }),
+ ]"/>
+ <field name="refund_repartition_line_ids" eval="[(5,0,0),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'base',
+ }),
+ (0,0, {
+ 'factor_percent': 100,
+ 'repartition_type': 'tax',
+ 'account_id': ref('do_niif_51010500'),
+ 'plus_report_line_ids': [ref('account_tax_report_itbs_pgdo_locales')],
+ }),
+ ]"/>
+ </record>
+
</data>
</odoo>
diff --git a/addons/l10n_do/models/chart_template.py b/addons/l10n_do/models/chart_template.py
index 9da77527b4f..50efc5954cc 100644
--- a/addons/l10n_do/models/chart_template.py
+++ b/addons/l10n_do/models/chart_template.py
@@ -29,26 +29,20 @@ class AccountChartTemplate(models.Model):
journal['name'] = _('Compras Fiscales')
res += [{
'type': 'purchase',
- 'name': _('Compras Informales'),
- 'code': 'CINF',
- 'company_id': company.id,
- 'show_on_dashboard': True
- }, {
- 'type': 'purchase',
- 'name': _('Gastos Menores'),
- 'code': 'GASM',
+ 'name': _('Gastos No Deducibles'),
+ 'code': 'GASTO',
'company_id': company.id,
'show_on_dashboard': True
}, {
'type': 'purchase',
- 'name': _('Compras al Exterior'),
- 'code': 'CEXT',
+ 'name': _('Migración CxP'),
+ 'code': 'CXP',
'company_id': company.id,
'show_on_dashboard': True
}, {
- 'type': 'purchase',
- 'name': _('Gastos No Deducibles'),
- 'code': 'GASTO',
+ 'type': 'sale',
+ 'name': _('Migración CxC'),
+ 'code': 'CXC',
'company_id': company.id,
'show_on_dashboard': True
}]
diff --git a/doc/cla/individual/rfiguereo.md b/doc/cla/individual/rfiguereo.md
new file mode 100644
index 00000000000..059c88ad3c8
--- /dev/null
+++ b/doc/cla/individual/rfiguereo.md
@@ -0,0 +1,11 @@
+Dominican Republic, 2020-11-25
+
+I hereby agree to the terms of the Odoo Individual Contributor License
+Agreement v1.0.
+
+I declare that I am authorized and able to make this agreement and sign this
+declaration.
+
+Signed,
+
+Fernando Rubier Figuereo Roa fernandorfr02@gmail.com https://github.com/FernandoRFR02