Thursday, April 16, 2020
7 changes · master
Enhancements to existing features
Website users can now use the Alt-H keyboard shortcut to open the app switcher from the frontend. This makes navigation faster and more consistent with the rest of Odoo.
Original PR description
Now that the keyboard navigation mixin is available in frontend, we can have the alt-H shortcut be available in frontend as well. task-2126915 linked to odoo/odoo#46953
Resolved issues and error corrections
This update prevents errors when Belgian payroll fleet CO2 fees are calculated for multiple vehicles or records at once. It improves reliability for payroll processing involving company cars without changing business rules.
Original PR description
Self can be multi so it bring error when we call _get_co2_fee
Code cleanup and technical improvements
This update modernizes internal code used by enterprise web, cohort, and mobile pivot views. It should make these areas easier to maintain without changing day-to-day user workflows.
Miscellaneous changes
In the next case: 1. Configure in sales the option to auto invoice the orders from the website 2. Configure a payment acquirer 3. Configure the Mexican data in the product to allow generate the CFDI correctly 4. Make a sale from the website and pay it In this case, without this fix returns the error that the invoice was not signed and cannot be paid, this for the next 2 reasons: 1. In some cases, the payment is not added in the transaction, this is generated after and assigned after of
Original PR description
In the next case: 1. Configure in sales the option to auto invoice the orders from the website 2. Configure a payment acquirer 3. Configure the Mexican data in the product to allow generate the CFDI…
In the next case: 1. Configure in sales the option to auto invoice the orders from the website 2. Configure a payment acquirer 3. Configure the Mexican data in the product to allow generate the CFDI correctly 4. Make a sale from the website and pay it In this case, without this fix returns the error that the invoice was not signed and cannot be paid, this for the next 2 reasons: 1. In some cases, the payment is not added in the transaction, this is generated after and assigned after of invoice generation, then, the `if` that disable de after commit is not considered and the invoice is not signed because is not processed any commit, now only check that the invoice has a transaction-related. 2. Now the compute fields are not calculated all times, then when the `l10n_mx_edi_is_required` method check that the invoices has UUID, this is empty because was not recalculated when the ``l10n_mx_edi_pac_status`` was updated. For this was added in the api.depends and the process now is correct. Forward-Port-Of: odoo/enterprise#9896
Opening the Calendar / Online Appointments menu no longer triggers an unexpected user warning. This lets users view and organize appointment-related calendar events normally, including grouping events by online appointment.
Original PR description
Click on menu Calendar/Online Appointments leads to a user warning Task 2238100
Accounting report tests have been reorganized into dedicated test classes and files for each report type. This makes the test suite easier to maintain and helps reduce the risk of issues when future reporting changes are made.
### Issue - Install Approvals - Create an approval with user 1 (no access rights) - Approve it with user 2 - Edit it with user 1 You can edit an approved approval ### Cause It seens that it's an oversight. ### Solution Add readonly attributes on the fields in order to disallow the edit after submitting an approval **OPW-2221901** Forward-Port-Of: odoo/enterprise#9620 Forward-Port-Of: odoo/enterprise#9544
Original PR description
### Issue - Install Approvals - Create an approval with user 1 (no access rights) - Approve it with user 2 - Edit it with user 1 You can edit an approved approval ### Cause It seens that it's an oversight. ### Solution Add readonly attributes on the fields in order to disallow the edit after submitting an approval **OPW-2221901** Forward-Port-Of: odoo/enterprise#9620 Forward-Port-Of: odoo/enterprise#9544