Daily updates from Odoo
Monday, August 12, 2019
14 changes
Enhancements to existing features
The web module’s test tools now support simulating multiple files being dragged and dropped at once. This helps developers better validate file upload workflows, reducing the risk of issues in features that allow users to upload several files together.
Original PR description
This commit adds a function to mock multi-file drops. Task: #2002553
This change reorganizes how Gantt view rules are checked so they are managed in the right area of the system. It also documents a Gantt view option, making future maintenance and configuration clearer for teams working with planning views.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Colombian localization now includes a UVT value field on company records. This supports future or related tax calculations that depend on Colombia's official tax value unit, helping companies maintain more accurate local tax settings.
Original PR description
Add the UVT field in the res_company table, which will be used to compute taxes amounts. From task 20051 @qdp-odoo
This update improves the appearance of user preference controls by keeping image action buttons aligned and ensuring profile pictures display as clean circles. It provides a more polished and consistent experience in the web interface, especially when users upload rectangular avatar images.
Original PR description
Task Link: https://www.odoo.com/web#id=2042276&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link: https://pad.odoo.com/p/r.a91623a4f361ee1ad7681b73a0106cd8 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change stops recording changing line numbers in exported code translation files, since those numbers were only informational and not used by the system. It reduces unnecessary translation file differences when source code changes, making translation maintenance easier and reviews cleaner.
Original PR description
The line number was only indicative and was not used by the system. When the translations source were updated, a big part of the diff was only about the line numbers. Ignore the given res_id value and export the line at 0 When reading the po file, the res_id from the file is still read and stored in database but should be ignored
This update completes missing payroll demo records for Laurie Poiret, including manager, user, partner, bank account, and accounting journal details. It makes demo payroll scenarios more complete and reliable for testing, training, and demonstrations.
Original PR description
Add a manager for Laurie Poiret Add a user for Laurie Poiret Link a partner to Laurie Poiret Add bank account for the laurie poiret private address Add journal for the payslip computation id=2031854
The HR Referral app now lets administrators restart the onboarding experience when using debug mode, making it easier to review or test the introductory flow. Referral list views were also adjusted so images stay within a consistent height, improving readability and visual consistency.
Original PR description
SPECS 1/ Add a button to restart the onboarding in debug mode 2/ Limit image height to 70px in list views (friends & levels)
Demo partner records are updated so contacts that are not companies are clearly identified as individuals. This keeps sample data aligned with the new default behavior where newly created partners are treated as companies unless specified otherwise.
Original PR description
On res_partner, default type for is_company is now True, so in data, when we create a new partner, we must indiquate that it isn't a company. id=2025362
Resolved issues and error corrections
This fixes an issue where the invoice action from a partner record could show no invoices because the filter was incorrect. Business users can now reliably access the related invoices they expect to see.
Original PR description
The domain could not return any invoice Task 2052468 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Employees can now reset their own payroll-related expense reports to draft without needing expense approver permissions. This removes an unnecessary blocker while keeping the change limited to the payroll expenses workflow.
Original PR description
The field refund_in_payslip is only writable for hr_expense_team_approver users, using sudo will enable a simple internal user to reset his expense report to draft
The form view now hides the Action dropdown when there are no available buttons to show. This prevents users from seeing an empty menu, making the interface cleaner and less confusing.
Original PR description
Add 'o_invisible_modifier' class to 'o_statusbar_buttons' when there is no visible dropdown item button. Task-ID : 2029847
The accounting reports module now passes the required information when building the trial balance hierarchy view. This prevents an error when users generate the trial balance in hierarchy mode, helping finance teams access the report reliably.
Original PR description
The method _create_hierarchy receives 2 parameters (lines & options), and the second parameter is missing. To get this error try to generate the trial balance on hierarchy view. Fixes https://github.com/odoo/odoo/issues/35428
The mobile hamburger menu now shows user profile pictures in a consistent circular shape, even when the original image is rectangular. This improves the visual polish and consistency of the user preferences area on mobile devices.
Original PR description
Task Link: https://www.odoo.com/web#id=2042276&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link: https://pad.odoo.com/p/r.a91623a4f361ee1ad7681b73a0106cd8
Marketing automation users can now change an activity type while editing without triggering an error. This keeps campaign setup smoother and prevents interruptions caused by missing activity information in edit mode.
Original PR description
**Task:** https://www.odoo.com/web#id=2039048&action=327&model=project.task&view_type=form&menu_id=4720 **Pad:** https://pad.odoo.com/p/r.f4d93435a1d4656e2d34bd781bd1be1e **Description:** The id of the activity wasn't available in the edit mode. hence the traceback.