Daily updates from Odoo
Wednesday, January 30, 2019
14 changes · master
Enhancements to existing features
Stock quantity views no longer force a fixed grouping on users. The grouping is still suggested by default, but users can now change it to match how they want to review inventory information.
Original PR description
Task: 1910855 Task:https://www.odoo.com/web#id=1910855&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad:https://pad.odoo.com/p/r.5328c068b66fdd16a9f4d89c8bcdd8a8 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update renames an internal website forum method to mark it as private, clarifying that it is meant for use inside the system rather than as a public extension point. The change helps maintain cleaner code boundaries with little to no direct impact on everyday users.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: Cc: @odony -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Several application and category names were renamed to make access rights easier to understand. This helps users and administrators recognize permissions more clearly when configuring roles, without changing the underlying features.
Original PR description
Rename - 1)Accounting & Finance -> Accounting 2)Document Signature -> Sign 3)After-Sales -> Helpdesk 4)Survay -> Survays 5)Purchases -> Purchase 6)Live Support -> Live Chat 7)Appraisals -> Appraisal 8)Attendance -> Attendances This commit is related to task# 1884968. 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 Point of Sale header now uses the updated white brand logo and adjusted spacing. This keeps the POS interface visually aligned with Odoo branding and improves the header presentation for users.
Original PR description
Task: https://www.odoo.com/web?#id=1933826&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.a5e81373fcc88d775e43f216ad24d572 - updated logo - updated margin
Empty product, purchase, and sales list views now show clearer help text, making it easier for users to understand what to do next. The Sales Team invoicing target tooltip wording was also improved for better clarity.
Original PR description
Improved help messages and wordings in empty list views and the tooltip of invoicing target in Sales Team. Pad: https://pad.odoo.com/p/r.42297f1736468718ae052c0dd19d62de Task: https://www.odoo.com/web?#id=1920451&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Demo products that are consumable or storable now include a small default weight, making sample inventory and sales data more realistic. The demo company address has also been corrected by separating the ZIP code and California state, improving address quality in sample records.
Original PR description
Description of the issue/feature this PR addresses: This PR is related to task id : **1915274** Current behavior before PR: - For the products which are **Consumable / Storable**, weight was 0.00kg on demo data - Company's address was not valid as the state code and zip was there in zip field i.e **CA 94134** Desired behavior after PR is merged: - weight will be 0.01 for the **Consumable / Storable** - Address will be valid i.e **zip will be 94134 and state will be California** -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Employees following expense reports will now automatically receive notifications when an expense is marked as paid. This makes it easier for users to stay informed about one of the most important expense status updates without changing their notification settings.
Original PR description
Task : https://www.odoo.com/web#id=1914987&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.f411aceb3f86d86117fff1f20300ad84 Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change lets companies mark calendar-wide bank holidays and automatically create matching employee time off entries for staff on that calendar. It also keeps future holiday entries aligned when employees are created or moved to a different working calendar, reducing manual HR administration.
Original PR description
1/ Add a boolean 'generate_hr_leaves' field on the resource.calendar.leaves. Add a button under global leaves tab. When clicking on the button, generate hr.leaves for all the employees under this calendar. 2/ If the global leave is set to generate hr.leaves, then on the create method for an employee, create the hr.leave if the global leave is planned in the future. 3/ If the calendar is changed on an employee (on the write method), unlink the hr.leaves (into the future) and regenerate them for the new calendar. 4/ rename "Global Leaves" into "Bank Holidays" in resource.calendar 5/ add a field date (date_from and date_to are computed from this new field), because a Bank holidays must be one day id=48672 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Emails sent from a purchase order now use the person currently sending the message as the sender, rather than the employee who originally created the purchase order. This makes supplier communications clearer and helps recipients know who is handling the request.
Original PR description
When an email was sent from a PO, the sender was by default the user who created the PO. The sender is now replaced by the current user. TaskID: 1934477
Required relationship fields will now default to blocking deletion instead of trying to leave an empty value, which avoids inconsistent data rules. If a required relationship is explicitly configured to be cleared on deletion, the system will reject that setup early so issues are caught during setup rather than later in use.
Original PR description
A many2one field that is required means that its column cannot contain null values, however the default ondelete policy for all m2o fields is `set null`, which contradicts `required=True`. This patch will, by default, apply the `restrict` policy to required m2o fields unless the ondelete attribute is explicitly specified. However, if the policy specified is `set null`, a ValueError will be raised whenever the registry registers the field as this makes no sense. The default ondelete policy remains unchanged for non-required m2o fields (set null)
The dashboard app has been adjusted to work better on mobile devices with a simpler single-column layout and less clutter. Pivot tables also use tighter spacing, making dashboard information easier to read and navigate on smaller screens.
Original PR description
Improve mobile UI for dashboard app: - Improve pivot integration - Hide change layout button - Force one column view layout Task ID: 1904747
Several application and category names were simplified so users can more easily understand which access rights apply to which apps. This makes labels such as Documents, Accounting, and Online Appointments clearer and more consistent across settings.
Original PR description
Module Category names - Documents management -> Documents. Accounting & Finance -> Accounting. Appointments -> Online Appointments This commit is related to task#1884968.
The empty list message for subscription products has been improved to be clearer and more helpful. This makes it easier for users to understand what to do next when no records are available, reducing confusion during setup or daily use.
Original PR description
Task: https://www.odoo.com/web?#id=1920451&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.42297f1736468718ae052c0dd19d62de
The subscription list view now starts with a suggested grouping instead of locking users into it. This lets teams adjust how they organize subscription records to better match their day-to-day workflow.
Original PR description
Task: 1910855 Task:https://www.odoo.com/web#id=1910855&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad:https://pad.odoo.com/p/r.5328c068b66fdd16a9f4d89c8bcdd8a8