콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

In our Odoo 17 environment we have several analytical accounts such as AC-1, AC-2, AC-3 etc.. and same time we have invoiced customer invoices, vendor bills against those analytical accounts. I want to create a custom report for each row as above analytical account and its balance for given date, month and year as column while duplicating standard exisisting profit and loss report. Therefore, I have used below formulas to get a particular analytical account balance, unfortunately it did not work. Here as my custom expressions are,

Label ​Computation engine ​  ​Expression

balance ​Odoo Domain                                 [('account_id.analytic_expression','=',AC-1)]

sum_if(balance, domain=[('analytic_line_ids.analytic_account_id', '=', 409)])

sum_if(balance, domain=[('analytic_distribution', 'like', '"409"')])

_report_custom_engine_my_sum_if(balance, domain=[('analytic_distribution', 'like', '"409"')])

_account_filter('*', 'analytic_distribution', 'like', '"409"')

those expresessions did not work. 

Can anyone know that how to get analytical account balance using correct expression to get the account balance ?


Thanks,

아바타
취소
관련 게시물 답글 화면 활동
1
5월 25
640
2
5월 25
615
0
4월 25
528
0
3월 25
549
1
3월 25
657