summaryrefslogtreecommitdiff
path: root/addons/l10n_sa
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_sa
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_sa')
-rw-r--r--addons/l10n_sa/data/account.account.template.csv1
-rw-r--r--addons/l10n_sa/data/l10n_sa_chart_data.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/addons/l10n_sa/data/account.account.template.csv b/addons/l10n_sa/data/account.account.template.csv
index 3fabfcfc694..a0c1cfe64fc 100644
--- a/addons/l10n_sa/data/account.account.template.csv
+++ b/addons/l10n_sa/data/account.account.template.csv
@@ -1,5 +1,6 @@
id,code,name,user_type_id:id,chart_template_id:id,reconcile
account_receivable,12001,Account Receivable,account.data_account_type_receivable,account_arabic_coa_general,True
+account_receivable_pos,12002,Account Receivable (PoS),account.data_account_type_receivable,account_arabic_coa_general,True
15000_furniture_equipments,15000,Furniture and Equipment,account.data_account_type_fixed_assets,account_arabic_coa_general,False
17000_accu_deprec,17000,Accumulated Depreciation,account.data_account_type_fixed_assets,account_arabic_coa_general,False
account_payable,20001,Account Payable,account.data_account_type_payable,account_arabic_coa_general,True
diff --git a/addons/l10n_sa/data/l10n_sa_chart_data.xml b/addons/l10n_sa/data/l10n_sa_chart_data.xml
index 25b924cdb30..9c9a519e409 100644
--- a/addons/l10n_sa/data/l10n_sa_chart_data.xml
+++ b/addons/l10n_sa/data/l10n_sa_chart_data.xml
@@ -10,5 +10,6 @@
<field name="property_account_income_categ_id" ref="47910_general_product_sales"/>
<field name="income_currency_exchange_account_id" ref="47910_general_product_sales"/>
<field name="expense_currency_exchange_account_id" ref="52900_general_product_cost"/>
+ <field name="default_pos_receivable_account_id" ref="account_receivable_pos" />
</record>
</odoo>