Skip to Content
Menu
This question has been flagged
2 Replies
6040 Views

I'm trying to customize my balance sheet and P&L


I know that this is referring to my Expenses journal, but how can I verify this?

Where does it show that 15 = Expenses Journal?

[('account_id.user_type_id', '=', 15)]
Avatar
Discard

"Question about domain" is not a question - I have edited the title on your post - please consider posting a question that explains what you want so readers don't have to open your post to understand what you ask.

Best Answer

A better answer would be to show you how you can find this information yourself. The account types are in the database in table account_account_type, but you cannot find that list in a menu, so you can not simply export them with their ID's. But you CAN export the Chart of Accounts and make sure  Account Type and Account Type ID are included in the fields. 

  1. Go to your chart of accounts in list view 
  2. select all rows
  3. click on the gear icon > select export 
  4. include Account Type and Account Type ID
  5. Export to Excel
  6. Remove Duplicates in Excel

N.B. A much more user friendly way is to use Account Tags instead of the ID's. You's still need the tag id's, but fortunately the do come with a menu so you can export that with the ID's or look for the ID in the URL of the tag.

Avatar
Discard
Author

Love it thanks!

Best Answer

These are the IDs for Odoo 13

ID Account Type Type
1 Receivable Receivable
2 Payable Payable
3 Bank and Cash Liquidity
4 Credit Card Liquidity
5 Current Assets Regular
6 Non-current Assets Regular
7 Prepayments Regular
8 Fixed Assets Regular
9 Current Liabilities Regular
10 Non-current Liabilities Regular
11 Equity Regular
12 Current Year Earnings Regular
13 Income Regular
14 Other Income Regular
15 Expenses Regular
16 Depreciation Regular
17 Cost of Revenue Regular
18 Off-Balance Sheet Regular

EDIT: This list is from account.account.type and I think it's changed slightly between Odoo versions.
Avatar
Discard

Consider "teaching how to fish"? How did you get this information?

Fair point, Ray. I created a new menu option for Model account.account.type and used that to download data to Excel.