Daily updates from Odoo
Navigate
Branch
Thursday, April 16, 2020
10 changes
Enhancements to existing features
Helpdesk now shows timesheet warnings only when timesheets are actually affected. It also avoids moving invoiced timesheets when projects or tasks are reassigned, helping prevent billing-related mistakes.
Original PR description
Show warning message about timesheet only if there are timesheet impacted. ANd move timesheet of project or task only if they aren't invoiced. Task ID 2169290
Payroll users can now recompute payslips only when they are still in draft or waiting status. This helps prevent recalculations on completed or custom paid payslip states, reducing the risk of changing finalized payroll records.
Original PR description
+ Change condition to recompute, because some modules add state
for payslip ('paid' for example), so we can recompute a paid
payslip. Now, we can recompute only if state is draft or waiting.
Task ID 2222782Users now see a confirmation prompt before sending their first invoice or follow-up report by post. This helps prevent accidental letters from being mailed to customers, reducing avoidable customer communication issues.
Original PR description
Show a confirmation dialog when a user is sending the very first letter. ========= Purpose ========= It happens from time to time that a letter gets sent by accident to a final customer. This situation is always a bit problematic and is usually only uncovered when it is too late. Having an additional warning when sending the very first letter should help avoid that kind of issue. ================ Specifications ================ Display the following warning when the user tries to send a snailmail letter for the first time (from an invoice or from a follow-up report): 'You are about to send this invoice/follow-up report by post. Are you sure you want to continue?' Confirm/Cancel TaskID: 2215091
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
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
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.
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.
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
### 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