summaryrefslogtreecommitdiff
path: root/addons/l10n_es
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_es
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_es')
-rw-r--r--addons/l10n_es/data/account.account.template-common.csv1
-rw-r--r--addons/l10n_es/data/account_chart_template_account_account_link.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/addons/l10n_es/data/account.account.template-common.csv b/addons/l10n_es/data/account.account.template-common.csv
index 21c952cf79c..4ddd6c3bbbc 100644
--- a/addons/l10n_es/data/account.account.template-common.csv
+++ b/addons/l10n_es/data/account.account.template-common.csv
@@ -191,6 +191,7 @@
"account_common_411","Acreedores, efectos comerciales a pagar","411","account.data_account_type_payable","l10n_es.account_chart_template_common","l10n_es.account_group_411","True"
"account_common_419","Acreedores por operaciones en comĂșn","419","account.data_account_type_payable","l10n_es.account_chart_template_common","l10n_es.account_group_419","True"
"account_common_4300","Clientes (euros)","4300","account.data_account_type_receivable","l10n_es.account_chart_template_common","l10n_es.account_group_4300","True"
+"account_common_4301","Clientes (euros) (PoS)","4301","account.data_account_type_receivable","l10n_es.account_chart_template_common","l10n_es.account_group_4300","True"
"account_common_4304","Clientes (moneda extranjera)","4304","account.data_account_type_receivable","l10n_es.account_chart_template_common","l10n_es.account_group_4304","True"
"account_common_4309","Clientes, facturas pendientes de recibir o de formalizar","4309","account.data_account_type_receivable","l10n_es.account_chart_template_common","l10n_es.account_group_4309","True"
"account_common_4310","Efectos comerciales en cartera","4310","account.data_account_type_receivable","l10n_es.account_chart_template_common","l10n_es.account_group_4310","True"
diff --git a/addons/l10n_es/data/account_chart_template_account_account_link.xml b/addons/l10n_es/data/account_chart_template_account_account_link.xml
index eb9b6054249..641f191bb92 100644
--- a/addons/l10n_es/data/account_chart_template_account_account_link.xml
+++ b/addons/l10n_es/data/account_chart_template_account_account_link.xml
@@ -12,6 +12,7 @@
<field name="property_account_income_categ_id" ref="account_common_7000"/>
<field name="income_currency_exchange_account_id" ref="account_common_768"/>
<field name="expense_currency_exchange_account_id" ref="account_common_668"/>
+ <field name="default_pos_receivable_account_id" ref="account_common_4301" />
</record>
</data>