[MERGE] forward port branch saas-11.3 up to c0eef42711
This commit is contained in:
@@ -1578,6 +1578,7 @@ class AccountInvoiceLine(models.Model):
|
||||
help="Gives the sequence of this line when displaying the invoice.")
|
||||
invoice_id = fields.Many2one('account.invoice', string='Invoice Reference',
|
||||
ondelete='cascade', index=True)
|
||||
invoice_type = fields.Selection(related='invoice_id.type', readonly=True)
|
||||
uom_id = fields.Many2one('uom.uom', string='Unit of Measure',
|
||||
ondelete='set null', index=True, oldname='uos_id')
|
||||
product_id = fields.Many2one('product.product', string='Product',
|
||||
|
||||
@@ -339,7 +339,11 @@ class AccountReconciliation(models.AbstractModel):
|
||||
rec_prop = aml_ids and self.env['account.move.line'].browse(aml_ids) or self._get_move_line_reconciliation_proposition(account.id, partner_id)
|
||||
row['reconciliation_proposition'] = self._prepare_move_lines(rec_prop, target_currency=currency)
|
||||
row['company_id'] = account.company_id.id
|
||||
return rows
|
||||
|
||||
# Return the partners with a reconciliation proposition first, since they are most likely to
|
||||
# be reconciled.
|
||||
return [r for r in rows if r['reconciliation_proposition']] + [r for r in rows if not r['reconciliation_proposition']]
|
||||
|
||||
|
||||
@api.model
|
||||
def process_move_lines(self, data):
|
||||
|
||||
@@ -77,8 +77,11 @@
|
||||
<field name="sequence" invisible="1"/>
|
||||
<group attrs="{'invisible': [('display_type', '!=', False)]}">
|
||||
<group>
|
||||
<field name="partner_id" invisible="1"/>
|
||||
<field name="invoice_type" invisible="1"/>
|
||||
<field name="company_id" invisible="1"/>
|
||||
<field name="product_id"
|
||||
context="parent and {'partner_id': parent.partner_id}"/>
|
||||
context="{'partner_id': partner_id}"/>
|
||||
<label for="quantity"/>
|
||||
<div>
|
||||
<field name="quantity" class="oe_inline"/>
|
||||
@@ -90,9 +93,9 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="analytic_tag_ids" groups="analytic.group_analytic_accounting" widget="many2many_tags" options="{'color_field': 'color'}"/>
|
||||
<field domain="[('company_id', '=', parent.company_id)]" name="account_id" groups="account.group_account_user"/>
|
||||
<field name="invoice_line_tax_ids" context="{'type':parent.type}" domain="[('type_tax_use','!=','none'),('company_id', '=', parent.company_id)]" widget="many2many_tags" options="{'no_create': True}"/>
|
||||
<field domain="[('company_id', '=', parent.company_id)]" name="account_analytic_id" groups="analytic.group_analytic_accounting"/>
|
||||
<field domain="[('company_id', '=', company_id)]" name="account_id" groups="account.group_account_user"/>
|
||||
<field name="invoice_line_tax_ids" context="{'type': invoice_type}" domain="[('type_tax_use','!=','none'),('company_id', '=', company_id)]" widget="many2many_tags" options="{'no_create': True}"/>
|
||||
<field domain="[('company_id', '=', company_id)]" name="account_analytic_id" groups="analytic.group_analytic_accounting"/>
|
||||
<field name="analytic_tag_ids" widget="many2many_tags" groups="analytic.group_analytic_tags"/>
|
||||
<field name="company_id" groups="base.group_multi_company" readonly="1"/>
|
||||
</group>
|
||||
|
||||
@@ -49,7 +49,9 @@ class HrEmployee(models.Model):
|
||||
@api.depends('attendance_ids')
|
||||
def _compute_last_attendance_id(self):
|
||||
for employee in self:
|
||||
employee.last_attendance_id = employee.attendance_ids and employee.attendance_ids[0] or False
|
||||
employee.last_attendance_id = self.env['hr.attendance'].search([
|
||||
('employee_id', '=', employee.id),
|
||||
], limit=1)
|
||||
|
||||
@api.depends('last_attendance_id.check_in', 'last_attendance_id.check_out', 'last_attendance_id')
|
||||
def _compute_attendance_state(self):
|
||||
|
||||
@@ -461,6 +461,7 @@ class HrExpense(models.Model):
|
||||
'employee_id': employee.id,
|
||||
'product_id': product.id,
|
||||
'product_uom_id': product.uom_id.id,
|
||||
'tax_ids': [(4, tax.id, False) for tax in product.supplier_taxes_id],
|
||||
'quantity': 1,
|
||||
'unit_amount': price,
|
||||
'company_id': employee.company_id.id,
|
||||
|
||||
@@ -78,6 +78,26 @@ class TestAccountEntry(TestExpenseCommon):
|
||||
self.assertAlmostEquals(self.analytic_account.line_ids[0].amount, -636.36, "Amount on the only AAL is wrong")
|
||||
self.assertEquals(self.analytic_account.line_ids[0].product_id, self.product_expense, "Product of AAL should be the one from the expense")
|
||||
|
||||
def test_expense_from_email(self):
|
||||
user_demo = self.env.ref('base.user_demo')
|
||||
self.tax.price_include = False
|
||||
|
||||
message_parsed = {
|
||||
'message_id': 'the-world-is-a-ghetto',
|
||||
'subject': '[AT] 9876',
|
||||
'email_from': 'demo@yourcompany.example.com',
|
||||
'to': 'catchall@yourcompany.com',
|
||||
'body': "Don't you know, that for me, and for you",
|
||||
'attachments': [],
|
||||
}
|
||||
|
||||
expense = self.env['hr.expense'].message_new(message_parsed)
|
||||
|
||||
air_ticket = self.env.ref("hr_expense.air_ticket")
|
||||
self.assertEquals(expense.product_id, air_ticket)
|
||||
self.assertEquals(expense.tax_ids.ids, [])
|
||||
self.assertEquals(expense.total_amount, 9876.0)
|
||||
self.assertTrue(expense.employee_id in user_demo.employee_ids)
|
||||
|
||||
class TestExpenseRights(TestExpenseCommon):
|
||||
|
||||
|
||||
@@ -89,6 +89,7 @@ en Odoo):
|
||||
],
|
||||
'data': [
|
||||
# Basic accounting data
|
||||
'data/account_group.xml',
|
||||
'data/l10n_do_chart_data.xml',
|
||||
'data/account_account_tag_data.xml',
|
||||
'data/account.account.template.csv',
|
||||
|
||||
@@ -1,281 +1,281 @@
|
||||
id,code,name,user_type_id/id,reconcile,chart_template_id/id,tag_ids/id
|
||||
do_niif_11010301,11010301,Depósitos a corto plazo en RD$,account.data_account_type_liquidity,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1101,account_tag_110103"
|
||||
do_niif_11010302,11010302,Depósitos a corto plazo en USD$,account.data_account_type_liquidity,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1101,account_tag_110103"
|
||||
do_niif_11020100,11020100,Bonos y Acciones Temporales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1102"
|
||||
do_niif_11020200,11020200,Operaciones en Bolsa,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1102"
|
||||
do_niif_11020300,11020300,Otros Valores Negociables,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1102"
|
||||
do_niif_11030101,11030101,Cheques Devueltos por Cobrar,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110301"
|
||||
do_niif_11030102,11030102,Intereses por Cobrar,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110301"
|
||||
do_niif_11030201,11030201,Cuentas por Cobrar a Clientes,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302"
|
||||
do_niif_11030202,11030202,Cuentas por Cobrar a Funcionarios y Empleados,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302"
|
||||
do_niif_11030203,11030203,Cuentas por Cobrar a Afiliadas,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302"
|
||||
do_niif_11030204,11030204,Cuentas por Cobrar a Accionistas,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302"
|
||||
do_niif_11030205,11030205,Otras Cuentas por Cobrar,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302"
|
||||
do_niif_11040100,11040100,Provisiones de Incobrables a Clientes,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104"
|
||||
do_niif_11040200,11040200,Provisiones de Incobrables a Funcionarios y Empleados,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104"
|
||||
do_niif_11040300,11040300,Provisiones de Incobrables a Afiliadas,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104"
|
||||
do_niif_11040400,11040400,Provisiones de Incobrables a Accionistas,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104"
|
||||
do_niif_11040500,11040500,Provisiones de Otras Cuentas Incobrables,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104"
|
||||
do_niif_11050100,11050100,Inventario de Mercancías o Productos Terminados,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105"
|
||||
do_niif_11050200,11050200,Inventario de Materia Prima,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105"
|
||||
do_niif_11050300,11050300,Inventario en Tránsito,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105"
|
||||
do_niif_11050400,11050400,Inventario de Materiales y Suministros,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105"
|
||||
do_niif_11050500,11050500,Inventario de Combustibles,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105"
|
||||
do_niif_11050600,11050600,Bienes Enviados No Facturados,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105"
|
||||
do_niif_11060100,11060100,Deterioro Acum. de Inventario en Almacen,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1106"
|
||||
do_niif_11060200,11060200,Deterioro Acum. de Materiales y Suministros,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1106"
|
||||
do_niif_11060300,11060300,Deterioro Acum. de Combustibles,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1106"
|
||||
do_niif_11070100,11070100,Obsolescencia de Inventario en Almacen,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1107"
|
||||
do_niif_11070200,11070200,Obsolescencia de Materiales y Suministros,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1107"
|
||||
do_niif_11070300,11070300,Obsolescencia de Combustibles,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1107"
|
||||
do_niif_11080101,11080101,ITBIS Pagado en Compras de Bienes Locales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801"
|
||||
do_niif_11080102,11080102,ITBIS Pagado en Compras de Servicios Deducibles,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801"
|
||||
do_niif_11080103,11080103,ITBIS Pagado en Importaciones,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801"
|
||||
do_niif_11080104,11080104,ITBIS en Compras de Bienes o Servicios Sujetos a Proporcionalidad,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801"
|
||||
do_niif_11080105,11080105,ITBIS en Importaciones Sujeto a Proporcionalidad,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801"
|
||||
do_niif_11080106,11080106,ITBIS Pagado en Importaciones Sujeto a Proporcionalidad,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801"
|
||||
do_niif_11080301,11080301,ITBIS Retenido por Ventas (N08-04 y N02-05),account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110803"
|
||||
do_niif_11080302,11080302,ITBIS Retenido por Entidades del Estado (5%),account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110803"
|
||||
do_niif_11080303,11080303,Saldo a Favor Anterior,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110803"
|
||||
do_niif_11090100,11090100,Acciones Temporales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1109"
|
||||
do_niif_11090200,11090200,Depósitos a Plazo Temporales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1109"
|
||||
do_niif_11090300,11090300,Bonos Temporales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1109"
|
||||
do_niif_11090400,11090400,Fianzas y Depósitos,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1109"
|
||||
do_niif_11100100,11100100,Avance a Proveedores,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110"
|
||||
do_niif_11100200,11100200,Alquileres pagados por Anticipado,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110"
|
||||
do_niif_11100300,11100300,Anticipos para Seguros,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110"
|
||||
do_niif_11100400,11100400,Anticipos para ISR,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110"
|
||||
do_niif_11100500,11100500,Anticipos para Gastos,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110"
|
||||
do_niif_11100600,11100600,Anticipos para 1% Activos,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110"
|
||||
do_niif_12010101,12010101,Terrenos,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120101"
|
||||
do_niif_12010102,12010102,Edificaciones,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120101"
|
||||
do_niif_12010103,12010103,Mejoras en Edificaciones,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120101"
|
||||
do_niif_12010104,12010104,Mejoras en Edificaciones y Locales Arrendados,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120101"
|
||||
do_niif_12010201,12010201,Equipos de Transporte Liviano,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120102"
|
||||
do_niif_12010202,12010202,Mobiliarios y Equipos de Oficina,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120102"
|
||||
do_niif_12010301,12010301,Maquinarias,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103"
|
||||
do_niif_12010302,12010302,Herramientas,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103"
|
||||
do_niif_12010303,12010303,Instalaciones,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103"
|
||||
do_niif_12010304,12010304,Sistemas de Cámara y Seguridad,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103"
|
||||
do_niif_12010305,12010305,Misceláneos u otros activos,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103"
|
||||
do_niif_12020100,12020100,Depreciación Acum. de Edificios,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202"
|
||||
do_niif_12020200,12020200,Depreciación Acum. de Equipos de Transporte,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202"
|
||||
do_niif_12020300,12020300,Depreciación Acum. de Mobiliarios y Equipos,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202"
|
||||
do_niif_12020400,12020400,Depreciación Acum. de Maquinarias,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202"
|
||||
do_niif_12020500,12020500,Depreciación Acum. de Herramientas,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202"
|
||||
do_niif_12020600,12020600,Depreciación Acum. de Instalaciones,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202"
|
||||
do_niif_12040100,12040100,Marcas y Patentes,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1204"
|
||||
do_niif_12040200,12040200,Licencias y Programas Informáticos,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1204"
|
||||
do_niif_12050100,12050100,Edificaciones y Locales Arrendados,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1205"
|
||||
do_niif_12050200,12050200,Maquinarias y Equipos Arrendados,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1205"
|
||||
do_niif_12050300,12050300,Instalaciones Arrendadas,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1205"
|
||||
do_niif_12060100,12060100,Depreciación Acum. Edificaciones y Locales Arrendados,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1206"
|
||||
do_niif_12060200,12060200,Depreciación Acum. Maquinarias y Equipos Arrendados,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1206"
|
||||
do_niif_12060300,12060300,Depreciación Acum. Instalaciones Arrendadas,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1206"
|
||||
do_niif_12070100,12070100,Deterioro Valor Acum. Edificios y Locales Arrendados,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1207"
|
||||
do_niif_12070200,12070200,Deterioro Valor Acum. Maquinaria y Equipo Arrendado,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1207"
|
||||
do_niif_12070300,12070300,Deterioro Valor Acum. Instalaciones Arrendadas,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1207"
|
||||
do_niif_12080100,12080100,Acciones en otras sociedades,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1208"
|
||||
do_niif_12090100,12090100,Diferencias temporales deducibles,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1209"
|
||||
do_niif_12090200,12090200,Gastos Organizacionales Diferidos,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1209"
|
||||
do_niif_12090300,12090300,ISR Deducible,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1209"
|
||||
do_niif_13010100,13010101,Costos de Construcción en Proceso,account.data_account_type_non_current_assets,FALSE,do_chart_template,
|
||||
do_niif_21010100,21010100,Préstamos Bancarios por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101"
|
||||
do_niif_21010200,21010200,Cuentas por Pagar a Proveedores Locales,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101"
|
||||
do_niif_21010300,21010300,Cuentas por Pagar a Proveedores del Exterior,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101"
|
||||
do_niif_21010400,21010400,Cuentas por Pagar a Afiliadas,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101"
|
||||
do_niif_21010500,21010500,Cuentas por Pagar a Accionistas,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101"
|
||||
do_niif_21010600,21010600,Nóminas por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101"
|
||||
do_niif_21010700,21010700,Intereses por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101"
|
||||
do_niif_21010800,21010800,Otras Cuentas por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101"
|
||||
do_niif_21020100,21020100,Dividendos por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21020200,21020200,Comisiones por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21020300,21020300,Vacaciones por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21020400,21020400,Bonificaciones por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21020500,21020500,Regalía Pascual por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21020600,21020600,Seguro Médico por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21020700,21020700,Seguro Familiar de Salud (SFS) por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21020800,21020800,Aporte a Fondo de Pensiones (AFP) por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21020900,21020900,Seguro de Riesgo Laboral (SRL) por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21021000,21021000,INFOTEP por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21021100,21021100,Tesorería de la Seguridad Social (TSS) por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21021200,21021200,Bienes Recibidos no Facturados,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102"
|
||||
do_niif_21030101,21030101,ITBIS por Venta Servicios,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210301"
|
||||
do_niif_21030102,21030102,ITBIS por Venta Bienes,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210301"
|
||||
do_niif_21030103,21030103,ITBIS por Venta Servicios en Nombre de Terceros,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210301"
|
||||
do_niif_21030201,21030201,ITBIS Retenido a Persona Jurídica (N02-05),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302"
|
||||
do_niif_21030202,21030202,ITBIS Retenido a Persona Física (R293-11),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302"
|
||||
do_niif_21030203,21030203,ITBIS Retenido a Entidades No Lucrativas (N01-11),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302"
|
||||
do_niif_21030204,21030204,ITBIS Retenido por Servicios Profesionales (N02-05),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302"
|
||||
do_niif_21030205,21030205,ITBIS Retenido a Informales de Bienes (N08-10),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302"
|
||||
do_niif_21030301,21030301,ISR Retenido por Honorarios Profesionales de Personas Físicas,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303"
|
||||
do_niif_21030302,21030302,ISR Retenido por Alquileres Pagados a Personas Físicas,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303"
|
||||
do_niif_21030303,21030303,ISR Retenido por Dividendos Pagados,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303"
|
||||
do_niif_21030304,21030304,ISR Retenido por Intereses Pagados al Exterior,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303"
|
||||
do_niif_21030305,21030305,ISR Retenido por Intereses Pagados,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303"
|
||||
do_niif_21030306,21030306,ISR Retenido por Transferencias de Títulos y Propiedades,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303"
|
||||
do_niif_21030307,21030307,ISR Retenido por Remesas al Exterior (L253-12),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303"
|
||||
do_niif_21030308,21030308,Otras Retenciones (N07-07),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303"
|
||||
do_niif_21030309,21030309,Otras Retenciones,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303"
|
||||
do_niif_21030401,21030401,Retención de Impuesto al Salario (ISR del IR3),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210304"
|
||||
do_niif_21030402,21030402,Retención de Seguro Familiar de Salud (SFS),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210304"
|
||||
do_niif_21030403,21030403,Retención de Fondo de Pensiones (AFP),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210304"
|
||||
do_niif_21030404,21030404,Retención de INFOTEP (0.5%),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210304"
|
||||
do_niif_21030501,21030501,ISR por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210305"
|
||||
do_niif_21030502,21030502,Anticipos ISR por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210305"
|
||||
do_niif_21030503,21030503,Propina Legal por Pagar (L16-92),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210305"
|
||||
do_niif_21030504,21030504,Otros Impuestos por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210305"
|
||||
do_niif_21040100,21040100,Provisiones Pago Alquileres,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2104"
|
||||
do_niif_21040200,21040200,Provisiones Arrendamiento Financiero,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2104"
|
||||
do_niif_21040300,21040300,Provisiones Gastos Fijos,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2104"
|
||||
do_niif_21050100,21050100,Tarjeta de Crédito Empresarial,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2105"
|
||||
do_niif_21050200,21050200,Prima de Tarjetas de Crédito,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2105"
|
||||
do_niif_22010100,22010100,Préstamos Bancarios Largo Plazo,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2201"
|
||||
do_niif_22010200,22010200,Préstamos Hipotecarios LP,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2201"
|
||||
do_niif_22012300,22012300,Préstamos Accionistas / Particulares,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2201"
|
||||
do_niif_22020100,22020100,Provisiones Beneficios de Empleados LP,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2202"
|
||||
do_niif_22020200,22020200,Provisiones Prestaciones Laborales,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2202"
|
||||
do_niif_22020300,22020300,Provisiones Indemnizaciones,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2202"
|
||||
do_niif_22030100,22030100,Anticipos o Garantías de Clientes,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2203"
|
||||
do_niif_22030200,22030200,Depósitos por Identificar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2203"
|
||||
do_niif_22040100,22040100,Provisiones Arrendamiento Financiero LP,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2204"
|
||||
do_niif_31010100,31010100,Capital Social Autorizado,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101"
|
||||
do_niif_31010200,31010200,Capital Social en Acciones no Emitidas,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101"
|
||||
do_niif_31010300,31010300,Capital Social Pagado,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101"
|
||||
do_niif_31010400,31010400,Capital Social No Pagado,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101"
|
||||
do_niif_31010500,31010500,Acciones o Participaciones en Tesorería,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101"
|
||||
do_niif_31020100,31020100,Superávit por Revaluación de Terrenos,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3102"
|
||||
do_niif_31020200,31020200,Superávit por Revaluación de Edificaciones,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3102"
|
||||
do_niif_31020300,31020300,Superávit por Revaluación de Instalaciones,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3102"
|
||||
do_niif_31020400,31020400,Superávit por Revaluación de Mobiliario y Equipo,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3102"
|
||||
do_niif_32010100,32010100,Reserva Legal,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_32,account_tag_3201"
|
||||
do_niif_33010100,33010100,Utilidades de Ejercicios Anteriores,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3301"
|
||||
do_niif_33010200,33010200,Pérdidas de Ejercicios Anteriores,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3301"
|
||||
do_niif_33020100,33020100,Utilidad del Ejercicio,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3302"
|
||||
do_niif_33020200,33020200,Pérdidas del Ejercicio,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3302"
|
||||
do_niif_33040100,33040100,Superávit en Reserva,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3304"
|
||||
do_niif_33040200,33040200,Déficit en Reserva,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3304"
|
||||
do_niif_41010100,41010100,Ventas de Bienes,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4101"
|
||||
do_niif_41010200,41010200,Ventas por Exportaciones de Bienes,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4101"
|
||||
do_niif_41020100,41020100,Ventas de Servicios,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4102"
|
||||
do_niif_41020200,41020200,Ventas por Exportaciones de Servicios,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4102"
|
||||
do_niif_41030100,41030100,Devoluciones de Bienes,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4103"
|
||||
do_niif_41030200,41030200,Devoluciones por Servicios,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4103"
|
||||
do_niif_41040100,41040100,Descuentos por Ventas (por NC),account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4104"
|
||||
do_niif_42010100,42010100,Intereses sobre Certificados,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4201"
|
||||
do_niif_42010200,42010200,Intereses por Cuentas Bancarias,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4201"
|
||||
do_niif_42010300,42010300,Intereses por Financiamientos,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4201"
|
||||
do_niif_42020100,42020100,Ingresos por Ventas de Activos Depreciables (CAT II y III) ,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4202"
|
||||
do_niif_42030100,42030100,Ingresos por Dividendos Ganados,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4203"
|
||||
do_niif_42040100,42040100,Ingresos por Diferencia Cambiaria,account.data_account_type_other_income,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4204"
|
||||
do_niif_42040200,42040200,Cobro de Cuentas Incobrables,account.data_account_type_other_income,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4204"
|
||||
do_niif_42040300,42040300,Ingresos por Sobrante en Caja,account.data_account_type_other_income,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4204"
|
||||
do_niif_51010100,51010100,Costos de Bienes,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5101"
|
||||
do_niif_51010200,51010200,Costos de Servicios,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5101"
|
||||
do_niif_51010300,51010300,Diferencia en Precio,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5101"
|
||||
do_niif_51020400,51020400,Costos de Importación,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5102"
|
||||
do_niif_51010500,51010500,ITBIS llevado al Costo,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5101"
|
||||
do_niif_51020100,51020100,Costos de Materia Prima,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5102"
|
||||
do_niif_51020200,51020200,Costos de Mano de Obra,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5102"
|
||||
do_niif_51020300,51020300,Costos Indirectos,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5102"
|
||||
do_niif_52010100,61010100,Sueldos y Salarios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52010200,61010200,Regalía Pascual,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52010300,61010300,Retribuciones Complementarias,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52010400,61010400,Bono Vacacional,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52010500,61010500,Bono por Desempeño,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52010600,61010600,Comisiones a Empleados,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52010700,61010700,Indemnizaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52010800,61010800,Bonificaciones y Gratificaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52010900,61010900,Comidas o Dietas al Personal,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52011000,61011000,Cursos y Entrenamientos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52011100,61011100,Prestaciones Laborales (Preaviso y Cesantia),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52011200,61011200,Incentivos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52011300,61011300,Horas Extras,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52011400,61011400,Uniformes,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52011500,61011500,Otros Gastos de Personal,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201"
|
||||
do_niif_52010102,61010102,Contribución a la Administradora de Fondos de Pensiones (AFP),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520101"
|
||||
do_niif_52010103,61010103,Contribución al Seguro Riesgo Laboral (SRL),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520101"
|
||||
do_niif_52010104,61010104,Contribución al Seguro Familiar de Salud (SFS),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520101"
|
||||
do_niif_52010201,61010201,Contribución a la Administradora de Riesgos de Salud (ARS),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102"
|
||||
do_niif_52010202,61010202,Contribución a Seguros del Personal,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102"
|
||||
do_niif_52010203,61010203,Contribución a Planes Complementarios de Salud,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102"
|
||||
do_niif_52010204,61010204,Contribución Seguros de Vida,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102"
|
||||
do_niif_52010205,61010205,Contribución al INFOTEP,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102"
|
||||
do_niif_52020100,61020100,Energía Eléctrica,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52020200,61020200,Comunicaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52020300,61020300,Suministros de Oficina (Papelería y útiles),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52020400,61020400,Útiles de Aseo y Limpieza,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52020500,61020500,Agua y Basura,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52020600,61020600,Seguro de Edificio y Locales,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52020700,61020700,Combustibles y Lubricantes,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52020800,61020800,Alquileres / Arrendamientos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52020900,61020900,Franquicias,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52021000,61021000,Eventos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52021100,61021100,Seguros,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52021200,61021200,Servicios de Mensajería,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52021300,61021300,Flete y Carga,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52021400,61021400,Cuotas y Suscripciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52021500,61021500,Alojamiento en Hoteles,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202"
|
||||
do_niif_52030101,61030101,Legales (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030102,61030102,Contabilidad y Auditoría (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030103,61030103,Tecnología (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030104,61030104,Mantenimientos de Planta (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030105,61030105,Mantenimientos de Local (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030106,61030106,Mantenimientos Mobiliarios y Equipos (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030107,61030107,Asesorías (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030108,61030108,Fumigaciones (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030109,61030109,Copias y Escaneos (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030110,61030110,Servicios de Vigilancia (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030111,61030111,Otros Servicios Profesionales (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301"
|
||||
do_niif_52030201,61030201,Legales (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030202,61030202,Contabilidad y Auditoría (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030203,61030203,Tecnología (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030204,61030204,Mantenimiento de Planta (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030205,61030205,Mantenimiento del Local (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030206,61030206,Mantenimiento Mobiliario y Equipos (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030207,61030207,Asesorías (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030208,61030208,Fumigaciones (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030209,61030209,Copias y Escaneos (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030210,61030210,Servicios de Vigilancia (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030211,61030211,Otros Servicios Profesionales (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302"
|
||||
do_niif_52030301,61030301,Honorarios por Servicios del Exterior - Relacionadas,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520303"
|
||||
do_niif_52030302,61030302,Honorarios por Servicios del Exterior - Terceros,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520303"
|
||||
do_niif_52040100,61040100,Gastos por Depreciación de Edificios,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204"
|
||||
do_niif_52040200,61040200,Gastos por Depreciación de Equipo de Transporte,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204"
|
||||
do_niif_52040300,61040300,Gastos por Depreciación de Mobiliario y Equipos,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204"
|
||||
do_niif_52040400,61040400,Gastos por Depreciación de Maquinaria,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204"
|
||||
do_niif_52040500,61040500,Gastos por Depreciación de Herramientas,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204"
|
||||
do_niif_52040600,61040600,Gastos por Depreciación de Instalaciones,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204"
|
||||
do_niif_52050100,61050100,Gastos por Reparación de Edificios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205"
|
||||
do_niif_52050200,61050200,Gastos por Reparación de Equipo de Transporte,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205"
|
||||
do_niif_52050300,61050300,Gastos por Reparación de Mobiliario y Equipos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205"
|
||||
do_niif_52050400,61050400,Gastos por Reparación de Maquinaria,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205"
|
||||
do_niif_52050500,61050500,Gastos por Reparación de Herramientas,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205"
|
||||
do_niif_52050600,61050600,Gastos por Reparación de Instalaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205"
|
||||
do_niif_52060100,61060100,Relaciones Públicas,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206"
|
||||
do_niif_52060200,61060200,Publicidad,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206"
|
||||
do_niif_52060300,61060300,Gastos de Viajes y Representación,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206"
|
||||
do_niif_52060400,61060400,Donaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206"
|
||||
do_niif_52060500,61060500,Donaciones a ProIndustria (Ley 392-07),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206"
|
||||
do_niif_52060600,61060600,Promociones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206"
|
||||
do_niif_52060700,61060700,Gastos en Restaurantes,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206"
|
||||
do_niif_52070100,61070100,Gastos por Préstamos Financieros,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207"
|
||||
do_niif_52070200,61070200,Retención por Cheques o Transferencias Electrónicas (0.15%),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207"
|
||||
do_niif_52070300,61070300,Intereses Bancarios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207"
|
||||
do_niif_52070400,61070400,Comisiones Bancarias,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207"
|
||||
do_niif_52070500,61070500,Comisiones de Tarjeta de Crédito,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207"
|
||||
do_niif_52070600,61070600,Cargos Bancarios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207"
|
||||
do_niif_52070700,61070700,Seguro sobre Préstamos Bancarios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207"
|
||||
do_niif_52070800,61070800,Pérdidas por Diferencia Cambiaria,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207"
|
||||
do_niif_52070900,61070900,Otro Gastos Financieros,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207"
|
||||
do_niif_52080100,61080100,Pérdidas por Faltante en Caja,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_52080200,61080200,Pérdidas por Ventas de Activos Fijos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_52080300,61080300,Pérdidas por Cuentas Incobrables,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_52080400,61080400,Gastos por ISR,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_52080500,61080500,Impuestos a los Activos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_52080600,61080600,Gastos por Penalidades/Recargos de DGII,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_52080700,61080700,Gastos por Penalidades/Recargos de TSS,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_52080800,61080800,Gastos sin Comprobantes,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_52080900,61080900,Gastos No Deducibles,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_52081000,61081000,Gastos por Impuestos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208"
|
||||
do_niif_61010100,71010100,Ganancias o Pérdidas,account.data_unaffected_earnings,FALSE,do_chart_template,"account_tag_7,account_tag_61,account_tag_6101"
|
||||
id,code,name,user_type_id/id,reconcile,chart_template_id/id,tag_ids/id,group_id/id
|
||||
do_niif_11010301,11010301,Depósitos a corto plazo en RD$,account.data_account_type_liquidity,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1101,account_tag_110103",l10n_do.account_group_110103
|
||||
do_niif_11010302,11010302,Depósitos a corto plazo en USD$,account.data_account_type_liquidity,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1101,account_tag_110103",l10n_do.account_group_110103
|
||||
do_niif_11020100,11020100,Bonos y Acciones Temporales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1102",l10n_do.account_group_1102
|
||||
do_niif_11020200,11020200,Operaciones en Bolsa,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1102",l10n_do.account_group_1102
|
||||
do_niif_11020300,11020300,Otros Valores Negociables,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1102",l10n_do.account_group_1102
|
||||
do_niif_11030101,11030101,Cheques Devueltos por Cobrar,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110301",l10n_do.account_group_110301
|
||||
do_niif_11030102,11030102,Intereses por Cobrar,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110301",l10n_do.account_group_110301
|
||||
do_niif_11030201,11030201,Cuentas por Cobrar a Clientes,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302",l10n_do.account_group_110302
|
||||
do_niif_11030202,11030202,Cuentas por Cobrar a Funcionarios y Empleados,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302",l10n_do.account_group_110302
|
||||
do_niif_11030203,11030203,Cuentas por Cobrar a Afiliadas,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302",l10n_do.account_group_110302
|
||||
do_niif_11030204,11030204,Cuentas por Cobrar a Accionistas,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302",l10n_do.account_group_110302
|
||||
do_niif_11030205,11030205,Otras Cuentas por Cobrar,account.data_account_type_receivable,TRUE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1103,account_tag_110302",l10n_do.account_group_110302
|
||||
do_niif_11040100,11040100,Provisiones de Incobrables a Clientes,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104",l10n_do.account_group_1104
|
||||
do_niif_11040200,11040200,Provisiones de Incobrables a Funcionarios y Empleados,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104",l10n_do.account_group_1104
|
||||
do_niif_11040300,11040300,Provisiones de Incobrables a Afiliadas,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104",l10n_do.account_group_1104
|
||||
do_niif_11040400,11040400,Provisiones de Incobrables a Accionistas,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104",l10n_do.account_group_1104
|
||||
do_niif_11040500,11040500,Provisiones de Otras Cuentas Incobrables,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1104",l10n_do.account_group_1104
|
||||
do_niif_11050100,11050100,Inventario de Mercancías o Productos Terminados,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105",l10n_do.account_group_1105
|
||||
do_niif_11050200,11050200,Inventario de Materia Prima,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105",l10n_do.account_group_1105
|
||||
do_niif_11050300,11050300,Inventario en Tránsito,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105",l10n_do.account_group_1105
|
||||
do_niif_11050400,11050400,Inventario de Materiales y Suministros,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105",l10n_do.account_group_1105
|
||||
do_niif_11050500,11050500,Inventario de Combustibles,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105",l10n_do.account_group_1105
|
||||
do_niif_11050600,11050600,Bienes Enviados No Facturados,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1105",l10n_do.account_group_1105
|
||||
do_niif_11060100,11060100,Deterioro Acum. de Inventario en Almacen,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1106",l10n_do.account_group_1106
|
||||
do_niif_11060200,11060200,Deterioro Acum. de Materiales y Suministros,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1106",l10n_do.account_group_1106
|
||||
do_niif_11060300,11060300,Deterioro Acum. de Combustibles,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1106",l10n_do.account_group_1106
|
||||
do_niif_11070100,11070100,Obsolescencia de Inventario en Almacen,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1107",l10n_do.account_group_1107
|
||||
do_niif_11070200,11070200,Obsolescencia de Materiales y Suministros,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1107",l10n_do.account_group_1107
|
||||
do_niif_11070300,11070300,Obsolescencia de Combustibles,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1107",l10n_do.account_group_1107
|
||||
do_niif_11080101,11080101,ITBIS Pagado en Compras de Bienes Locales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801",l10n_do.account_group_110801
|
||||
do_niif_11080102,11080102,ITBIS Pagado en Compras de Servicios Deducibles,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801",l10n_do.account_group_110801
|
||||
do_niif_11080103,11080103,ITBIS Pagado en Importaciones,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801",l10n_do.account_group_110801
|
||||
do_niif_11080104,11080104,ITBIS en Compras de Bienes o Servicios Sujetos a Proporcionalidad,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801",l10n_do.account_group_110801
|
||||
do_niif_11080105,11080105,ITBIS en Importaciones Sujeto a Proporcionalidad,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801",l10n_do.account_group_110801
|
||||
do_niif_11080106,11080106,ITBIS Pagado en Importaciones Sujeto a Proporcionalidad,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110801",l10n_do.account_group_110801
|
||||
do_niif_11080301,11080301,ITBIS Retenido por Ventas (N08-04 y N02-05),account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110803",l10n_do.account_group_110803
|
||||
do_niif_11080302,11080302,ITBIS Retenido por Entidades del Estado (5%),account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110803",l10n_do.account_group_110803
|
||||
do_niif_11080303,11080303,Saldo a Favor Anterior,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1108,account_tag_110803",l10n_do.account_group_110803
|
||||
do_niif_11090100,11090100,Acciones Temporales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1109",l10n_do.account_group_1109
|
||||
do_niif_11090200,11090200,Depósitos a Plazo Temporales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1109",l10n_do.account_group_1109
|
||||
do_niif_11090300,11090300,Bonos Temporales,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1109",l10n_do.account_group_1109
|
||||
do_niif_11090400,11090400,Fianzas y Depósitos,account.data_account_type_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1109",l10n_do.account_group_1109
|
||||
do_niif_11100100,11100100,Avance a Proveedores,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110",l10n_do.account_group_1110
|
||||
do_niif_11100200,11100200,Alquileres pagados por Anticipado,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110",l10n_do.account_group_1110
|
||||
do_niif_11100300,11100300,Anticipos para Seguros,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110",l10n_do.account_group_1110
|
||||
do_niif_11100400,11100400,Anticipos para ISR,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110",l10n_do.account_group_1110
|
||||
do_niif_11100500,11100500,Anticipos para Gastos,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110",l10n_do.account_group_1110
|
||||
do_niif_11100600,11100600,Anticipos para 1% Activos,account.data_account_type_prepayments,FALSE,do_chart_template,"account_tag_1,account_tag_11,account_tag_1110",l10n_do.account_group_1110
|
||||
do_niif_12010101,12010101,Terrenos,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120101",l10n_do.account_group_120101
|
||||
do_niif_12010102,12010102,Edificaciones,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120101",l10n_do.account_group_120101
|
||||
do_niif_12010103,12010103,Mejoras en Edificaciones,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120101",l10n_do.account_group_120101
|
||||
do_niif_12010104,12010104,Mejoras en Edificaciones y Locales Arrendados,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120101",l10n_do.account_group_120101
|
||||
do_niif_12010201,12010201,Equipos de Transporte Liviano,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120102",l10n_do.account_group_120102
|
||||
do_niif_12010202,12010202,Mobiliarios y Equipos de Oficina,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120102",l10n_do.account_group_120102
|
||||
do_niif_12010301,12010301,Maquinarias,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103",l10n_do.account_group_120103
|
||||
do_niif_12010302,12010302,Herramientas,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103",l10n_do.account_group_120103
|
||||
do_niif_12010303,12010303,Instalaciones,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103",l10n_do.account_group_120103
|
||||
do_niif_12010304,12010304,Sistemas de Cámara y Seguridad,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103",l10n_do.account_group_120103
|
||||
do_niif_12010305,12010305,Misceláneos u otros activos,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1201,account_tag_120103",l10n_do.account_group_120103
|
||||
do_niif_12020100,12020100,Depreciación Acum. de Edificios,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202",l10n_do.account_group_1202
|
||||
do_niif_12020200,12020200,Depreciación Acum. de Equipos de Transporte,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202",l10n_do.account_group_1202
|
||||
do_niif_12020300,12020300,Depreciación Acum. de Mobiliarios y Equipos,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202",l10n_do.account_group_1202
|
||||
do_niif_12020400,12020400,Depreciación Acum. de Maquinarias,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202",l10n_do.account_group_1202
|
||||
do_niif_12020500,12020500,Depreciación Acum. de Herramientas,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202",l10n_do.account_group_1202
|
||||
do_niif_12020600,12020600,Depreciación Acum. de Instalaciones,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1202",l10n_do.account_group_1202
|
||||
do_niif_12040100,12040100,Marcas y Patentes,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1204",l10n_do.account_group_1204
|
||||
do_niif_12040200,12040200,Licencias y Programas Informáticos,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1204",l10n_do.account_group_1204
|
||||
do_niif_12050100,12050100,Edificaciones y Locales Arrendados,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1205",l10n_do.account_group_1205
|
||||
do_niif_12050200,12050200,Maquinarias y Equipos Arrendados,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1205",l10n_do.account_group_1205
|
||||
do_niif_12050300,12050300,Instalaciones Arrendadas,account.data_account_type_fixed_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1205",l10n_do.account_group_1205
|
||||
do_niif_12060100,12060100,Depreciación Acum. Edificaciones y Locales Arrendados,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1206",l10n_do.account_group_1206
|
||||
do_niif_12060200,12060200,Depreciación Acum. Maquinarias y Equipos Arrendados,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1206",l10n_do.account_group_1206
|
||||
do_niif_12060300,12060300,Depreciación Acum. Instalaciones Arrendadas,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1206",l10n_do.account_group_1206
|
||||
do_niif_12070100,12070100,Deterioro Valor Acum. Edificios y Locales Arrendados,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1207",l10n_do.account_group_1207
|
||||
do_niif_12070200,12070200,Deterioro Valor Acum. Maquinaria y Equipo Arrendado,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1207",l10n_do.account_group_1207
|
||||
do_niif_12070300,12070300,Deterioro Valor Acum. Instalaciones Arrendadas,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1207",l10n_do.account_group_1207
|
||||
do_niif_12080100,12080100,Acciones en otras sociedades,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1208",l10n_do.account_group_1208
|
||||
do_niif_12090100,12090100,Diferencias temporales deducibles,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1209",l10n_do.account_group_1209
|
||||
do_niif_12090200,12090200,Gastos Organizacionales Diferidos,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1209",l10n_do.account_group_1209
|
||||
do_niif_12090300,12090300,ISR Deducible,account.data_account_type_non_current_assets,FALSE,do_chart_template,"account_tag_1,account_tag_12,account_tag_1209",l10n_do.account_group_1209
|
||||
do_niif_13010100,13010101,Costos de Construcción en Proceso,account.data_account_type_non_current_assets,FALSE,do_chart_template,,
|
||||
do_niif_21010100,21010100,Préstamos Bancarios por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101",l10n_do.account_group_2101
|
||||
do_niif_21010200,21010200,Cuentas por Pagar a Proveedores Locales,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101",l10n_do.account_group_2101
|
||||
do_niif_21010300,21010300,Cuentas por Pagar a Proveedores del Exterior,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101",l10n_do.account_group_2101
|
||||
do_niif_21010400,21010400,Cuentas por Pagar a Afiliadas,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101",l10n_do.account_group_2101
|
||||
do_niif_21010500,21010500,Cuentas por Pagar a Accionistas,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101",l10n_do.account_group_2101
|
||||
do_niif_21010600,21010600,Nóminas por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101",l10n_do.account_group_2101
|
||||
do_niif_21010700,21010700,Intereses por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101",l10n_do.account_group_2101
|
||||
do_niif_21010800,21010800,Otras Cuentas por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2101",l10n_do.account_group_2101
|
||||
do_niif_21020100,21020100,Dividendos por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21020200,21020200,Comisiones por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21020300,21020300,Vacaciones por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21020400,21020400,Bonificaciones por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21020500,21020500,Regalía Pascual por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21020600,21020600,Seguro Médico por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21020700,21020700,Seguro Familiar de Salud (SFS) por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21020800,21020800,Aporte a Fondo de Pensiones (AFP) por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21020900,21020900,Seguro de Riesgo Laboral (SRL) por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21021000,21021000,INFOTEP por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21021100,21021100,Tesorería de la Seguridad Social (TSS) por Pagar,account.data_account_type_payable,TRUE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21021200,21021200,Bienes Recibidos no Facturados,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2102",l10n_do.account_group_2102
|
||||
do_niif_21030101,21030101,ITBIS por Venta Servicios,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210301",l10n_do.account_group_210301
|
||||
do_niif_21030102,21030102,ITBIS por Venta Bienes,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210301",l10n_do.account_group_210301
|
||||
do_niif_21030103,21030103,ITBIS por Venta Servicios en Nombre de Terceros,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210301",l10n_do.account_group_210301
|
||||
do_niif_21030201,21030201,ITBIS Retenido a Persona Jurídica (N02-05),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302",l10n_do.account_group_210302
|
||||
do_niif_21030202,21030202,ITBIS Retenido a Persona Física (R293-11),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302",l10n_do.account_group_210302
|
||||
do_niif_21030203,21030203,ITBIS Retenido a Entidades No Lucrativas (N01-11),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302",l10n_do.account_group_210302
|
||||
do_niif_21030204,21030204,ITBIS Retenido por Servicios Profesionales (N02-05),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302",l10n_do.account_group_210302
|
||||
do_niif_21030205,21030205,ITBIS Retenido a Informales de Bienes (N08-10),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210302",l10n_do.account_group_210302
|
||||
do_niif_21030301,21030301,ISR Retenido por Honorarios Profesionales de Personas Físicas,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303",l10n_do.account_group_210303
|
||||
do_niif_21030302,21030302,ISR Retenido por Alquileres Pagados a Personas Físicas,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303",l10n_do.account_group_210303
|
||||
do_niif_21030303,21030303,ISR Retenido por Dividendos Pagados,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303",l10n_do.account_group_210303
|
||||
do_niif_21030304,21030304,ISR Retenido por Intereses Pagados al Exterior,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303",l10n_do.account_group_210303
|
||||
do_niif_21030305,21030305,ISR Retenido por Intereses Pagados,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303",l10n_do.account_group_210303
|
||||
do_niif_21030306,21030306,ISR Retenido por Transferencias de Títulos y Propiedades,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303",l10n_do.account_group_210303
|
||||
do_niif_21030307,21030307,ISR Retenido por Remesas al Exterior (L253-12),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303",l10n_do.account_group_210303
|
||||
do_niif_21030308,21030308,Otras Retenciones (N07-07),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303",l10n_do.account_group_210303
|
||||
do_niif_21030309,21030309,Otras Retenciones,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210303",l10n_do.account_group_210303
|
||||
do_niif_21030401,21030401,Retención de Impuesto al Salario (ISR del IR3),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210304",l10n_do.account_group_210304
|
||||
do_niif_21030402,21030402,Retención de Seguro Familiar de Salud (SFS),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210304",l10n_do.account_group_210304
|
||||
do_niif_21030403,21030403,Retención de Fondo de Pensiones (AFP),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210304",l10n_do.account_group_210304
|
||||
do_niif_21030404,21030404,Retención de INFOTEP (0.5%),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210304",l10n_do.account_group_210304
|
||||
do_niif_21030501,21030501,ISR por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210305",l10n_do.account_group_210305
|
||||
do_niif_21030502,21030502,Anticipos ISR por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210305",l10n_do.account_group_210305
|
||||
do_niif_21030503,21030503,Propina Legal por Pagar (L16-92),account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210305",l10n_do.account_group_210305
|
||||
do_niif_21030504,21030504,Otros Impuestos por Pagar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2103,account_tag_210305",l10n_do.account_group_210305
|
||||
do_niif_21040100,21040100,Provisiones Pago Alquileres,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2104",l10n_do.account_group_2104
|
||||
do_niif_21040200,21040200,Provisiones Arrendamiento Financiero,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2104",l10n_do.account_group_2104
|
||||
do_niif_21040300,21040300,Provisiones Gastos Fijos,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2104",l10n_do.account_group_2104
|
||||
do_niif_21050100,21050100,Tarjeta de Crédito Empresarial,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2105",l10n_do.account_group_2105
|
||||
do_niif_21050200,21050200,Prima de Tarjetas de Crédito,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_21,account_tag_2105",l10n_do.account_group_2105
|
||||
do_niif_22010100,22010100,Préstamos Bancarios Largo Plazo,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2201",l10n_do.account_group_2201
|
||||
do_niif_22010200,22010200,Préstamos Hipotecarios LP,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2201",l10n_do.account_group_2201
|
||||
do_niif_22012300,22012300,Préstamos Accionistas / Particulares,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2201",l10n_do.account_group_2201
|
||||
do_niif_22020100,22020100,Provisiones Beneficios de Empleados LP,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2202",l10n_do.account_group_2202
|
||||
do_niif_22020200,22020200,Provisiones Prestaciones Laborales,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2202",l10n_do.account_group_2202
|
||||
do_niif_22020300,22020300,Provisiones Indemnizaciones,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2202",l10n_do.account_group_2202
|
||||
do_niif_22030100,22030100,Anticipos o Garantías de Clientes,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2203",l10n_do.account_group_2203
|
||||
do_niif_22030200,22030200,Depósitos por Identificar,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2203",l10n_do.account_group_2203
|
||||
do_niif_22040100,22040100,Provisiones Arrendamiento Financiero LP,account.data_account_type_non_current_liabilities,FALSE,do_chart_template,"account_tag_2,account_tag_22,account_tag_2204",l10n_do.account_group_2204
|
||||
do_niif_31010100,31010100,Capital Social Autorizado,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101",l10n_do.account_group_3101
|
||||
do_niif_31010200,31010200,Capital Social en Acciones no Emitidas,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101",l10n_do.account_group_3101
|
||||
do_niif_31010300,31010300,Capital Social Pagado,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101",l10n_do.account_group_3101
|
||||
do_niif_31010400,31010400,Capital Social No Pagado,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101",l10n_do.account_group_3101
|
||||
do_niif_31010500,31010500,Acciones o Participaciones en Tesorería,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3101",l10n_do.account_group_3101
|
||||
do_niif_31020100,31020100,Superávit por Revaluación de Terrenos,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3102",l10n_do.account_group_3102
|
||||
do_niif_31020200,31020200,Superávit por Revaluación de Edificaciones,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3102",l10n_do.account_group_3102
|
||||
do_niif_31020300,31020300,Superávit por Revaluación de Instalaciones,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3102",l10n_do.account_group_3102
|
||||
do_niif_31020400,31020400,Superávit por Revaluación de Mobiliario y Equipo,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_31,account_tag_3102",l10n_do.account_group_3102
|
||||
do_niif_32010100,32010100,Reserva Legal,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_32,account_tag_3201",l10n_do.account_group_3201
|
||||
do_niif_33010100,33010100,Utilidades de Ejercicios Anteriores,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3301",l10n_do.account_group_3301
|
||||
do_niif_33010200,33010200,Pérdidas de Ejercicios Anteriores,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3301",l10n_do.account_group_3301
|
||||
do_niif_33020100,33020100,Utilidad del Ejercicio,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3302",l10n_do.account_group_3302
|
||||
do_niif_33020200,33020200,Pérdidas del Ejercicio,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3302",l10n_do.account_group_3302
|
||||
do_niif_33040100,33040100,Superávit en Reserva,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3304",l10n_do.account_group_3304
|
||||
do_niif_33040200,33040200,Déficit en Reserva,account.data_account_type_equity,FALSE,do_chart_template,"account_tag_3,account_tag_33,account_tag_3304",l10n_do.account_group_3304
|
||||
do_niif_41010100,41010100,Ventas de Bienes,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4101",l10n_do.account_group_4101
|
||||
do_niif_41010200,41010200,Ventas por Exportaciones de Bienes,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4101",l10n_do.account_group_4101
|
||||
do_niif_41020100,41020100,Ventas de Servicios,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4102",l10n_do.account_group_4102
|
||||
do_niif_41020200,41020200,Ventas por Exportaciones de Servicios,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4102",l10n_do.account_group_4102
|
||||
do_niif_41030100,41030100,Devoluciones de Bienes,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4103",l10n_do.account_group_4103
|
||||
do_niif_41030200,41030200,Devoluciones por Servicios,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4103",l10n_do.account_group_4103
|
||||
do_niif_41040100,41040100,Descuentos por Ventas (por NC),account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_41,account_tag_4104",l10n_do.account_group_4104
|
||||
do_niif_42010100,42010100,Intereses sobre Certificados,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4201",l10n_do.account_group_4201
|
||||
do_niif_42010200,42010200,Intereses por Cuentas Bancarias,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4201",l10n_do.account_group_4201
|
||||
do_niif_42010300,42010300,Intereses por Financiamientos,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4201",l10n_do.account_group_4201
|
||||
do_niif_42020100,42020100,Ingresos por Ventas de Activos Depreciables (CAT II y III) ,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4202",l10n_do.account_group_4202
|
||||
do_niif_42030100,42030100,Ingresos por Dividendos Ganados,account.data_account_type_revenue,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4203",l10n_do.account_group_4203
|
||||
do_niif_42040100,42040100,Ingresos por Diferencia Cambiaria,account.data_account_type_other_income,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4204",l10n_do.account_group_4204
|
||||
do_niif_42040200,42040200,Cobro de Cuentas Incobrables,account.data_account_type_other_income,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4204",l10n_do.account_group_4204
|
||||
do_niif_42040300,42040300,Ingresos por Sobrante en Caja,account.data_account_type_other_income,FALSE,do_chart_template,"account_tag_4,account_tag_42,account_tag_4204",l10n_do.account_group_4204
|
||||
do_niif_51010100,51010100,Costos de Bienes,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5101",l10n_do.account_group_5101
|
||||
do_niif_51010200,51010200,Costos de Servicios,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5101",l10n_do.account_group_5101
|
||||
do_niif_51010300,51010300,Diferencia en Precio,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5101",l10n_do.account_group_5101
|
||||
do_niif_51020400,51020400,Costos de Importación,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5102",l10n_do.account_group_5102
|
||||
do_niif_51010500,51010500,ITBIS llevado al Costo,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5101",l10n_do.account_group_5101
|
||||
do_niif_51020100,51020100,Costos de Materia Prima,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5102",l10n_do.account_group_5102
|
||||
do_niif_51020200,51020200,Costos de Mano de Obra,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5102",l10n_do.account_group_5102
|
||||
do_niif_51020300,51020300,Costos Indirectos,account.data_account_type_direct_costs,FALSE,do_chart_template,"account_tag_5,account_tag_51,account_tag_5102",l10n_do.account_group_5102
|
||||
do_niif_52010100,61010100,Sueldos y Salarios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52010200,61010200,Regalía Pascual,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52010300,61010300,Retribuciones Complementarias,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52010400,61010400,Bono Vacacional,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52010500,61010500,Bono por Desempeño,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52010600,61010600,Comisiones a Empleados,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52010700,61010700,Indemnizaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52010800,61010800,Bonificaciones y Gratificaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52010900,61010900,Comidas o Dietas al Personal,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52011000,61011000,Cursos y Entrenamientos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52011100,61011100,Prestaciones Laborales (Preaviso y Cesantia),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52011200,61011200,Incentivos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52011300,61011300,Horas Extras,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52011400,61011400,Uniformes,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52011500,61011500,Otros Gastos de Personal,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201",l10n_do.account_group_6101
|
||||
do_niif_52010102,61010102,Contribución a la Administradora de Fondos de Pensiones (AFP),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520101",l10n_do.account_group_610101
|
||||
do_niif_52010103,61010103,Contribución al Seguro Riesgo Laboral (SRL),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520101",l10n_do.account_group_610101
|
||||
do_niif_52010104,61010104,Contribución al Seguro Familiar de Salud (SFS),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520101",l10n_do.account_group_610101
|
||||
do_niif_52010201,61010201,Contribución a la Administradora de Riesgos de Salud (ARS),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102",l10n_do.account_group_610102
|
||||
do_niif_52010202,61010202,Contribución a Seguros del Personal,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102",l10n_do.account_group_610102
|
||||
do_niif_52010203,61010203,Contribución a Planes Complementarios de Salud,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102",l10n_do.account_group_610102
|
||||
do_niif_52010204,61010204,Contribución Seguros de Vida,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102",l10n_do.account_group_610102
|
||||
do_niif_52010205,61010205,Contribución al INFOTEP,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5201,account_tag_520102",l10n_do.account_group_610102
|
||||
do_niif_52020100,61020100,Energía Eléctrica,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52020200,61020200,Comunicaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52020300,61020300,Suministros de Oficina (Papelería y útiles),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52020400,61020400,Útiles de Aseo y Limpieza,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52020500,61020500,Agua y Basura,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52020600,61020600,Seguro de Edificio y Locales,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52020700,61020700,Combustibles y Lubricantes,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52020800,61020800,Alquileres / Arrendamientos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52020900,61020900,Franquicias,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52021000,61021000,Eventos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52021100,61021100,Seguros,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52021200,61021200,Servicios de Mensajería,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52021300,61021300,Flete y Carga,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52021400,61021400,Cuotas y Suscripciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52021500,61021500,Alojamiento en Hoteles,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5202",l10n_do.account_group_6102
|
||||
do_niif_52030101,61030101,Legales (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030102,61030102,Contabilidad y Auditoría (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030103,61030103,Tecnología (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030104,61030104,Mantenimientos de Planta (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030105,61030105,Mantenimientos de Local (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030106,61030106,Mantenimientos Mobiliarios y Equipos (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030107,61030107,Asesorías (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030108,61030108,Fumigaciones (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030109,61030109,Copias y Escaneos (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030110,61030110,Servicios de Vigilancia (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030111,61030111,Otros Servicios Profesionales (P. Física),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520301",l10n_do.account_group_610301
|
||||
do_niif_52030201,61030201,Legales (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030202,61030202,Contabilidad y Auditoría (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030203,61030203,Tecnología (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030204,61030204,Mantenimiento de Planta (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030205,61030205,Mantenimiento del Local (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030206,61030206,Mantenimiento Mobiliario y Equipos (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030207,61030207,Asesorías (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030208,61030208,Fumigaciones (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030209,61030209,Copias y Escaneos (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030210,61030210,Servicios de Vigilancia (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030211,61030211,Otros Servicios Profesionales (P. Jurídica),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520302",l10n_do.account_group_610302
|
||||
do_niif_52030301,61030301,Honorarios por Servicios del Exterior - Relacionadas,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520303",l10n_do.account_group_610303
|
||||
do_niif_52030302,61030302,Honorarios por Servicios del Exterior - Terceros,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5203,account_tag_520303",l10n_do.account_group_610303
|
||||
do_niif_52040100,61040100,Gastos por Depreciación de Edificios,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204",l10n_do.account_group_6104
|
||||
do_niif_52040200,61040200,Gastos por Depreciación de Equipo de Transporte,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204",l10n_do.account_group_6104
|
||||
do_niif_52040300,61040300,Gastos por Depreciación de Mobiliario y Equipos,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204",l10n_do.account_group_6104
|
||||
do_niif_52040400,61040400,Gastos por Depreciación de Maquinaria,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204",l10n_do.account_group_6104
|
||||
do_niif_52040500,61040500,Gastos por Depreciación de Herramientas,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204",l10n_do.account_group_6104
|
||||
do_niif_52040600,61040600,Gastos por Depreciación de Instalaciones,account.data_account_type_depreciation,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5204",l10n_do.account_group_6104
|
||||
do_niif_52050100,61050100,Gastos por Reparación de Edificios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205",l10n_do.account_group_6105
|
||||
do_niif_52050200,61050200,Gastos por Reparación de Equipo de Transporte,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205",l10n_do.account_group_6105
|
||||
do_niif_52050300,61050300,Gastos por Reparación de Mobiliario y Equipos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205",l10n_do.account_group_6105
|
||||
do_niif_52050400,61050400,Gastos por Reparación de Maquinaria,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205",l10n_do.account_group_6105
|
||||
do_niif_52050500,61050500,Gastos por Reparación de Herramientas,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205",l10n_do.account_group_6105
|
||||
do_niif_52050600,61050600,Gastos por Reparación de Instalaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5205",l10n_do.account_group_6105
|
||||
do_niif_52060100,61060100,Relaciones Públicas,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206",l10n_do.account_group_6106
|
||||
do_niif_52060200,61060200,Publicidad,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206",l10n_do.account_group_6106
|
||||
do_niif_52060300,61060300,Gastos de Viajes y Representación,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206",l10n_do.account_group_6106
|
||||
do_niif_52060400,61060400,Donaciones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206",l10n_do.account_group_6106
|
||||
do_niif_52060500,61060500,Donaciones a ProIndustria (Ley 392-07),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206",l10n_do.account_group_6106
|
||||
do_niif_52060600,61060600,Promociones,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206",l10n_do.account_group_6106
|
||||
do_niif_52060700,61060700,Gastos en Restaurantes,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5206",l10n_do.account_group_6106
|
||||
do_niif_52070100,61070100,Gastos por Préstamos Financieros,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207",l10n_do.account_group_6107
|
||||
do_niif_52070200,61070200,Retención por Cheques o Transferencias Electrónicas (0.15%),account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207",l10n_do.account_group_6107
|
||||
do_niif_52070300,61070300,Intereses Bancarios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207",l10n_do.account_group_6107
|
||||
do_niif_52070400,61070400,Comisiones Bancarias,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207",l10n_do.account_group_6107
|
||||
do_niif_52070500,61070500,Comisiones de Tarjeta de Crédito,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207",l10n_do.account_group_6107
|
||||
do_niif_52070600,61070600,Cargos Bancarios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207",l10n_do.account_group_6107
|
||||
do_niif_52070700,61070700,Seguro sobre Préstamos Bancarios,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207",l10n_do.account_group_6107
|
||||
do_niif_52070800,61070800,Pérdidas por Diferencia Cambiaria,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207",l10n_do.account_group_6107
|
||||
do_niif_52070900,61070900,Otro Gastos Financieros,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5207",l10n_do.account_group_6107
|
||||
do_niif_52080100,61080100,Pérdidas por Faltante en Caja,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_52080200,61080200,Pérdidas por Ventas de Activos Fijos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_52080300,61080300,Pérdidas por Cuentas Incobrables,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_52080400,61080400,Gastos por ISR,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_52080500,61080500,Impuestos a los Activos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_52080600,61080600,Gastos por Penalidades/Recargos de DGII,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_52080700,61080700,Gastos por Penalidades/Recargos de TSS,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_52080800,61080800,Gastos sin Comprobantes,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_52080900,61080900,Gastos No Deducibles,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_52081000,61081000,Gastos por Impuestos,account.data_account_type_expenses,FALSE,do_chart_template,"account_tag_6,account_tag_52,account_tag_5208",l10n_do.account_group_6108
|
||||
do_niif_61010100,71010100,Ganancias o Pérdidas,account.data_unaffected_earnings,FALSE,do_chart_template,"account_tag_7,account_tag_61,account_tag_6101",l10n_do.account_group_7101
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field eval="0" name="price_include"/>
|
||||
<field eval="[(6,0,[ref('tag_V_EXENTA')])]" name="tag_ids"/>
|
||||
<field name="tax_group_id" ref="tax_group_itbis_0"/>
|
||||
<field name="tax_group_id" ref="group_itbis"/>
|
||||
</record>
|
||||
<record id="tax_0_purch" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
@@ -24,13 +24,13 @@
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field eval="0" name="price_include"/>
|
||||
<field eval="[(6,0,[ref('tag_C_EXENTA')])]" name="tag_ids"/>
|
||||
<field name="tax_group_id" ref="tax_group_itbis_0"/>
|
||||
<field name="tax_group_id" ref="group_itbis"/>
|
||||
</record>
|
||||
<record id="tax_18_sale" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">1</field>
|
||||
<field name="name">18% ITBIS Ventas</field>
|
||||
<field name="description">18%</field>
|
||||
<field name="description">18% ITBIS</field>
|
||||
<field name="amount">18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
@@ -44,7 +44,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">2</field>
|
||||
<field name="name">18% ITBIS Incl. Ventas</field>
|
||||
<field name="description">18% Incl</field>
|
||||
<field name="description">18% ITBIS</field>
|
||||
<field name="amount">18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
@@ -58,7 +58,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">3</field>
|
||||
<field name="name">10% Propina Legal</field>
|
||||
<field name="description">10%</field>
|
||||
<field name="description">10% Legal</field>
|
||||
<field name="amount">10</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
@@ -71,7 +71,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="name">18% ITBIS Compras</field>
|
||||
<field name="sequence">11</field>
|
||||
<field name="description">18%</field>
|
||||
<field name="description">18% ITBIS (B)</field>
|
||||
<field name="amount">18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -85,7 +85,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">12</field>
|
||||
<field name="name">18% ITBIS Incl. Compras</field>
|
||||
<field name="description">18%</field>
|
||||
<field name="description">18% ITBIS (Incl B)</field>
|
||||
<field name="amount">18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -99,7 +99,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="name">16% ITBIS Compras</field>
|
||||
<field name="sequence">13</field>
|
||||
<field name="description">16%</field>
|
||||
<field name="description">16% ITBIS (B)</field>
|
||||
<field name="amount">16</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -112,7 +112,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="name">16% ITBIS Incl. Compras</field>
|
||||
<field name="sequence">14</field>
|
||||
<field name="description">16%</field>
|
||||
<field name="description">16% ITBIS (Incl B)</field>
|
||||
<field name="amount">16</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -125,7 +125,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="name">9% ITBIS Compras</field>
|
||||
<field name="sequence">15</field>
|
||||
<field name="description">9% (L690-16)</field>
|
||||
<field name="description">9% ITBIS (L690-16)</field>
|
||||
<field name="amount">9</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -138,7 +138,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="name">9% ITBIS Incl. Compras</field>
|
||||
<field name="sequence">16</field>
|
||||
<field name="description">9% (L690-16)</field>
|
||||
<field name="description">9% ITBIS (L690-16)</field>
|
||||
<field name="amount">9</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -151,7 +151,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="name">8% ITBIS Compras</field>
|
||||
<field name="sequence">17</field>
|
||||
<field name="description">8% (L690-16)</field>
|
||||
<field name="description">8% ITBIS (L690-16)</field>
|
||||
<field name="amount">8</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -164,7 +164,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="name">8% ITBIS Incl. Compras</field>
|
||||
<field name="sequence">18</field>
|
||||
<field name="description">8% (L690-16)</field>
|
||||
<field name="description">8% ITBIS (L690-16)</field>
|
||||
<field name="amount">8</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -177,7 +177,7 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">19</field>
|
||||
<field name="name">10% Propina Legal</field>
|
||||
<field name="description">10%</field>
|
||||
<field name="description">10% Legal</field>
|
||||
<field name="amount">10</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -190,10 +190,10 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">20</field>
|
||||
<field name="name">18% ITBIS Compras - Servicios</field>
|
||||
<field name="description">18%</field>
|
||||
<field name="description">18% ITBIS (S)</field>
|
||||
<field name="amount">18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_11080102"/>
|
||||
<field name="refund_account_id" ref="do_niif_11080102"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
@@ -204,10 +204,10 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">20</field>
|
||||
<field name="name">18% ITBIS Incl. Compras - Servicios</field>
|
||||
<field name="description">18%</field>
|
||||
<field name="description">18% ITBIS (Incl S)</field>
|
||||
<field name="amount">18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_11080102"/>
|
||||
<field name="refund_account_id" ref="do_niif_11080102"/>
|
||||
<field eval="1" name="price_include"/>
|
||||
@@ -218,10 +218,10 @@
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">20</field>
|
||||
<field name="name">18% ITBIS - Importaciones</field>
|
||||
<field name="description">18%</field>
|
||||
<field name="description">18% ITBIS (IMP)</field>
|
||||
<field name="amount">18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_11080103"/>
|
||||
<field name="refund_account_id" ref="do_niif_11080103"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
@@ -244,24 +244,24 @@
|
||||
<record id="tax_0015_bank" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">30</field>
|
||||
<field name="name">Impuesto 0.15% Transferencia Bancaria</field>
|
||||
<field name="description">0.15%</field>
|
||||
<field name="name">0.15% Transferencia Bancaria</field>
|
||||
<field name="description">0.15% Trans</field>
|
||||
<field name="amount">0.0015</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="account_id" ref="do_niif_52070200"/>
|
||||
<field name="refund_account_id" ref="do_niif_11080303"/>
|
||||
<field name="refund_account_id" ref="do_niif_52070200"/>
|
||||
<field eval="1" name="price_include"/>
|
||||
<field name="tax_group_id" ref="group_tax"/>
|
||||
</record>
|
||||
<record id="tax_10_telco" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">30</field>
|
||||
<field name="name">Impuesto 10% Telecomunicaciones (ISC)</field>
|
||||
<field name="description">ISC</field>
|
||||
<field name="name">10% ISC Telecomunicaciones</field>
|
||||
<field name="description">10% ISC</field>
|
||||
<field name="amount">10</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_52020200"/>
|
||||
<field name="refund_account_id" ref="do_niif_52020200"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
@@ -271,11 +271,11 @@
|
||||
<record id="tax_2_telco" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">30</field>
|
||||
<field name="name">Impuesto 2% Telecomunicaciones (CDT)</field>
|
||||
<field name="description">CDT</field>
|
||||
<field name="name">2% CDT Telecomunicaciones</field>
|
||||
<field name="description">2% CDT</field>
|
||||
<field name="amount">2</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_52020200"/>
|
||||
<field name="refund_account_id" ref="do_niif_52020200"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
@@ -289,27 +289,27 @@
|
||||
<field eval="0" name="amount"/>
|
||||
<field name="amount_type">group</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field eval="[(6, 0, [ref('tax_10_telco'), ref('tax_2_telco')])]" name="children_tax_ids"/>
|
||||
<field name="tax_group_id" ref="tax_group_isc"/>
|
||||
<field eval="[(6, 0, [ref('tax_18_purch'), ref('tax_10_telco'), ref('tax_2_telco')])]" name="children_tax_ids"/>
|
||||
<field name="tax_group_id" ref="group_tax"/>
|
||||
</record>
|
||||
<record id="ret_100_tax_security" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">40</field>
|
||||
<field name="name">Retención ITBIS 100% Servicios de Seguridad (N07-09)</field>
|
||||
<field name="description">100% ITBIS</field>
|
||||
<field name="name">Retención 100% ITBIS Servicios de Seguridad (N07-09)</field>
|
||||
<field name="description">-100% ITBIS (N07-09)</field>
|
||||
<field name="amount">-18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_21030201"/>
|
||||
<field name="refund_account_id" ref="do_niif_21030201"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
<field name="tax_group_id" ref="group_ret"/>
|
||||
<field name="tax_group_id" ref="group_itbis"/>
|
||||
</record>
|
||||
<record id="ret_100_tax_nonprofit" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">41</field>
|
||||
<field name="name">Retención ITBIS 100% Servicios No Lucrativas (N01-11)</field>
|
||||
<field name="description">100% ITBIS</field>
|
||||
<field name="name">Retención 100% ITBIS Servicios No Lucrativas (N01-11)</field>
|
||||
<field name="description">-100% ITBIS (N01-11)</field>
|
||||
<field name="amount">-18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -317,13 +317,13 @@
|
||||
<field name="refund_account_id" ref="do_niif_21030203"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
<field eval="[(6,0,[ref('tag_R_ITBIS_18')])]" name="tag_ids"/>
|
||||
<field name="tax_group_id" ref="group_ret"/>
|
||||
<field name="tax_group_id" ref="group_itbis"/>
|
||||
</record>
|
||||
<record id="ret_100_tax_person" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">42</field>
|
||||
<field name="name">Retención ITBIS 100% Servicios a Físicas (R293-11)</field>
|
||||
<field name="description">100% ITBIS</field>
|
||||
<field name="name">Retención 100% ITBIS Servicios a Físicas (R293-11)</field>
|
||||
<field name="description">-100% ITBIS (R293-11)</field>
|
||||
<field name="amount">-18</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -331,55 +331,56 @@
|
||||
<field name="refund_account_id" ref="do_niif_21030202"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
<field eval="[(6,0,[ref('tag_R_ITBIS_18')])]" name="tag_ids"/>
|
||||
<field name="tax_group_id" ref="group_ret"/>
|
||||
<field name="tax_group_id" ref="group_itbis"/>
|
||||
</record>
|
||||
<record id="ret_30_tax_moral" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">43</field>
|
||||
<field name="name">Retención ITBIS 30% Servicios a Jurídicas (N02-05)</field>
|
||||
<field name="description">30% ITBIS</field>
|
||||
<field name="name">Retención 30% ITBIS Servicios a Jurídicas (N02-05)</field>
|
||||
<field name="description">-30% ITBIS (N02-05)</field>
|
||||
<field name="amount">-5.4</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_21030201"/>
|
||||
<field name="refund_account_id" ref="do_niif_21030201"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
<field name="tax_group_id" ref="group_ret"/>
|
||||
<field name="tax_group_id" ref="group_itbis"/>
|
||||
</record>
|
||||
<record id="ret_30_tax_freelance" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="active">False</field>
|
||||
<field name="sequence">43</field>
|
||||
<field name="name">Retención ITBIS 30% Servicios Profesionales (N02-05)</field>
|
||||
<field name="description">30% ITBIS</field>
|
||||
<field name="name">Retención 30% ITBIS Servicios Profesionales (N02-05)</field>
|
||||
<field name="description">-30% ITBIS (N02-05)</field>
|
||||
<field name="amount">-5.4</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="account_id" ref="do_niif_21030201"/>
|
||||
<field name="refund_account_id" ref="do_niif_21030201"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
<field name="tax_group_id" ref="group_ret"/>
|
||||
<field name="tax_group_id" ref="group_itbis"/>
|
||||
</record>
|
||||
<record id="ret_75_tax_nonformal" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">44</field>
|
||||
<field name="name">Retención ITBIS 75% Bienes a Informales (N08-10)</field>
|
||||
<field name="description">75% ITBIS</field>
|
||||
<field name="name">Retención 75% ITBIS Bienes a Informales (N08-10)</field>
|
||||
<field name="description">-75% ITBIS (N08-10)</field>
|
||||
<field name="amount">-13.5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_21030205"/>
|
||||
<field name="refund_account_id" ref="do_niif_21030205"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
<field name="tax_group_id" ref="group_ret"/>
|
||||
<field name="tax_group_id" ref="group_itbis"/>
|
||||
</record>
|
||||
<record id="ret_10_income_person" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">40</field>
|
||||
<field name="name">Retención ISR 10% Servicios a Físicas</field>
|
||||
<field name="description">10% ISR</field>
|
||||
<field name="name">Retención 10% ISR Honorarios a Físicas</field>
|
||||
<field name="description">-10% ISR</field>
|
||||
<field name="amount">-10</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_21030301"/>
|
||||
<field name="refund_account_id" ref="do_niif_21030301"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
@@ -389,8 +390,8 @@
|
||||
<record id="ret_10_income_rent" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">50</field>
|
||||
<field name="name">Retención ISR 10% Alquileres a Físicas</field>
|
||||
<field name="description">10% ISR</field>
|
||||
<field name="name">Retención 10% ISR Alquileres a Físicas</field>
|
||||
<field name="description">-10% ISR</field>
|
||||
<field name="amount">-10</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -403,8 +404,8 @@
|
||||
<record id="ret_10_income_dividend" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">51</field>
|
||||
<field name="name">Retención ISR 10% por Dividendos (L253-12)</field>
|
||||
<field name="description">10% ISR</field>
|
||||
<field name="name">Retención 10% ISR por Dividendos (L253-12)</field>
|
||||
<field name="description">-10% ISR</field>
|
||||
<field name="amount">-10</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -417,11 +418,11 @@
|
||||
<record id="ret_2_income_person" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">52</field>
|
||||
<field name="name">Retención ISR 2% a Persona Física (Servicios)</field>
|
||||
<field name="description">2% ISR (N07-07)</field>
|
||||
<field name="name">Retención 2% ISR a Física (con Materiales)</field>
|
||||
<field name="description">-2% ISR (N07-07)</field>
|
||||
<field name="amount">-2</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field name="account_id" ref="do_niif_21030308"/>
|
||||
<field name="refund_account_id" ref="do_niif_21030308"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
@@ -431,8 +432,8 @@
|
||||
<record id="ret_2_income_transfer" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">53</field>
|
||||
<field name="name">Retención ISR 2% por Transferencia de Títulos</field>
|
||||
<field name="description">2% ISR</field>
|
||||
<field name="name">Retención 2% ISR por Transferencia de Títulos</field>
|
||||
<field name="description">-2% ISR</field>
|
||||
<field name="amount">-2</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -445,8 +446,8 @@
|
||||
<record id="ret_27_income_remittance" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">49</field>
|
||||
<field name="name">Retención ISR 27% por Remesas al Exterior (L253-12)</field>
|
||||
<field name="description">27% ISR</field>
|
||||
<field name="name">Retención 27% ISR por Remesas al Exterior (L253-12)</field>
|
||||
<field name="description">-27% ISR</field>
|
||||
<field name="amount">-27</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -458,11 +459,11 @@
|
||||
<record id="ret_5_income_gov" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">50</field>
|
||||
<field name="name">Retención ISR 5% Gubernamentales</field>
|
||||
<field name="name">Retención 5% ISR Gubernamentales</field>
|
||||
<field name="description">-5% ISR</field>
|
||||
<field name="amount">-5</field>
|
||||
<field name="amount_type">percent</field>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="type_tax_use">sale</field>
|
||||
<field name="account_id" ref="do_niif_21030308"/>
|
||||
<field name="refund_account_id" ref="do_niif_21030308"/>
|
||||
<field eval="0" name="price_include"/>
|
||||
@@ -471,7 +472,7 @@
|
||||
<record id="tax_group_nonformal" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">60</field>
|
||||
<field name="name">Retención a Proveedores Informales de Bienes</field>
|
||||
<field name="name">Retención a Proveedores Informales de Bienes (75%)</field>
|
||||
<field name="amount_type">group</field>
|
||||
<field eval="0" name="amount"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -481,10 +482,11 @@
|
||||
<record id="tax_group_person_construction" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">61</field>
|
||||
<field name="name">Retención a Persona Física (Servicios Construcción con Materiales)</field>
|
||||
<field name="name">Retención a Físicas por Servicios con Materiales (2%)</field>
|
||||
<field name="amount_type">group</field>
|
||||
<field eval="0" name="amount"/>
|
||||
<field name="type_tax_use">none</field>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field eval="[(6, 0, [ref('tax_18_purch'), ref('ret_100_tax_person'), ref('ret_2_income_person')])]" name="children_tax_ids"/>
|
||||
<field name="tax_group_id" ref="group_ret"/>
|
||||
</record>
|
||||
<record id="tax_group_moral_construction" model="account.tax.template">
|
||||
@@ -499,17 +501,17 @@
|
||||
<record id="tax_group_person_services" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">58</field>
|
||||
<field name="name">Retención a Físicas por Servicios Profesionales</field>
|
||||
<field name="name">Retención a Físicas por Honorarios por Servicios (10%)</field>
|
||||
<field name="amount_type">group</field>
|
||||
<field eval="0" name="amount"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
<field eval="[(6, 0, [ref('tax_18_purch'), ref('ret_100_tax_person'), ref('ret_2_income_person')])]" name="children_tax_ids"/>
|
||||
<field eval="[(6, 0, [ref('tax_18_purch'), ref('ret_100_tax_person'), ref('ret_10_income_person')])]" name="children_tax_ids"/>
|
||||
<field name="tax_group_id" ref="group_ret"/>
|
||||
</record>
|
||||
<record id="tax_group_moral_services" model="account.tax.template">
|
||||
<field name="chart_template_id" ref="do_chart_template"/>
|
||||
<field name="sequence">58</field>
|
||||
<field name="name">Retención a Jurídicas por Servicios Profesionales</field>
|
||||
<field name="name">Retención a Jurídicas por Servicios Profesionales (30%)</field>
|
||||
<field name="amount_type">group</field>
|
||||
<field eval="0" name="amount"/>
|
||||
<field name="type_tax_use">purchase</field>
|
||||
@@ -538,4 +540,4 @@
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,470 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="account_group_1" model="account.group">
|
||||
<field name="name">Activos</field>
|
||||
<field name="code_prefix">1</field>
|
||||
</record>
|
||||
<record id="account_group_11" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1"/>
|
||||
<field name="name">Activos Corrientes</field>
|
||||
<field name="code_prefix">11</field>
|
||||
</record>
|
||||
<record id="account_group_1101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Efectivo y Equivalentes de Efectivo</field>
|
||||
<field name="code_prefix">1101</field>
|
||||
</record>
|
||||
<record id="account_group_110101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1101"/>
|
||||
<field name="name">Caja</field>
|
||||
<field name="code_prefix">110101</field>
|
||||
</record>
|
||||
<record id="account_group_110102" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1101"/>
|
||||
<field name="name">Bancos</field>
|
||||
<field name="code_prefix">110102</field>
|
||||
</record>
|
||||
<record id="account_group_110103" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1101"/>
|
||||
<field name="name">Inversiones Temporales Plazo Menor 90 días</field>
|
||||
<field name="code_prefix">110103</field>
|
||||
</record>
|
||||
<record id="account_group_1102" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Inversiones en Valores a Corto Plazo</field>
|
||||
<field name="code_prefix">1102</field>
|
||||
</record>
|
||||
<record id="account_group_110301" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Cuentas y Documentos por Cobrar</field>
|
||||
<field name="code_prefix">1103</field>
|
||||
</record>
|
||||
<record id="account_group_documentosporcobrar" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_110301"/>
|
||||
<field name="name">Documentos por Cobrar</field>
|
||||
<field name="code_prefix">110301</field>
|
||||
</record>
|
||||
<record id="account_group_110302" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_110301"/>
|
||||
<field name="name">Cuentas por Cobrar</field>
|
||||
<field name="code_prefix">110302</field>
|
||||
</record>
|
||||
<record id="account_group_1104" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Provisión para Cuentas Incobrables</field>
|
||||
<field name="code_prefix">1104</field>
|
||||
</record>
|
||||
<record id="account_group_1105" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Inventarios</field>
|
||||
<field name="code_prefix">1105</field>
|
||||
</record>
|
||||
<record id="account_group_1106" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Deterioro Acumulado de Valor de Inventarios</field>
|
||||
<field name="code_prefix">1106</field>
|
||||
</record>
|
||||
<record id="account_group_1107" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Estimación por Obsolencia de Inventario</field>
|
||||
<field name="code_prefix">1107</field>
|
||||
</record>
|
||||
<record id="account_group_1108" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Impuestos Adelantados</field>
|
||||
<field name="code_prefix">1108</field>
|
||||
</record>
|
||||
<record id="account_group_110801" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1108"/>
|
||||
<field name="name">ITBIS Adelantado en Compras</field>
|
||||
<field name="code_prefix">110801</field>
|
||||
</record>
|
||||
<record id="account_group_110803" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1108"/>
|
||||
<field name="name">Otros Impuestos y Saldos</field>
|
||||
<field name="code_prefix">110803</field>
|
||||
</record>
|
||||
<record id="account_group_1109" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Inversiones Temporales</field>
|
||||
<field name="code_prefix">1109</field>
|
||||
</record>
|
||||
<record id="account_group_1110" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_11"/>
|
||||
<field name="name">Pagos Anticipados</field>
|
||||
<field name="code_prefix">1110</field>
|
||||
</record>
|
||||
<record id="account_group_12" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1"/>
|
||||
<field name="name">Activo Fijos</field>
|
||||
<field name="code_prefix">12</field>
|
||||
</record>
|
||||
<record id="account_group_1201" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_12"/>
|
||||
<field name="name">Propiedades, Planta y Equipo</field>
|
||||
<field name="code_prefix">1201</field>
|
||||
</record>
|
||||
<record id="account_group_120101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1201"/>
|
||||
<field name="name">Bienes Inmuebles (CAT 1)</field>
|
||||
<field name="code_prefix">120101</field>
|
||||
</record>
|
||||
<record id="account_group_120102" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1201"/>
|
||||
<field name="name">Bienes Muebles (CAT 2)</field>
|
||||
<field name="code_prefix">120102</field>
|
||||
</record>
|
||||
<record id="account_group_120103" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_1201"/>
|
||||
<field name="name">Bienes Muebles (CAT 3)</field>
|
||||
<field name="code_prefix">120103</field>
|
||||
</record>
|
||||
<record id="account_group_1202" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_12"/>
|
||||
<field name="name">Depreciación Acumulada de Propiedades, Planta y Equipo</field>
|
||||
<field name="code_prefix">1202</field>
|
||||
</record>
|
||||
<record id="account_group_1203" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_12"/>
|
||||
<field name="name">Deterioro de Valor Acumulado de Propiedades, Planta y Equipo</field>
|
||||
<field name="code_prefix">1203</field>
|
||||
</record>
|
||||
<record id="account_group_1204" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_12"/>
|
||||
<field name="name">Activos Intangibles</field>
|
||||
<field name="code_prefix">1204</field>
|
||||
</record>
|
||||
<record id="account_group_1205" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_12"/>
|
||||
<field name="name">Bienes en Arrendamiento</field>
|
||||
<field name="code_prefix">1205</field>
|
||||
</record>
|
||||
<record id="account_group_1206" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_12"/>
|
||||
<field name="name">Depreciación Acumulada de Bienes en Arrendamiento</field>
|
||||
<field name="code_prefix">1206</field>
|
||||
</record>
|
||||
<record id="account_group_1207" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_12"/>
|
||||
<field name="name">Deterioro de Valor Acumulado de Bienes en Arrendamiento</field>
|
||||
<field name="code_prefix">1207</field>
|
||||
</record>
|
||||
<record id="account_group_1208" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_12"/>
|
||||
<field name="name">Inversiones Permanentes</field>
|
||||
<field name="code_prefix">1208</field>
|
||||
</record>
|
||||
<record id="account_group_1209" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_12"/>
|
||||
<field name="name">Activos Diferidos</field>
|
||||
<field name="code_prefix">1209</field>
|
||||
</record>
|
||||
<record id="account_group_13" model="account.group">
|
||||
<field name="name">Costos de Construcción</field>
|
||||
<field name="code_prefix">13</field>
|
||||
</record>
|
||||
<record id="account_group_1301" model="account.group">
|
||||
<field name="name">Construcción en Proceso</field>
|
||||
<field name="code_prefix">1301</field>
|
||||
</record>
|
||||
<record id="account_group_130101" model="account.group">
|
||||
<field name="name">Costos de Costrucción en Proceso</field>
|
||||
<field name="code_prefix">130101</field>
|
||||
</record>
|
||||
<record id="account_group_2" model="account.group">
|
||||
<field name="name">Pasivos</field>
|
||||
<field name="code_prefix">2</field>
|
||||
</record>
|
||||
<record id="account_group_21" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_2"/>
|
||||
<field name="name">Pasivo Corriente</field>
|
||||
<field name="code_prefix">21</field>
|
||||
</record>
|
||||
<record id="account_group_2101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_21"/>
|
||||
<field name="name">Cuentas y Documentos por Pagar a Corto Plazo</field>
|
||||
<field name="code_prefix">2101</field>
|
||||
</record>
|
||||
<record id="account_group_2102" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_21"/>
|
||||
<field name="name">Beneficios por Pagar a Corto Plazo</field>
|
||||
<field name="code_prefix">2102</field>
|
||||
</record>
|
||||
<record id="account_group_2103" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_21"/>
|
||||
<field name="name">Impuestos y Retenciones</field>
|
||||
<field name="code_prefix">2103</field>
|
||||
</record>
|
||||
<record id="account_group_210301" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_2103"/>
|
||||
<field name="name">ITBIS por Pagar</field>
|
||||
<field name="code_prefix">210301</field>
|
||||
</record>
|
||||
<record id="account_group_210302" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_2103"/>
|
||||
<field name="name">ITBIS Retenido</field>
|
||||
<field name="code_prefix">210302</field>
|
||||
</record>
|
||||
<record id="account_group_210303" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_2103"/>
|
||||
<field name="name">ISR Retenido</field>
|
||||
<field name="code_prefix">210303</field>
|
||||
</record>
|
||||
<record id="account_group_210304" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_2103"/>
|
||||
<field name="name">Retenciones en Nómina</field>
|
||||
<field name="code_prefix">210304</field>
|
||||
</record>
|
||||
<record id="account_group_210305" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_2103"/>
|
||||
<field name="name">Otros Impuestos o Retenciones</field>
|
||||
<field name="code_prefix">210305</field>
|
||||
</record>
|
||||
<record id="account_group_2104" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_21"/>
|
||||
<field name="name">Provisiones a Corto Plazo</field>
|
||||
<field name="code_prefix">2104</field>
|
||||
</record>
|
||||
<record id="account_group_2105" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_21"/>
|
||||
<field name="name">Tarjetas de Crédito</field>
|
||||
<field name="code_prefix">2105</field>
|
||||
</record>
|
||||
<record id="account_group_22" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_2"/>
|
||||
<field name="name">Pasivo No Corriente</field>
|
||||
<field name="code_prefix">22</field>
|
||||
</record>
|
||||
<record id="account_group_2201" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_22"/>
|
||||
<field name="name">Cuentas y Documentos por Pagar a Largo Plazo</field>
|
||||
<field name="code_prefix">2201</field>
|
||||
</record>
|
||||
<record id="account_group_2202" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_22"/>
|
||||
<field name="name">Provisión para Obligaciones Laborales</field>
|
||||
<field name="code_prefix">2202</field>
|
||||
</record>
|
||||
<record id="account_group_2203" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_22"/>
|
||||
<field name="name">Anticipos de Clientes y Pagos no Identificados</field>
|
||||
<field name="code_prefix">2203</field>
|
||||
</record>
|
||||
<record id="account_group_2204" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_22"/>
|
||||
<field name="name">Provisiones a Largo Plazo</field>
|
||||
<field name="code_prefix">2204</field>
|
||||
</record>
|
||||
<record id="account_group_3" model="account.group">
|
||||
<field name="name">Capital</field>
|
||||
<field name="code_prefix">3</field>
|
||||
</record>
|
||||
<record id="account_group_31" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_3"/>
|
||||
<field name="name">Capital Contable</field>
|
||||
<field name="code_prefix">31</field>
|
||||
</record>
|
||||
<record id="account_group_3101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_31"/>
|
||||
<field name="name">Capital Social</field>
|
||||
<field name="code_prefix">3101</field>
|
||||
</record>
|
||||
<record id="account_group_3102" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_31"/>
|
||||
<field name="name">Superávit por Revaluación de Activos</field>
|
||||
<field name="code_prefix">3102</field>
|
||||
</record>
|
||||
<record id="account_group_32" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_3"/>
|
||||
<field name="name">Utilidades Restringidas</field>
|
||||
<field name="code_prefix">32</field>
|
||||
</record>
|
||||
<record id="account_group_3201" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_32"/>
|
||||
<field name="name">Reserva Legal</field>
|
||||
<field name="code_prefix">3201</field>
|
||||
</record>
|
||||
<record id="account_group_33" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_3"/>
|
||||
<field name="name">Resultados</field>
|
||||
<field name="code_prefix">33</field>
|
||||
</record>
|
||||
<record id="account_group_3301" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_33"/>
|
||||
<field name="name">Resultados Acumulados</field>
|
||||
<field name="code_prefix">3301</field>
|
||||
</record>
|
||||
<record id="account_group_3302" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_33"/>
|
||||
<field name="name">Resultados del Ejercicio</field>
|
||||
<field name="code_prefix">3302</field>
|
||||
</record>
|
||||
<record id="account_group_3304" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_33"/>
|
||||
<field name="name">Otras Reservas de Patrimonio</field>
|
||||
<field name="code_prefix">3304</field>
|
||||
</record>
|
||||
<record id="account_group_4" model="account.group">
|
||||
<field name="name">Ingresos y Ganancias</field>
|
||||
<field name="code_prefix">4</field>
|
||||
</record>
|
||||
<record id="account_group_41" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_4"/>
|
||||
<field name="name">Ingresos por Operaciones</field>
|
||||
<field name="code_prefix">41</field>
|
||||
</record>
|
||||
<record id="account_group_4101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_41"/>
|
||||
<field name="name">Ventas de Bienes</field>
|
||||
<field name="code_prefix">4101</field>
|
||||
</record>
|
||||
<record id="account_group_4102" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_41"/>
|
||||
<field name="name">Ventas de Servicios</field>
|
||||
<field name="code_prefix">4102</field>
|
||||
</record>
|
||||
<record id="account_group_4103" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_41"/>
|
||||
<field name="name">Devoluciones</field>
|
||||
<field name="code_prefix">4103</field>
|
||||
</record>
|
||||
<record id="account_group_4104" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_41"/>
|
||||
<field name="name">Descuentos</field>
|
||||
<field name="code_prefix">4104</field>
|
||||
</record>
|
||||
<record id="account_group_42" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_41"/>
|
||||
<field name="name">Ingresos No Operacionales</field>
|
||||
<field name="code_prefix">42</field>
|
||||
</record>
|
||||
<record id="account_group_4201" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_4"/>
|
||||
<field name="name">Intereses Ganados</field>
|
||||
<field name="code_prefix">4201</field>
|
||||
</record>
|
||||
<record id="account_group_4202" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_42"/>
|
||||
<field name="name">Ventas de Activos</field>
|
||||
<field name="code_prefix">4202</field>
|
||||
</record>
|
||||
<record id="account_group_4203" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_42"/>
|
||||
<field name="name">Dividendos Ganados</field>
|
||||
<field name="code_prefix">4203</field>
|
||||
</record>
|
||||
<record id="account_group_4204" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_42"/>
|
||||
<field name="name">Ingresos Extraordinarios</field>
|
||||
<field name="code_prefix">4204</field>
|
||||
</record>
|
||||
<record id="account_group_5" model="account.group">
|
||||
<field name="name">Costos, Gastos y Pérdidas</field>
|
||||
<field name="code_prefix">5</field>
|
||||
</record>
|
||||
<record id="account_group_51" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_5"/>
|
||||
<field name="name">Costos de Operación</field>
|
||||
<field name="code_prefix">51</field>
|
||||
</record>
|
||||
<record id="account_group_5101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_51"/>
|
||||
<field name="name">Costos de Ventas</field>
|
||||
<field name="code_prefix">5101</field>
|
||||
</record>
|
||||
<record id="account_group_5102" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_51"/>
|
||||
<field name="name">Costos de Producción</field>
|
||||
<field name="code_prefix">5102</field>
|
||||
</record>
|
||||
<record id="account_group_6" model="account.group">
|
||||
<field name="name">Gastos y Pérdidas</field>
|
||||
<field name="code_prefix">6</field>
|
||||
</record>
|
||||
<record id="account_group_61" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_6"/>
|
||||
<field name="name">Gastos de Operación</field>
|
||||
<field name="code_prefix">61</field>
|
||||
</record>
|
||||
<record id="account_group_6101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_61"/>
|
||||
<field name="name">Gastos de Personal</field>
|
||||
<field name="code_prefix">6101</field>
|
||||
</record>
|
||||
<record id="account_group_610101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_6101"/>
|
||||
<field name="name">Aportes a la Seguridad Social</field>
|
||||
<field name="code_prefix">610101</field>
|
||||
</record>
|
||||
<record id="account_group_610102" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_6101"/>
|
||||
<field name="name">Otras Cargas Patronales</field>
|
||||
<field name="code_prefix">610102</field>
|
||||
</record>
|
||||
<record id="account_group_6102" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_61"/>
|
||||
<field name="name">Gastos de Administración</field>
|
||||
<field name="code_prefix">6102</field>
|
||||
</record>
|
||||
<record id="account_group_6103" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_61"/>
|
||||
<field name="name">Gastos por Trabajo, Suministros y Servicios</field>
|
||||
<field name="code_prefix">6103</field>
|
||||
</record>
|
||||
<record id="account_group_610301" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_6103"/>
|
||||
<field name="name">Gastos Honorarios por Servicios Profesionales (P. Física)</field>
|
||||
<field name="code_prefix">610301</field>
|
||||
</record>
|
||||
<record id="account_group_610302" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_6103"/>
|
||||
<field name="name">Gastos Honorarios por Servicios Profesionales (P. Jurídica)</field>
|
||||
<field name="code_prefix">610302</field>
|
||||
</record>
|
||||
<record id="account_group_610303" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_6103"/>
|
||||
<field name="name">Gastos Honorarios por Servicios Profesionales (P. Jurídica)</field>
|
||||
<field name="code_prefix">610303</field>
|
||||
</record>
|
||||
<record id="account_group_6104" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_61"/>
|
||||
<field name="name">Gastos por Depreciación</field>
|
||||
<field name="code_prefix">6104</field>
|
||||
</record>
|
||||
<record id="account_group_6105" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_61"/>
|
||||
<field name="name">Gastos por Reparaciones</field>
|
||||
<field name="code_prefix">6105</field>
|
||||
</record>
|
||||
<record id="account_group_6106" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_61"/>
|
||||
<field name="name">Gastos de Representación</field>
|
||||
<field name="code_prefix">6106</field>
|
||||
</record>
|
||||
<record id="account_group_6107" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_61"/>
|
||||
<field name="name">Gastos Financieros</field>
|
||||
<field name="code_prefix">6107</field>
|
||||
</record>
|
||||
<record id="account_group_6108" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_61"/>
|
||||
<field name="name">Gastos Extraordinarios</field>
|
||||
<field name="code_prefix">6108</field>
|
||||
</record>
|
||||
<record id="account_group_7" model="account.group">
|
||||
<field name="name">Cuentas Liquidadoras de Resultados</field>
|
||||
<field name="code_prefix">7</field>
|
||||
</record>
|
||||
<record id="account_group_71" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_7"/>
|
||||
<field name="name">Cuenta Liquidadora</field>
|
||||
<field name="code_prefix">71</field>
|
||||
</record>
|
||||
<record id="account_group_7101" model="account.group">
|
||||
<field name="parent_id" ref="l10n_do.account_group_71"/>
|
||||
<field name="name">Pérdidas y Ganancias</field>
|
||||
<field name="code_prefix">7101</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
@@ -14,7 +14,7 @@ from odoo.osv import expression
|
||||
from odoo.tools import groupby
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
_image_dataurl = re.compile(r'(data:image/[a-z]+?);base64,([a-z0-9+/\n]{3,}=*)\n*([\'"])', re.I)
|
||||
_image_dataurl = re.compile(r'(data:image/[a-z]+?);base64,([a-z0-9+/\n]{3,}=*)\n*([\'"])(?: data-filename="([^"]*)")?', re.I)
|
||||
|
||||
|
||||
class Message(models.Model):
|
||||
@@ -951,12 +951,13 @@ class Message(models.Model):
|
||||
def base64_to_boundary(match):
|
||||
key = match.group(2)
|
||||
if not data_to_url.get(key):
|
||||
name = 'image%s' % len(data_to_url)
|
||||
name = match.group(4) if match.group(4) else 'image%s' % len(data_to_url)
|
||||
attachment = Attachments.create({
|
||||
'name': name,
|
||||
'datas': match.group(2),
|
||||
'datas_fname': name,
|
||||
'res_model': 'mail.message',
|
||||
'res_model': values.get('model'),
|
||||
'res_id': values.get('res_id'),
|
||||
})
|
||||
attachment.generate_access_token()
|
||||
values['attachment_ids'].append((4, attachment.id))
|
||||
|
||||
@@ -199,6 +199,8 @@ class MailThread(models.AbstractModel):
|
||||
@api.multi
|
||||
def _get_message_needaction(self):
|
||||
res = dict((res_id, 0) for res_id in self.ids)
|
||||
if not res:
|
||||
return
|
||||
|
||||
# search for unread messages, directly in SQL to improve performances
|
||||
self._cr.execute(""" SELECT msg.res_id FROM mail_message msg
|
||||
|
||||
@@ -46,7 +46,7 @@ class Partner(models.Model):
|
||||
if message.add_sign:
|
||||
signature = "<p>-- <br/>%s</p>" % message.author_id.name
|
||||
|
||||
company = record.company_id if record and 'company_id' in record else user.company_id
|
||||
company = record.company_id.sudo() if record and 'company_id' in record else user.company_id
|
||||
if company.website:
|
||||
website_url = 'http://%s' % company.website if not company.website.lower().startswith(('http:', 'https:')) else company.website
|
||||
else:
|
||||
|
||||
@@ -369,8 +369,8 @@ class PurchaseOrder(models.Model):
|
||||
self.order_line = order_lines
|
||||
|
||||
@api.multi
|
||||
def button_confirm(self):
|
||||
res = super(PurchaseOrder, self).button_confirm()
|
||||
def button_approve(self, force=False):
|
||||
res = super(PurchaseOrder, self).button_approve(force=force)
|
||||
for po in self:
|
||||
if not po.requisition_id:
|
||||
continue
|
||||
|
||||
@@ -19,31 +19,40 @@ KanbanRecord.include({
|
||||
*/
|
||||
_onSalesTeamTargetClick: function (ev) {
|
||||
ev.preventDefault();
|
||||
var self = this;
|
||||
|
||||
this.$target_input = $('<input>');
|
||||
this.$('.o_kanban_primary_bottom:last').html(this.$target_input);
|
||||
this.$('.o_kanban_primary_bottom:last').prepend(_t("Set an invoicing target: "));
|
||||
this.$target_input.focus();
|
||||
|
||||
this.$target_input.on({
|
||||
blur: this._onSalesTeamTargetSet.bind(this),
|
||||
keydown: function (ev) {
|
||||
if (ev.keyCode === $.ui.keyCode.ENTER) {
|
||||
self._onSalesTeamTargetSet();
|
||||
}
|
||||
},
|
||||
});
|
||||
},
|
||||
/**
|
||||
* Mostly a handler for what happens to the input "this.$target_input"
|
||||
*
|
||||
* @private
|
||||
* @param {JqueryEvent} ev
|
||||
*
|
||||
*/
|
||||
_onSalesTeamTargetSet: function () {
|
||||
var self = this;
|
||||
this.$target_input.blur(function() {
|
||||
var value = Number(self.$target_input.val());
|
||||
if (isNaN(value)) {
|
||||
self.do_warn(_t("Wrong value entered!"), _t("Only Integer Value should be valid."));
|
||||
} else {
|
||||
self._rpc({
|
||||
model: 'crm.team',
|
||||
method: 'write',
|
||||
args: [[self.id], { 'invoiced_target': value }],
|
||||
})
|
||||
.done(function() {
|
||||
self.trigger_up('kanban_record_update', {id: self.id});
|
||||
self.trigger_up('reload');
|
||||
});
|
||||
var value = Number(this.$target_input.val());
|
||||
if (isNaN(value)) {
|
||||
this.do_warn(_t("Wrong value entered!"), _t("Only Integer Value should be valid."));
|
||||
} else {
|
||||
this.trigger_up('kanban_record_update', {invoiced_target: value});
|
||||
this.trigger_up('reload');
|
||||
// TODO: previous lines can be refactored as follows (in master)
|
||||
// self.trigger_up('kanban_record_update', {invoiced_target: value});
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ QUnit.module('Sales Team Dashboard', {
|
||||
});
|
||||
|
||||
QUnit.test('edit target with several o_kanban_primary_bottom divs', function (assert) {
|
||||
assert.expect(4);
|
||||
assert.expect(6);
|
||||
|
||||
var kanban = createView({
|
||||
View: KanbanView,
|
||||
@@ -33,6 +33,7 @@ QUnit.test('edit target with several o_kanban_primary_bottom divs', function (as
|
||||
'<templates>' +
|
||||
'<t t-name="kanban-box">' +
|
||||
'<div class="container o_kanban_card_content">' +
|
||||
'<field name="invoiced_target" />' +
|
||||
'<a href="#" class="sales_team_target_definition o_inline_link">' +
|
||||
'Click to define a target</a>' +
|
||||
'<div class="col-12 o_kanban_primary_bottom"/>' +
|
||||
@@ -46,9 +47,12 @@ QUnit.test('edit target with several o_kanban_primary_bottom divs', function (as
|
||||
assert.strictEqual(args.args[1].invoiced_target, 123,
|
||||
"new value is correctly saved");
|
||||
}
|
||||
if (args.method === 'read') { // Read happens after the write
|
||||
assert.deepEqual(args.args[1], ['invoiced_target', 'display_name'],
|
||||
'the read (after write) should ask for invoiced_target');
|
||||
}
|
||||
return this._super.apply(this, arguments);
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
assert.strictEqual(kanban.$('.o_kanban_view .sales_team_target_definition').length, 1,
|
||||
@@ -64,6 +68,54 @@ QUnit.test('edit target with several o_kanban_primary_bottom divs', function (as
|
||||
kanban.$('.o_kanban_primary_bottom:last input').val('123');
|
||||
kanban.$('.o_kanban_primary_bottom:last input').blur();
|
||||
|
||||
assert.strictEqual(kanban.$('.o_kanban_record').text(), "123Click to define a target",
|
||||
'The kanban record should display the updated target value');
|
||||
|
||||
kanban.destroy();
|
||||
});
|
||||
|
||||
QUnit.test('edit target supports push Enter', function (assert) {
|
||||
assert.expect(3);
|
||||
|
||||
var kanban = createView({
|
||||
View: KanbanView,
|
||||
model: 'crm.team',
|
||||
data: this.data,
|
||||
arch: '<kanban>' +
|
||||
'<templates>' +
|
||||
'<t t-name="kanban-box">' +
|
||||
'<div class="container o_kanban_card_content">' +
|
||||
'<field name="invoiced_target" />' +
|
||||
'<a href="#" class="sales_team_target_definition o_inline_link">' +
|
||||
'Click to define a target</a>' +
|
||||
'<div class="col-12 o_kanban_primary_bottom"/>' +
|
||||
'<div class="col-12 o_kanban_primary_bottom bottom_block"/>' +
|
||||
'</div>' +
|
||||
'</t>' +
|
||||
'</templates>' +
|
||||
'</kanban>',
|
||||
mockRPC: function (route, args) {
|
||||
if (args.method === 'write') {
|
||||
assert.strictEqual(args.args[1].invoiced_target, 123,
|
||||
"new value is correctly saved");
|
||||
}
|
||||
if (args.method === 'read') { // Read happens after the write
|
||||
assert.deepEqual(args.args[1], ['invoiced_target', 'display_name'],
|
||||
'the read (after write) should ask for invoiced_target');
|
||||
}
|
||||
return this._super.apply(this, arguments);
|
||||
},
|
||||
});
|
||||
|
||||
kanban.$('a.sales_team_target_definition').click();
|
||||
|
||||
kanban.$('.o_kanban_primary_bottom:last input').focus();
|
||||
kanban.$('.o_kanban_primary_bottom:last input').val('123');
|
||||
kanban.$('.o_kanban_primary_bottom:last input').trigger($.Event('keydown', {which: $.ui.keyCode.ENTER, keyCode: $.ui.keyCode.ENTER}));
|
||||
|
||||
assert.strictEqual(kanban.$('.o_kanban_record').text(), "123Click to define a target",
|
||||
'The kanban record should display the updated target value');
|
||||
|
||||
kanban.destroy();
|
||||
});
|
||||
|
||||
|
||||
@@ -269,7 +269,8 @@ class StockMove(models.Model):
|
||||
|
||||
# Update the standard price with the price of the last used candidate, if any.
|
||||
if new_standard_price and move.product_id.cost_method == 'fifo':
|
||||
move.product_id.sudo().standard_price = new_standard_price
|
||||
move.product_id.sudo().with_context(force_company=move.company_id.id) \
|
||||
.standard_price = new_standard_price
|
||||
|
||||
# If there's still quantity to value but we're out of candidates, we fall in the
|
||||
# negative stock use case. We chose to value the out move at the price of the
|
||||
|
||||
@@ -2409,6 +2409,18 @@ var FieldProgressBar = AbstractField.extend({
|
||||
this.$('.o_progressbar_value').focus().select();
|
||||
}
|
||||
},
|
||||
/**
|
||||
* The progress bar has more than one field/value to deal with
|
||||
* i.e. max_value
|
||||
*
|
||||
* @override
|
||||
* @private
|
||||
*/
|
||||
_reset: function () {
|
||||
this._super.apply(this, arguments);
|
||||
var new_max_value = this.recordData[this.nodeOptions.max_value];
|
||||
this.max_value = new_max_value !== undefined ? new_max_value : this.max_value;
|
||||
},
|
||||
isSet: function () {
|
||||
return true;
|
||||
},
|
||||
|
||||
@@ -564,6 +564,7 @@ var FieldMany2One = AbstractField.extend({
|
||||
initial_ids: ids ? _.map(ids, function (x) { return x[0]; }) : undefined,
|
||||
initial_view: view,
|
||||
disable_multiple_selection: true,
|
||||
no_create: !self.can_create,
|
||||
on_selected: function (records) {
|
||||
self.reinitialize(records[0]);
|
||||
self.activate();
|
||||
|
||||
@@ -181,6 +181,7 @@ var AbstractView = Class.extend({
|
||||
modelName: params.modelName,
|
||||
res_id: params.currentId,
|
||||
res_ids: params.ids,
|
||||
orderedBy: params.context ? params.context.orderedBy : [],
|
||||
};
|
||||
if (params.modelName) {
|
||||
this.loadParams.modelName = params.modelName;
|
||||
|
||||
@@ -3528,7 +3528,7 @@ var BasicModel = AbstractModel.extend({
|
||||
model: params.modelName,
|
||||
offset: params.offset || (type === 'record' ? _.indexOf(res_ids, res_id) : 0),
|
||||
openGroupByDefault: params.openGroupByDefault,
|
||||
orderedBy: params.orderedBy || (params.context && params.context.orderedBy) || [],
|
||||
orderedBy: params.orderedBy || [],
|
||||
orderedResIDs: params.orderedResIDs,
|
||||
parentID: params.parentID,
|
||||
rawContext: params.rawContext,
|
||||
@@ -4456,7 +4456,7 @@ var BasicModel = AbstractModel.extend({
|
||||
if (orderData1 > orderData2) {
|
||||
return order.asc ? 1 : -1;
|
||||
}
|
||||
return compareRecords(record1ID, record2ID, level + 1);
|
||||
return compareRecords(resId1, resId2, level + 1);
|
||||
};
|
||||
utils.stableSort(list.res_ids, compareRecords);
|
||||
}
|
||||
|
||||
@@ -5411,6 +5411,48 @@ QUnit.module('basic_fields', {
|
||||
|
||||
form.destroy();
|
||||
});
|
||||
|
||||
QUnit.module('FieldProgressBar');
|
||||
|
||||
QUnit.test('Field ProgressBar: max_value should update', function (assert) {
|
||||
assert.expect(2);
|
||||
|
||||
this.data.partner.records = this.data.partner.records.slice(0,1);
|
||||
this.data.partner.records[0].qux = 2;
|
||||
|
||||
this.data.partner.onchanges = {
|
||||
display_name: function (obj) {
|
||||
obj.int_field = 999;
|
||||
obj.qux = 5;
|
||||
}
|
||||
};
|
||||
|
||||
var form = createView({
|
||||
View: FormView,
|
||||
model: 'partner',
|
||||
data: this.data,
|
||||
arch: '<form>' +
|
||||
'<field name="display_name" />' +
|
||||
'<field name="qux" invisible="1" />' +
|
||||
'<field name="int_field" widget="progressbar" options="{\'current_value\': \'int_field\', \'max_value\': \'qux\'}" />' +
|
||||
'</form>',
|
||||
res_id: 1,
|
||||
viewOptions: {
|
||||
mode: 'edit',
|
||||
},
|
||||
});
|
||||
|
||||
assert.strictEqual(form.$('.o_progressbar_value').text(), '10 / 2',
|
||||
'The initial value of the progress bar should be correct');
|
||||
|
||||
// trigger the onchange
|
||||
form.$('.o_input[name=display_name]').val('new name').trigger('input');
|
||||
|
||||
assert.strictEqual(form.$('.o_progressbar_value').text(), '999 / 5',
|
||||
'The value of the progress bar should be correct after the update');
|
||||
|
||||
form.destroy();
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -2735,6 +2735,48 @@ QUnit.module('relational_fields', {
|
||||
form.destroy();
|
||||
});
|
||||
|
||||
QUnit.test('x2many default_order multiple fields', function (assert) {
|
||||
assert.expect(7);
|
||||
|
||||
this.data.partner.records = [
|
||||
{int_field: 10, id: 1, display_name: "record1"},
|
||||
{int_field: 12, id: 2, display_name: "record2"},
|
||||
{int_field: 11, id: 3, display_name: "record3"},
|
||||
{int_field: 12, id: 4, display_name: "record4"},
|
||||
{int_field: 10, id: 5, display_name: "record5"},
|
||||
{int_field: 10, id: 6, display_name: "record6"},
|
||||
{int_field: 11, id: 7, display_name: "record7"},
|
||||
];
|
||||
|
||||
this.data.partner.records[0].p = [1, 7, 4, 5, 2, 6, 3];
|
||||
|
||||
var form = createView({
|
||||
View: FormView,
|
||||
model: 'partner',
|
||||
data: this.data,
|
||||
arch: '<form>' +
|
||||
'<field name="p" >' +
|
||||
'<tree default_order="int_field,id">' +
|
||||
'<field name="id"/>' +
|
||||
'<field name="int_field"/>' +
|
||||
'</tree>' +
|
||||
'</field>' +
|
||||
'</form>',
|
||||
res_id: 1,
|
||||
});
|
||||
|
||||
var $recordList = form.$('.o_field_x2many_list .o_data_row');
|
||||
var expectedOrderId = ['1', '5', '6', '3', '7', '2', '4'];
|
||||
|
||||
_.each($recordList, function(record, index) {
|
||||
var $record = $(record);
|
||||
assert.strictEqual($record.find('.o_data_cell').eq(0).text(), expectedOrderId[index],
|
||||
'The record should be the right place. Index: ' + index);
|
||||
});
|
||||
|
||||
form.destroy();
|
||||
});
|
||||
|
||||
QUnit.test('many2many list add *many* records, remove, re-add', function (assert) {
|
||||
assert.expect(5);
|
||||
|
||||
@@ -2875,6 +2917,41 @@ QUnit.module('relational_fields', {
|
||||
form.destroy();
|
||||
});
|
||||
|
||||
QUnit.test('one2many from a model that has been sorted', function (assert) {
|
||||
assert.expect(1);
|
||||
|
||||
/* On a standard list view, sort your records by a field
|
||||
* Click on a record which contains a x2m with multiple records in it
|
||||
* The x2m shouldn't take the orderedBy of the parent record (the one on the form)
|
||||
*/
|
||||
|
||||
this.data.partner.records[0].turtles = [3, 2];
|
||||
var form = createView({
|
||||
View: FormView,
|
||||
model: 'partner',
|
||||
data: this.data,
|
||||
arch:'<form string="Partners">' +
|
||||
'<field name="turtles">' +
|
||||
'<tree>' +
|
||||
'<field name="turtle_foo"/>' +
|
||||
'</tree>' +
|
||||
'</field>' +
|
||||
'</form>',
|
||||
res_id: 1,
|
||||
context: {
|
||||
orderedBy: [{
|
||||
name: 'foo',
|
||||
asc: false,
|
||||
}]
|
||||
},
|
||||
});
|
||||
|
||||
assert.strictEqual(form.$('.o_field_one2many[name=turtles] tbody').text().trim(), "kawablip",
|
||||
'The o2m should not have been sorted.');
|
||||
|
||||
form.destroy();
|
||||
});
|
||||
|
||||
QUnit.test('O2M List with pager, decoration and default_order: add and cancel adding', function (assert) {
|
||||
assert.expect(3);
|
||||
|
||||
|
||||
@@ -476,6 +476,66 @@ QUnit.module('Views', {
|
||||
testUtils.unpatch(ListController);
|
||||
parent.destroy();
|
||||
});
|
||||
|
||||
QUnit.test('propagate can_create onto the search popup o2m', function (assert) {
|
||||
assert.expect(3);
|
||||
|
||||
this.data.instrument.records = [
|
||||
{id: 1, name: 'Tromblon1'},
|
||||
{id: 2, name: 'Tromblon2'},
|
||||
{id: 3, name: 'Tromblon3'},
|
||||
{id: 4, name: 'Tromblon4'},
|
||||
{id: 5, name: 'Tromblon5'},
|
||||
{id: 6, name: 'Tromblon6'},
|
||||
{id: 7, name: 'Tromblon7'},
|
||||
{id: 8, name: 'Tromblon8'},
|
||||
];
|
||||
|
||||
var form = createView({
|
||||
View: FormView,
|
||||
model: 'partner',
|
||||
data: this.data,
|
||||
arch: '<form>' +
|
||||
'<field name="name"/>' +
|
||||
'<field name="instrument" can_create="false"/>' +
|
||||
'</form>',
|
||||
res_id: 1,
|
||||
archs: {
|
||||
'instrument,false,list': '<tree>'+
|
||||
'<field name="name"/>'+
|
||||
'</tree>',
|
||||
'instrument,false,search': '<search>'+
|
||||
'<field name="name"/>'+
|
||||
'</search>',
|
||||
},
|
||||
viewOptions: {
|
||||
mode: 'edit',
|
||||
},
|
||||
|
||||
mockRPC: function(route, args) {
|
||||
if (args.method === 'get_formview_id') {
|
||||
return $.when(false);
|
||||
}
|
||||
return this._super(route, args);
|
||||
},
|
||||
});
|
||||
|
||||
form.$('.o_field_widget[name="instrument"] .o_input').click();
|
||||
|
||||
assert.notOk($('.ui-autocomplete a:contains(Create and Edit)').length,
|
||||
'Create and edit not present in dropdown');
|
||||
|
||||
$('.ui-autocomplete a:contains(Search More)').trigger('mouseenter').trigger('click');
|
||||
|
||||
var $modal = $('.modal-dialog.modal-lg');
|
||||
|
||||
assert.strictEqual($modal.length, 1, 'Modal present');
|
||||
|
||||
assert.strictEqual($modal.find('.modal-footer button').text(), "Cancel",
|
||||
'Only the cancel button is present in modal');
|
||||
|
||||
form.destroy();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -287,9 +287,9 @@ msgid ""
|
||||
" several cups of coffee to go through. But don't worry, "
|
||||
"you can return to this tool at any time.</i>"
|
||||
msgstr ""
|
||||
"<I> Todo el proceso puede tardar un par de horas, algunas discusiones con "
|
||||
"<i> Todo el proceso puede tardar un par de horas, algunas discusiones con "
|
||||
"sus colegas y varias tazas de café. Pero no se preocupe, puede volver a esta "
|
||||
"herramienta en cualquier momento. </ I>"
|
||||
"herramienta en cualquier momento. </i>"
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.website_planner
|
||||
@@ -325,14 +325,14 @@ msgid ""
|
||||
"<i>Congratulations on taking the leap and deciding to build your own website!"
|
||||
"</i>"
|
||||
msgstr ""
|
||||
"<I>¡Felicitaciones por dar el salto y decidir construir su propio sitio web! "
|
||||
"</ I>"
|
||||
"<i>¡Felicitaciones por dar el salto y decidir construir su propio sitio web! "
|
||||
"</i>"
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.s_comparisons
|
||||
msgid "<i>Instant setup, satisfied or reimbursed.</i>"
|
||||
msgstr ""
|
||||
"<I>Configuración instantánea, quedará satisfecho o será reembolsado. </ I>"
|
||||
"<i>Configuración instantánea, quedará satisfecho o será reembolsado. </i>"
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.website_planner
|
||||
|
||||
@@ -282,9 +282,9 @@ msgid ""
|
||||
" several cups of coffee to go through. But don't worry, "
|
||||
"you can return to this tool at any time.</i>"
|
||||
msgstr ""
|
||||
"<I> Todo el proceso puede tardar un par de horas, algunas discusiones con "
|
||||
"<i> Todo el proceso puede tardar un par de horas, algunas discusiones con "
|
||||
"sus colegas y varias tazas de café. Pero no se preocupe, puede volver a esta "
|
||||
"herramienta en cualquier momento. </ I>"
|
||||
"herramienta en cualquier momento. </i>"
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.website_planner
|
||||
@@ -320,14 +320,14 @@ msgid ""
|
||||
"<i>Congratulations on taking the leap and deciding to build your own website!"
|
||||
"</i>"
|
||||
msgstr ""
|
||||
"<I>¡Felicitaciones por dar el salto y decidir construir su propio sitio web! "
|
||||
"</ I>"
|
||||
"<i>¡Felicitaciones por dar el salto y decidir construir su propio sitio web! "
|
||||
"</i>"
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.s_comparisons
|
||||
msgid "<i>Instant setup, satisfied or reimbursed.</i>"
|
||||
msgstr ""
|
||||
"<I>Configuración instantánea, quedará satisfecho o será reembolsado. </ I>"
|
||||
"<i>Configuración instantánea, quedará satisfecho o será reembolsado. </i>"
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.website_planner
|
||||
|
||||
@@ -292,9 +292,9 @@ msgid ""
|
||||
" several cups of coffee to go through. But don't worry, "
|
||||
"you can return to this tool at any time.</i>"
|
||||
msgstr ""
|
||||
"<I> Todo el proceso puede tardar un par de horas, algunas discusiones con "
|
||||
"<i> Todo el proceso puede tardar un par de horas, algunas discusiones con "
|
||||
"sus colegas y varias tazas de café. Pero no se preocupe, puede volver a esta "
|
||||
"herramienta en cualquier momento. </ I>"
|
||||
"herramienta en cualquier momento. </i>"
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.website_planner
|
||||
@@ -330,14 +330,14 @@ msgid ""
|
||||
"<i>Congratulations on taking the leap and deciding to build your own website!"
|
||||
"</i>"
|
||||
msgstr ""
|
||||
"<I>¡Felicitaciones por dar el salto y decidir construir su propio sitio web! "
|
||||
"</ I>"
|
||||
"<i>¡Felicitaciones por dar el salto y decidir construir su propio sitio web! "
|
||||
"</i>"
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.s_comparisons
|
||||
msgid "<i>Instant setup, satisfied or reimbursed.</i>"
|
||||
msgstr ""
|
||||
"<I>Configuración instantánea, quedará satisfecho o será reembolsado. </ I>"
|
||||
"<i>Configuración instantánea, quedará satisfecho o será reembolsado. </i>"
|
||||
|
||||
#. module: website
|
||||
#: model_terms:ir.ui.view,arch_db:website.website_planner
|
||||
|
||||
@@ -46,7 +46,7 @@ class SaleOrder(models.Model):
|
||||
abandoned_delay = self.website_id and self.website_id.cart_abandoned_delay or 1.0
|
||||
abandoned_datetime = datetime.utcnow() - relativedelta(hours=abandoned_delay)
|
||||
for order in self:
|
||||
domain = order.date_order <= abandoned_datetime and order.team_id.team_type == 'website' and order.state == 'draft' and order.partner_id.id != self.env.ref('base.public_partner').id and order.order_line
|
||||
domain = order.date_order and order.date_order <= abandoned_datetime and order.team_id.team_type == 'website' and order.state == 'draft' and order.partner_id.id != self.env.ref('base.public_partner').id and order.order_line
|
||||
order.is_abandoned_cart = bool(domain)
|
||||
|
||||
def _search_abandoned_cart(self, operator, value):
|
||||
|
||||
@@ -34,3 +34,4 @@ Damien Crier damien.crier@camptocamp.com https://github.com/damdam-s
|
||||
Simone Orsi simahawk@gmail.com https://github.com/simahawk
|
||||
Patrick Tombez patrick.tombez@camptocamp.com https://github.com/p-tombez
|
||||
Julien Coux julien.coux@camptocamp.com https://github.com/jcoux
|
||||
Alexandre Saunier alexandre.saunier@camptocamp.com https://github.com/asaunier
|
||||
|
||||
@@ -216,10 +216,13 @@ command is available and configured properly, run the following commands :
|
||||
$ sudo systemctl start postgresql
|
||||
|
||||
In order to print PDF reports, you must install wkhtmltopdf_ yourself:
|
||||
the version of wkhtmltopdf_ available in debian repositories does not support
|
||||
headers and footers so it can not be installed automatically.
|
||||
The recommended version is 0.12.1 and is available on `the wkhtmltopdf download page`_,
|
||||
in the archive section.
|
||||
the version of wkhtmltopdf_ available in Debian repositories does
|
||||
not support headers and footers so it is not used as a direct dependency.
|
||||
The recommended version is 0.12.5 and is available on
|
||||
`the wkhtmltopdf download page`_, in the archive section. Previously
|
||||
recommended version 0.12.1 is a good alternative.
|
||||
More details on the various versions and their respective quirks can be
|
||||
found in our `wiki <https://github.com/odoo/odoo/wiki/Wkhtmltopdf>`_.
|
||||
|
||||
Repository
|
||||
^^^^^^^^^^
|
||||
@@ -594,7 +597,7 @@ official Odoo `docker image <https://registry.hub.docker.com/_/odoo/>`_ page.
|
||||
http://www.enterprisedb.com/products-services-training/pgdownload
|
||||
.. _Quilt: http://en.wikipedia.org/wiki/Quilt_(software)
|
||||
.. _saas: https://www.odoo.com/page/start
|
||||
.. _the wkhtmltopdf download page: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.1
|
||||
.. _the wkhtmltopdf download page: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.5
|
||||
.. _UAC: http://en.wikipedia.org/wiki/User_Account_Control
|
||||
.. _wkhtmltopdf: http://wkhtmltopdf.org
|
||||
.. _pip: https://pip.pypa.io
|
||||
|
||||
@@ -457,15 +457,15 @@ class IrTranslation(models.Model):
|
||||
if not callable(field.translate):
|
||||
return
|
||||
|
||||
trans = self.env['ir.translation']
|
||||
outdated = trans
|
||||
discarded = trans
|
||||
Translation = self.env['ir.translation']
|
||||
outdated = Translation
|
||||
discarded = Translation
|
||||
|
||||
for record in records:
|
||||
# get field value and terms to translate
|
||||
value = record[field.name]
|
||||
terms = set(field.get_trans_terms(value))
|
||||
record_trans = trans.search([
|
||||
translations = Translation.search([
|
||||
('type', '=', 'model_terms'),
|
||||
('name', '=', "%s,%s" % (field.model_name, field.name)),
|
||||
('res_id', '=', record.id),
|
||||
@@ -473,25 +473,32 @@ class IrTranslation(models.Model):
|
||||
|
||||
if not terms:
|
||||
# discard all translations for that field
|
||||
discarded += record_trans
|
||||
discarded += translations
|
||||
continue
|
||||
|
||||
# remap existing translations on terms when possible
|
||||
trans_src = record_trans.mapped('src')
|
||||
for trans in record_trans:
|
||||
if trans.src == trans.value:
|
||||
discarded += trans
|
||||
elif trans.src not in terms:
|
||||
matches = get_close_matches(trans.src, terms, 1, 0.9)
|
||||
if matches:
|
||||
if matches[0] in trans_src:
|
||||
# there is already a translation for this term; discard this one
|
||||
discarded += trans
|
||||
else:
|
||||
trans.write({'src': matches[0], 'state': trans.state})
|
||||
trans_src.append(matches[0]) # avoid reuse of term
|
||||
else:
|
||||
outdated += trans
|
||||
# remap existing translations on terms when possible; each term
|
||||
# should be translated at most once per language
|
||||
done = set() # {(src, lang), ...}
|
||||
translations_to_match = []
|
||||
|
||||
for translation in translations:
|
||||
if translation.src == translation.value:
|
||||
discarded += translation
|
||||
elif translation.src in terms:
|
||||
done.add((translation.src, translation.lang))
|
||||
else:
|
||||
translations_to_match.append(translation)
|
||||
|
||||
for translation in translations_to_match:
|
||||
matches = get_close_matches(translation.src, terms, 1, 0.9)
|
||||
src = matches[0] if matches else None
|
||||
if not src:
|
||||
outdated += translation
|
||||
elif (src, translation.lang) in done:
|
||||
discarded += translation
|
||||
else:
|
||||
translation.write({'src': src, 'state': translation.state})
|
||||
done.add((src, translation.lang))
|
||||
|
||||
# process outdated and discarded translations
|
||||
outdated.write({'state': 'to_translate'})
|
||||
|
||||
@@ -310,30 +310,36 @@ class TestTranslation(TransactionCase):
|
||||
class TestXMLTranslation(TransactionCase):
|
||||
def setUp(self):
|
||||
super(TestXMLTranslation, self).setUp()
|
||||
self.env['ir.translation'].load_module_terms(['base'], ['fr_FR'])
|
||||
self.env['ir.translation'].load_module_terms(['base'], ['fr_FR', 'nl_NL'])
|
||||
|
||||
def create_view(self, archf, terms, **kwargs):
|
||||
view = self.env['ir.ui.view'].create({
|
||||
'name': 'test',
|
||||
'model': 'res.partner',
|
||||
'arch': archf % terms,
|
||||
})
|
||||
for lang, trans_terms in kwargs.items():
|
||||
for src, val in pycompat.izip(terms, trans_terms):
|
||||
self.env['ir.translation'].create({
|
||||
'type': 'model_terms',
|
||||
'name': 'ir.ui.view,arch_db',
|
||||
'lang': lang,
|
||||
'res_id': view.id,
|
||||
'src': src,
|
||||
'value': val,
|
||||
'state': 'translated',
|
||||
})
|
||||
return view
|
||||
|
||||
def test_copy(self):
|
||||
""" Create a simple view, fill in translations, and copy it. """
|
||||
env_en = self.env(context={})
|
||||
env_fr = self.env(context={'lang': 'fr_FR'})
|
||||
|
||||
archf = '<form string="%s"><div>%s</div><div>%s</div></form>'
|
||||
terms_en = ('Knife', 'Fork', 'Spoon')
|
||||
terms_fr = ('Couteau', 'Fourchette', 'Cuiller')
|
||||
view0 = self.env['ir.ui.view'].create({
|
||||
'name': 'test',
|
||||
'model': 'res.partner',
|
||||
'arch': archf % terms_en,
|
||||
})
|
||||
for src, value in list(pycompat.izip(terms_en, terms_fr)):
|
||||
self.env['ir.translation'].create({
|
||||
'type': 'model_terms',
|
||||
'name': 'ir.ui.view,arch_db',
|
||||
'lang': 'fr_FR',
|
||||
'res_id': view0.id,
|
||||
'src': src,
|
||||
'value': value,
|
||||
})
|
||||
view0 = self.create_view(archf, terms_en, fr_FR=terms_fr)
|
||||
|
||||
env_en = self.env(context={})
|
||||
env_fr = self.env(context={'lang': 'fr_FR'})
|
||||
|
||||
# check translated field
|
||||
self.assertEqual(view0.with_env(env_en).arch_db, archf % terms_en)
|
||||
@@ -360,17 +366,29 @@ class TestXMLTranslation(TransactionCase):
|
||||
archf = '<form string="%s"><div>%s</div><div>%s</div></form>'
|
||||
terms_en = ('Knife', 'Fork', 'Spoon')
|
||||
terms_fr = (' Couteau', 'Fourchette ', ' Cuiller ')
|
||||
view0 = self.env['ir.ui.view'].create({
|
||||
'name': 'test',
|
||||
'model': 'res.partner',
|
||||
'arch': archf % terms_en,
|
||||
})
|
||||
for src, value in list(pycompat.izip(terms_en, terms_fr)):
|
||||
self.env['ir.translation'].create({
|
||||
'type': 'model_terms',
|
||||
'name': 'ir.ui.view,arch_db',
|
||||
'lang': 'fr_FR',
|
||||
'res_id': view0.id,
|
||||
'src': src,
|
||||
'value': value,
|
||||
})
|
||||
self.create_view(archf, terms_en, fr_FR=terms_fr)
|
||||
|
||||
def test_sync(self):
|
||||
""" Check translations after minor change in source terms. """
|
||||
archf = '<form string="X">%s</form>'
|
||||
terms_en = ('Bread and cheeze',)
|
||||
terms_fr = ('Pain et fromage',)
|
||||
terms_nl = ('Brood and kaas',)
|
||||
view = self.create_view(archf, terms_en, fr_FR=terms_fr, nl_NL=terms_nl)
|
||||
|
||||
env_en = self.env(context={})
|
||||
env_fr = self.env(context={'lang': 'fr_FR'})
|
||||
env_nl = self.env(context={'lang': 'nl_NL'})
|
||||
|
||||
self.assertEqual(view.with_env(env_en).arch_db, archf % terms_en)
|
||||
self.assertEqual(view.with_env(env_fr).arch_db, archf % terms_fr)
|
||||
self.assertEqual(view.with_env(env_nl).arch_db, archf % terms_nl)
|
||||
|
||||
# modify source term in view (fixed type in 'cheeze')
|
||||
terms_en = ('Bread and cheese',)
|
||||
view.write({'arch_db': archf % terms_en})
|
||||
|
||||
# check whether translations have been synchronized
|
||||
self.assertEqual(view.with_env(env_en).arch_db, archf % terms_en)
|
||||
self.assertEqual(view.with_env(env_fr).arch_db, archf % terms_fr)
|
||||
self.assertEqual(view.with_env(env_nl).arch_db, archf % terms_nl)
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
try:
|
||||
from unittest.mock import patch
|
||||
except ImportError:
|
||||
from mock import patch
|
||||
|
||||
from odoo.tests import common
|
||||
|
||||
@@ -466,3 +470,32 @@ class TestOnChange(common.TransactionCase):
|
||||
result = Message.onchange(value, ['message', 'message_name', 'message_currency'], field_onchange)
|
||||
|
||||
self.assertEqual(result['value'], onchange_result)
|
||||
|
||||
def test_onchange_many2one_one2many(self):
|
||||
""" Setting a many2one field should not read the inverse one2many. """
|
||||
discussion = self.env.ref('test_new_api.discussion_0')
|
||||
field_onchange = self.Message._onchange_spec()
|
||||
self.assertEqual(field_onchange.get('discussion'), '1')
|
||||
|
||||
values = {
|
||||
'discussion': discussion.id,
|
||||
'name': "[%s] %s" % ('', self.env.user.name),
|
||||
'body': False,
|
||||
'author': self.env.uid,
|
||||
'size': 0,
|
||||
}
|
||||
|
||||
called = [False]
|
||||
orig_read = type(discussion).read
|
||||
|
||||
def mock_read(self, fields=None, load='_classic_read'):
|
||||
if discussion in self and 'messages' in (fields or ()):
|
||||
called[0] = True
|
||||
return orig_read(self, fields, load)
|
||||
|
||||
# changing 'discussion' on message should not read 'messages' on discussion
|
||||
with patch.object(type(discussion), 'read', mock_read, create=True):
|
||||
self.env.cache.invalidate()
|
||||
self.Message.onchange(values, 'discussion', field_onchange)
|
||||
|
||||
self.assertFalse(called[0], "discussion.messages has been read")
|
||||
|
||||
@@ -1057,6 +1057,12 @@ class Cache(object):
|
||||
value = self._data[field][record.id].get(key, SpecialValue(None))
|
||||
return default if isinstance(value, SpecialValue) else value
|
||||
|
||||
def get_special(self, record, field, default=None):
|
||||
""" Return the special value of ``field`` for ``record``. """
|
||||
key = field.cache_key(record)
|
||||
value = self._data[field][record.id].get(key)
|
||||
return value.get if isinstance(value, SpecialValue) else default
|
||||
|
||||
def set_special(self, record, field, getter):
|
||||
""" Set the value of ``field`` for ``record`` to return ``getter()``. """
|
||||
key = field.cache_key(record)
|
||||
|
||||
+27
-12
@@ -2166,6 +2166,26 @@ class Many2one(_Relational):
|
||||
return super(Many2one, self).convert_to_onchange(value, record, names)
|
||||
|
||||
|
||||
class _RelationalMultiUpdate(object):
|
||||
""" A getter to update the value of an x2many field, without reading its
|
||||
value until necessary.
|
||||
"""
|
||||
__slots__ = ['record', 'field', 'value']
|
||||
|
||||
def __init__(self, record, field, value):
|
||||
self.record = record
|
||||
self.field = field
|
||||
self.value = value
|
||||
|
||||
def __call__(self):
|
||||
# determine the current field's value, and update it in cache only
|
||||
record, field, value = self.record, self.field, self.value
|
||||
cache = record.env.cache
|
||||
cache.remove(record, field)
|
||||
val = field.convert_to_cache(record[field.name] | value, record, validate=False)
|
||||
cache.set(record, field, val)
|
||||
return val
|
||||
|
||||
|
||||
class _RelationalMulti(_Relational):
|
||||
""" Abstract class for relational fields *2many. """
|
||||
@@ -2177,7 +2197,12 @@ class _RelationalMulti(_Relational):
|
||||
""" Update the cached value of ``self`` for ``records`` with ``value``. """
|
||||
cache = records.env.cache
|
||||
for record in records:
|
||||
if cache.contains(record, self):
|
||||
special = cache.get_special(record, self)
|
||||
if isinstance(special, _RelationalMultiUpdate):
|
||||
# include 'value' in the existing _RelationalMultiUpdate; this
|
||||
# avoids reading the field's value (which may be large)
|
||||
special.value |= value
|
||||
elif cache.contains(record, self):
|
||||
try:
|
||||
val = self.convert_to_cache(record[self.name] | value, record, validate=False)
|
||||
cache.set(record, self, val)
|
||||
@@ -2185,17 +2210,7 @@ class _RelationalMulti(_Relational):
|
||||
# delay the failure until the field is necessary
|
||||
cache.set_failed(record, [self], exc)
|
||||
else:
|
||||
cache.set_special(record, self, self._update_getter(record, value))
|
||||
|
||||
def _update_getter(self, record, value):
|
||||
def getter():
|
||||
# determine the current field's value, and update it in cache only
|
||||
cache = record.env.cache
|
||||
cache.remove(record, self)
|
||||
val = self.convert_to_cache(record[self.name] | value, record, validate=False)
|
||||
cache.set(record, self, val)
|
||||
return val
|
||||
return getter
|
||||
cache.set_special(record, self, _RelationalMultiUpdate(record, self, value))
|
||||
|
||||
def convert_to_cache(self, value, record, validate=True):
|
||||
# cache format: tuple(ids)
|
||||
|
||||
Reference in New Issue
Block a user