diff options
| author | Pierre Masereel <pim@odoo.com> | 2019-05-20 12:45:21 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2019-07-23 07:41:20 +0000 |
| commit | d786cb13f65cd323f59ff7ee9f62c3861c810955 (patch) | |
| tree | d2278b7c435a22bb18eb0dc4131546b8d7a3b122 /addons/l10n_generic_coa | |
| parent | 4968eb7c831cd227869273dc22de20578c830a93 (diff) | |
[IMP] account: default cash difference account
When a cash journal is used in POS, we need to have accounts to post the
difference between what it's supposed to be in the cash journal and what
we really have in the cashbox.
To help the user to configure his cash journal, we've added default
accounts for cash difference in the localisation. Those default values
are stored on the company and are use for the creation of cash journals
if no values are provided.
TASK-ID: 1934784
Diffstat (limited to 'addons/l10n_generic_coa')
| -rw-r--r-- | addons/l10n_generic_coa/data/account.account.template.csv | 2 | ||||
| -rw-r--r-- | addons/l10n_generic_coa/data/l10n_generic_coa_chart_post_data.xml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/addons/l10n_generic_coa/data/account.account.template.csv b/addons/l10n_generic_coa/data/account.account.template.csv index 1fe1e23b8ca..2c5c82a6cc9 100644 --- a/addons/l10n_generic_coa/data/account.account.template.csv +++ b/addons/l10n_generic_coa/data/account.account.template.csv @@ -16,8 +16,10 @@ "cas","Non-current Liabilities","1120","account.data_account_type_non_current_liabilities","l10n_generic_coa.configurable_chart_template","","False" "conf_a_sale","Product Sales","200","account.data_account_type_revenue","l10n_generic_coa.configurable_chart_template","account.account_tag_operating","False" "exchange_fx_income","Foreign Exchange Gain","2010","account.data_account_type_revenue","l10n_generic_coa.configurable_chart_template","account.account_tag_financing","False" +"cash_diff_income","Cash Difference Gain","2020","account.data_account_type_revenue","l10n_generic_coa.configurable_chart_template","account.account_tag_investing","False" "conf_cog","Cost of Goods Sold","210","account.data_account_type_direct_costs","l10n_generic_coa.configurable_chart_template","account.account_tag_operating","False" "exchange_fx_expense","Foreign Exchange Loss","2110","account.data_account_type_expenses","l10n_generic_coa.configurable_chart_template","account.account_tag_financing","False" +"cash_diff_expense","Cash Difference Loss","2120","account.data_account_type_expenses","l10n_generic_coa.configurable_chart_template","account.account_tag_investing","False" "a_salary_expense","Salary Expenses","2121","account.data_account_type_expenses","l10n_generic_coa.configurable_chart_template","account.account_tag_operating","False" "a_expense_invest","Purchase of Equipments","2122","account.data_account_type_expenses","l10n_generic_coa.configurable_chart_template","account.account_tag_investing","False" "a_expense_finance","Bank Fees","2123","account.data_account_type_expenses","l10n_generic_coa.configurable_chart_template","account.account_tag_financing","False" diff --git a/addons/l10n_generic_coa/data/l10n_generic_coa_chart_post_data.xml b/addons/l10n_generic_coa/data/l10n_generic_coa_chart_post_data.xml index 83696d77f65..872c609690e 100644 --- a/addons/l10n_generic_coa/data/l10n_generic_coa_chart_post_data.xml +++ b/addons/l10n_generic_coa/data/l10n_generic_coa_chart_post_data.xml @@ -12,5 +12,7 @@ <field name="property_stock_valuation_account_id" ref="conf_cas"/> <field name="income_currency_exchange_account_id" ref="exchange_fx_income"/> <field name="expense_currency_exchange_account_id" ref="exchange_fx_expense"/> + <field name="default_cash_difference_income_account_id" ref="cash_diff_income"/> + <field name="default_cash_difference_expense_account_id" ref="cash_diff_expense"/> </record> </odoo> |
