Monday, December 2, 2024
2 changes · saas-17.4
Resolved issues and error corrections
This fixes an error that occurred when users tried to export a consolidation report as a PDF. Users can now generate and share these reports without being blocked by a server error.
Original PR description
**Issue:** when trying to export a consolidation report as pdf, an odoo server error occurs. **Steps to reproduce:** 1. consolidation module 2. click on a consolidation 3. click on PDF to export an odoo server error occurs (see screenshot attached)  Ticket [link](https://www.odoo.com/odoo/project/967/tasks/4292961) opw-4292961
This fix prevents accounting-only fields from appearing when a company uses Invoicing without a chart of accounts. Users can now create partners in that setup without being blocked by irrelevant required accounting fields.
Original PR description
When having only Invoicing installed (`account_accountant`), the `Invoicing` tab on partner view is replaced by the `Accounting` tab, with `Accounting Entries` fields. This leads to issue when creating a partner with a company having no CoA installed, as those fields are required. With this commit we move the inherited partner view from `account_accountant` to `accountant`. Steps: - Install only `account_accountant` - Create a company with no CoA - Create a partner aand try to save -> Error: 'Invalid fields: ...' opw-4323694