How can I create a dynamic P&L with Odoo spreadsheets?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Odoo standard reporting does not allow the export into Odoo spreadsheets but only to PDF/CSV file which is a static report.
In order to be able to create a dynamic P&L that will update the balances with the actual numbers each time a new entry is made it’s possible to insert data into Odoo spreadsheets and re-works the format and the formulas to achieve a P&L report.
To achieve this solution Odoo will require Accounting and Documents apps.
Steps to get the dynamic P&L:
1) Go into Accounting → Accounting → General Ledger
2) Switch into pivot view and select the desired period for your P&L through filters
3) Click on insert in spreadsheet
4) Delete all the accounts that are not related to P&L and only keep the relevant Revenue and Expense accounts
5) If you want to extend the spreadsheet to update the numbers for future dates add new columns with the month and drag and drop the formulas used by Odoo in all the cells.
6) Change the structure of the P&L by adding sections and sub-totals per each section by using formulas =sum and selecting all the relevant sections
7) Create a Gross Margin section and use a formula subtraction from Sales – Expenses
NB If an account is added after the creation of the spreadsheet Odoo will not add automatically the account in the spreadsheet. A manual action is required in order to make appear the new account in the sheet. To do that you will need the internal ID of the account that should be added in the spreadsheet.
Needed formulas to add a new account:
1) =PIVOT.HEADER("1","account_id","INTERNAL ID OF ACCOUNT") for displaying the accounting in the sheet
2) =PIVOT("1","balance","account_id","INTERNAL ID OF ACCOUNT","date:month","MONTH/YEAR") for displaying the balance of the account in a specific month (you can drag the formula to extend it automatically for the following months)
how did you get a pivot view from the general ledger ?
So in 14.0 and 15.0 there are two General Ledgers
Accounting → Accounting → General Ledger
Accounting → Reporting → General Ledger
The first one was removed in 16.0 but you can enter the journal items and group by account to obtain the same functionality
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Mar 25
|
10132 | ||
|
2
Nov 22
|
4586 | ||
|
6
Mar 24
|
13602 | ||
|
5
Mar 25
|
5799 | ||
|
1
Mar 25
|
2563 |