Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2801 Widoki

Hi,


I am new to Odoo. I am trying to set up a financial report based on account groups, but I cant figure out how to refer to several account groups in the domain formula.


It works when I only have one: [('account_id.group_id', '=', 4)]


How can I get the line to show the sum of account group 4 and 5?


I am currenty using V14


Awatar
Odrzuć
Autor

Thank you Savya for your reply. This worked.

I tried using the same domain formula to include three account groups:

[('account_id.group_id', 'in', [23, 30, 31])]

But it only includes group id 23 and 30 in the report. Do you have a solution on how I can get the line to show the sum of account group 23, 30 and 31?

Najlepsza odpowiedź

Hi,

Try modifying the domain formula to include account groups 4 and 5 like this: 

[('account_id.group_id', 'in', [4, 5])]

Note: It is recommended to replace the account group IDs (4 and 5 in this example) with the actual IDs of the account groups you want to include in your report.

Thanks

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sty 18
4184
0
lip 25
69
5
lip 25
2703
1
lip 25
221
0
lip 25
137