Daily updates from Odoo
Navigate
Branch
Wednesday, October 27, 2021
9 changes
Enhancements to existing features
This update reorganizes several HR-related automated tests so shared setup work is done once instead of repeated for every test. It helps developers and maintainers get quicker feedback when validating HR, payroll, appraisal, referral, and Belgian payroll changes, without changing customer-facing features.
Original PR description
TaskID: 2669222
Resolved issues and error corrections
The Enterprise web module now points each replaced web asset to the matching Enterprise version. This keeps the asset configuration consistent after the migration, with no expected visible change for users.
Original PR description
Replace each web file with the corresponding one in web_enterprise
Employees can now be moved from full-time to part-time on the same start date as their current contract without triggering an incorrect validation error. The system will handle this transition by closing the existing full-time contract, reducing administrative blockers for Belgian payroll users.
Original PR description
When changing a contract to part time, a validation error occurs when the start date of the part time contract is the same as the running contract. This behaviour should be possible, and when this happens we will now close the cancel the full time contract. Task Id: 2502530
Timesheets now treat approved time off as leave instead of counting it as extra worked hours. This prevents inflated overtime figures and gives managers and employees a more accurate view of work time during absences.
Original PR description
Currently in master, while an employee is on leave, the timesheet app considers it as overtime and due to that, it shows extra worked hours. In actuality, the employee was on leave. So in this commit, When employees put leaves than the Timesheet consider it as leaves rather than overtime. TaskId: 263559
Code cleanup and technical improvements
This update standardizes internal naming for supplier and stock picking information across several Odoo apps. It helps keep the system easier to maintain and reduces the chance of confusion in future updates, with little expected impact on daily users.
Miscellaneous changes
Steps to reproduce: create a shift for an employee who isn't in the same timezone than the user Observed behavior: the default hours are 00:00 - 23:59 Expected behavior: the default hours should be based on the employee's calendar Task-2628876 Forward-Port-Of: odoo/enterprise#21890 Forward-Port-Of: odoo/enterprise#20783
Original PR description
Steps to reproduce: create a shift for an employee who isn't in the same timezone than the user Observed behavior: the default hours are 00:00 - 23:59 Expected behavior: the default hours should be based on the employee's calendar Task-2628876 Forward-Port-Of: odoo/enterprise#21890 Forward-Port-Of: odoo/enterprise#20783
This commit adds task dependencies data in the demo data. task-2647340 Related PR: odoo/odoo#77713 Forward-Port-Of: odoo/enterprise#21391
Original PR description
This commit adds task dependencies data in the demo data. task-2647340 Related PR: odoo/odoo#77713 Forward-Port-Of: odoo/enterprise#21391
Steps to reproduce: Let's assume a company with Poland accounting, PLN principal currency and multi-currency activated. - Create a customer invoice with currency USD for a product X - Product quantity 10, unit price 1, price included VAT must be 12.30$ - Set the currency of the bank journal to PLN - Create a Bank Statement BS, with line amount_currency 12.30 and Foreign Currency USD - Post the Bank Statementtement and click on Reconcile Issue - On customer/Vendor Matching tab :
Original PR description
Steps to reproduce: Let's assume a company with Poland accounting, PLN principal currency and multi-currency activated. - Create a customer invoice with currency USD for a product X - Product quantity 10, unit price 1, price included VAT must be 12.30$ - Set the currency of the bank journal to PLN - Create a Bank Statement BS, with line amount_currency 12.30 and Foreign Currency USD - Post the Bank Statementtement and click on Reconcile Issue - On customer/Vendor Matching tab : when hovering the tooltip next to the price, the amount line is displaid in zloty, it should be in dollar. opw-2635862 Forward-Port-Of: odoo/enterprise#21749
Steps: Field Services -> open calendar view day mode and create a task. While creating a task, select a timeframe. Current behavior: The default hours, configured on the employee calendar, are set. After fix: The hours indicated by the user are set. task - 2596974 Forward-Port-Of: odoo/enterprise#20013
Original PR description
Steps: Field Services -> open calendar view day mode and create a task. While creating a task, select a timeframe. Current behavior: The default hours, configured on the employee calendar, are set. After fix: The hours indicated by the user are set. task - 2596974 Forward-Port-Of: odoo/enterprise#20013