Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: OCA/account-closing
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b54b04accdccbfca0acda8e075e0af2c4c6182f8
Choose a base ref
..
head repository: OCA/account-closing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0e5cd59e05e0225fa54233acc566be483bebb9ee
Choose a head ref
Showing with 6 additions and 3 deletions.
  1. +6 −3 account_fiscal_year_closing/migrations/16.0.1.0.0/pre-migration.py
Original file line number Diff line number Diff line change
@@ -23,7 +23,8 @@ def update_account_type(env, table):
WHEN name = 'data_account_type_receivable' THEN 'asset_receivable'
WHEN name = 'data_account_type_liquidity' THEN 'asset_cash'
WHEN name = 'data_account_type_current_assets' THEN 'asset_current'
WHEN name = 'data_account_type_non_current_assets' THEN 'asset_non_current'
WHEN name = 'data_account_type_non_current_assets'
THEN 'asset_non_current'
WHEN name = 'data_account_type_fixed_assets' THEN 'asset_fixed'
WHEN name = 'data_account_type_expenses' THEN 'expense'
WHEN name = 'data_account_type_depreciation' THEN 'expense_depreciation'
@@ -32,8 +33,10 @@ def update_account_type(env, table):
WHEN name = 'data_account_type_payable' THEN 'liability_payable'
WHEN name = 'data_account_type_credit_card' THEN 'liability_credit_card'
WHEN name = 'data_account_type_prepayments' THEN 'asset_prepayments'
WHEN name = 'data_account_type_current_liabilities' THEN 'liability_current'
WHEN name = 'data_account_type_non_current_liabilities' THEN 'liability_non_current'
WHEN name = 'data_account_type_current_liabilities'
THEN 'liability_current'
WHEN name = 'data_account_type_non_current_liabilities'
THEN 'liability_non_current'
WHEN name = 'data_account_type_equity' THEN 'equity'
WHEN name = 'data_unaffected_earnings' THEN 'equity_unaffected'
WHEN name = 'data_account_type_revenue' THEN 'income'