Wednesday, April 10, 2024
2 changes · saas-17.1
Resolved issues and error corrections
In commit 9b6e1b992923872d45e5edc1857966932f33b9fa Russian translations were bootstrapped using an automated tool. This commit fixes an instance of `and` keyword wrongly translated to `и`, that caused errors during the automatic validation of paid invoices in Russian language: ``` File "addons/sale/models/payment_transaction.py", line 116, in _reconcile_after_done confirmed_orders._send_order_confirmation_mail() ```
Original PR description
In commit 9b6e1b992923872d45e5edc1857966932f33b9fa Russian translations were bootstrapped using an automated tool. This commit fixes an instance of `and` keyword wrongly translated to `и`, that caused errors during the automatic validation of paid invoices in Russian language: ``` File "addons/sale/models/payment_transaction.py", line 116, in _reconcile_after_done confirmed_orders._send_order_confirmation_mail() ```
After copying previous shifts and then using automatic planning, the highlighted results will now remain visible instead of disappearing. This helps planners clearly see which shifts were created or changed by their latest action, reducing confusion during scheduling.
Original PR description
Before this commit, when the user clicks on `Copy Previous` in the gantt view of `planning.slot`, a filter will be added to highlight the shifts added by the action executed. However, if the user clicks on `Auto Plan` to plan the open shifts automatically, the filter is disappeared and no shifts are highlighted as before. The reason is because we toggle the filter without checking if that filter is already there in the search view. This commit checks if the filter is already there before toggle it. If yes, then we notify the model instead of toggling the facet in the search view. runbot-55489 runbot-58209 runbot-56675 runbot-58149