I'm troubleshooting an issue in Odoo's Accounting module and need to track the exact SQL queries executed when creating, modifying, or posting invoices, journal entries, and payments.
- How can I enable logging to capture these queries?
- Are there specific settings or modules in Odoo that allow SQL debugging for accounting-related transactions?
- Can PostgreSQL logs or Odoo's built-in logging be configured to filter only queries related to the account.move and account.move.line tables?
I'm using Odoo 16.0 on Odoo.sh.
Any advice on the best approach to capture and analyze these SQL queries would be appreciated!
very usefull @ray Carnes