Monday, May 13, 2024
4 changes
1 change
Resolved issues and error corrections
This fix ensures that new payments created through online account synchronization use the correct company together with the selected journal. It prevents payment records from being created with missing or mismatched company information, reducing accounting inconsistencies.
Original PR description
When creating a new payment, we need to specify the company along with the journal. Even if the company is normally computed, it isn't the case here because of protection of fields with the `_inherits` feature, along with a de-normalized field.
3 changes
Resolved issues and error corrections
This update improves the WhatsApp template variables page by hiding unnecessary fields that were cluttering the interface. Specifically, the model, line type, and name fields are now hidden from view, making the Variables page cleaner and easier to use while maintaining all the important information users need.
Original PR description
A separate tree view is defined in `whatsapp_template_view_form` to display the `variable_ids` field on the Variables page. This tree view contains fields that are not needed to display, such as `model`, `line_type`, and `name`. These fields are made invisible using `column_invisible="1"`. Task-3902030
This fix resolves a test failure in the Ecuador localization module for website sales. When the system creates invoices, it now properly passes required arguments through the method chain, ensuring tests pass and the invoice finalization process works correctly.
Original PR description
`test_invoice_is_final` enforces that `_create_invoices` is called with the final argument. The issue is that when overriding the method in l10n_ec_website_sale, we call super() without respecifying the arguments, which makes the test fail. runbot-56914 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix resolves test failures in the Event module when running without demo data. The issue occurred because the system couldn't properly identify email authors for event registrations when the company lacked an email address. The fix ensures companies have email addresses configured during testing, matching the behavior of demo mode.