Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accounting_pdf_reports, AmbiguousColumn: column reference "account_id" is ambiguous #147

Open
akashr355 opened this issue Aug 27, 2024 · 0 comments

Comments

@akashr355
Copy link

akashr355 commented Aug 27, 2024

Menu: Accounting -> Reporting -> Partner Reports -> Partner Ledger, V17.0

File "/accounting_pdf_reports/report/report_partner_ledger.py", line 61, in _sum_partner
self.env.cr.execute(query, tuple(params))
File "/odoo/odoo/sql_db.py", line 332, in execute
res = self._obj.execute(query, params)
psycopg2.errors.AmbiguousColumn: column reference "account_id" is ambiguous
LINE 6: AND account_id IN (2, 3)

odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
AmbiguousColumn: column reference "account_id" is ambiguous
LINE 6: AND account_id IN (2, 3)
^

Template: accounting_pdf_reports.report_partnerledger
Path: /t/t/t/div/table/t/tbody/tr[1]/td[2]/strong
Node:

@akashr355 akashr355 changed the title AmbiguousColumn: column reference "account_id" is ambiguous accounting_pdf_reports, AmbiguousColumn: column reference "account_id" is ambiguous Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant