summaryrefslogtreecommitdiff
path: root/addons/l10n_mx
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2019-08-02 08:49:25 +0000
committerPierre Masereel <pim@odoo.com>2019-08-09 13:57:10 +0000
commit536560bbf55d1d9a6f5bd8d8f145f7bb13569ae4 (patch)
tree9d676515aba3df3a8a1166fac8149c01dcdb8cd5 /addons/l10n_mx
parentaf91527929c2cd2266a0f5b7ea6b133002b4ef3e (diff)
[IMP] l10n_*: add new receivable account for pos
A new feature[*] in point_of_sale (PoS) which minimizes the creation of account.move records in closing a pos.session relies on a receivable account made specifically for PoS. This commit addresses this feature's requirement by adding a new receivable account to each localization. [*] point_of_sale: single AE for a pos.session TASK-ID: 1862388
Diffstat (limited to 'addons/l10n_mx')
-rw-r--r--addons/l10n_mx/data/account.account.template.csv1
-rw-r--r--addons/l10n_mx/data/l10n_mx_chart_post_data.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/addons/l10n_mx/data/account.account.template.csv b/addons/l10n_mx/data/account.account.template.csv
index b9cd4a41d36..d717fdd46ed 100644
--- a/addons/l10n_mx/data/account.account.template.csv
+++ b/addons/l10n_mx/data/account.account.template.csv
@@ -1,6 +1,7 @@
"id","name","code","user_type_id/id","chart_template_id/id","tag_ids/id","reconcile"
"cuenta102_02","Transferencias bancarias moneda extranjera","102.02.01","account.data_account_type_current_assets","l10n_mx.mx_coa","l10n_mx.account_tag_102_02","True"
"cuenta105_01","Clientes nacionales","105.01.01","account.data_account_type_receivable","l10n_mx.mx_coa","l10n_mx.account_tag_105_01","True"
+"cuenta105_02","Clientes nacionales (PoS)","105.01.02","account.data_account_type_receivable","l10n_mx.mx_coa","l10n_mx.account_tag_105_01","True"
"cuenta107_05_01","Mercancías Enviadas - No Facturas","107.05.01","account.data_account_type_current_assets","l10n_mx.mx_coa","l10n_mx.account_tag_107_05","True"
"cuenta108_01","Estimación de cuentas incobrables nacional","108.01.01","account.data_account_type_receivable","l10n_mx.mx_coa","l10n_mx.account_tag_108_01","True"
"cuenta108_02","Estimación de cuentas incobrables extranjero","108.02.01","account.data_account_type_receivable","l10n_mx.mx_coa","l10n_mx.account_tag_108_02","True"
diff --git a/addons/l10n_mx/data/l10n_mx_chart_post_data.xml b/addons/l10n_mx/data/l10n_mx_chart_post_data.xml
index ab4056adcf3..1b5dbabe307 100644
--- a/addons/l10n_mx/data/l10n_mx_chart_post_data.xml
+++ b/addons/l10n_mx/data/l10n_mx_chart_post_data.xml
@@ -13,5 +13,6 @@
<field name="property_stock_valuation_account_id" ref="cuenta115_01"/>
<field name="income_currency_exchange_account_id" ref="cuenta702_01"/>
<field name="expense_currency_exchange_account_id" ref="cuenta701_01"/>
+ <field name="default_pos_receivable_account_id" ref="cuenta105_02" />
</record>
</odoo>