Daily updates from Odoo
Tuesday, August 23, 2016
14 changes · master
Security fixes and vulnerability patches
New users will no longer receive administrator-level Settings access by default, reducing the risk of accidental over-permissioning. Administrators also get an easier way to review and adjust the default access rights applied to newly created users.
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
Enhancements to existing features
The budgeting module now uses direct application logic instead of an older workflow mechanism to manage budget states and actions. This makes the feature easier to maintain and reduces reliance on legacy infrastructure without changing the core budgeting process for users.
Original PR description
Remove workflows from the account_budget module and replace it by python methods. odoo task: https://www.odoo.com/web#id=27199&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720
This update simplifies how accounting documents move through their lifecycle by replacing older workflow mechanics with direct actions in invoices, payments, refunds, and bank reconciliation. It helps make accounting behavior more reliable and easier to maintain, while also updating related tests and demo data to match the new process.
Original PR description
Task: https://www.odoo.com/web?#id=27198&view_type=form&model=project.task&menu_id=5200
Odoo now better detects and processes bounced emails, helping teams identify messages that did not reach recipients. CRM opportunities gain visibility into bounce activity, while underlying mail handling was cleaned up to support more reliable future email processing.
Messaging recipient suggestions no longer show the placeholder text "(no email address)" when a suggested contact has no email. This reduces confusion because users are already prompted to provide an email address before sending when it is required.
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 remove the '(no email address)' when no address email. Because when you send the message, a popup appears with the email field required.
Resolved issues and error corrections
Duplicating a marketing campaign no longer triggers an error. This helps users copy existing campaigns reliably, saving time and avoiding interruptions in campaign setup.
Original PR description
Description of the issue/feature this PR addresses: <strong>Issue: </strong> https://www.odoo.com/web#id=685143&view_type=form&model=project.issue&action=963&active_id=681&menu_id=4720 Current behavior before PR: marketing campaign duplicate gives traceback. Desired behavior after PR is merged: Solved traceback. ## I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr …k sloved.
Features or functions removed from Odoo
Odoo removes an old product manager field that was not shown to users and had limited use. Tasks created from tracked service procurements will now be assigned to the current user, aligning them with standard Odoo behavior.
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 product_manager field is existing since v6.0 and never displayed in any views. It is used in sale_timesheet module. A task created from a procurement_order (if it is a service and we track the service) is assigned to the product manager. It doesn't make a lot of sense as the value should be set directly in the database. We will remove the field and assign the current user to the task instead, which is the common behavior in Odoo.
Code cleanup and technical improvements
The marketing campaign module was simplified by removing its old workflow mechanism as part of a broader rework. This reduces outdated behavior and helps prepare the module for future changes, with a small fix included to avoid a migration issue.
Original PR description
odoo task : https://www.odoo.com/web#id=27871&view_type=form&model=project.task&action=333&active_id=131&menu_id=
The repair process has been cleaned up by removing an older internal workflow mechanism. This makes the repair module easier to maintain while keeping the business process clearer and more reliable for future updates.
Original PR description
odoo task : https://www.odoo.com/web#id=27205&view_type=form&model=project.task&action=333&active_id=248&menu_id=5195
The payroll module no longer relies on its older workflow mechanism and now handles payslip status changes directly in code. This should make payroll behavior easier to maintain and more consistent, with limited visible change for everyday users.
Original PR description
remove workflow from hr_payroll odoo task : https://www.odoo.com/web#id=27201&view_type=form&model=project.task&action=333&active_id=248&menu_id=5195
The time off module now handles leave request status changes directly in the application instead of relying on an older workflow mechanism. This makes approvals and follower notifications more reliable, and also fixes a related calendar issue that could break tests.
Original PR description
- Fix a bad call in calendar (made a test fail in hr_holidays) - Remove workflows from the hr_holiday module and replace it by python methods. odoo task : https://www.odoo.com/web#id=27200&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720 pad : https://pad.odoo.com/p/openerp-project.task-5OOMFN4R7D
The accounting app no longer relies on the old workflow mechanism for invoice and payment status changes, using direct application logic instead. This should make invoicing behavior easier to maintain and more reliable, including correctly marking invoices as paid.
Original PR description
Workflow removed, replaced by python methods. odoo task: https://www.odoo.com/web#id=27198&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720
The timesheet sheet approval process was updated to use direct application logic instead of the older workflow mechanism. This keeps the same business process while making it easier to maintain and less dependent on legacy infrastructure.
Original PR description
repalce workflow by python code odoo task : https://www.odoo.com/web#id=27202&view_type=form&model=project.task&action=333&active_id=248&menu_id=4720
This change removes older internal workflow machinery from Point of Sale orders and sessions while keeping the business process checks in the actions themselves. It should make the Point of Sale code easier to maintain without changing the day-to-day cashier or manager experience.
Original PR description
odoo task : https://www.odoo.com/web#id=27207&view_type=form&model=project.task&action=333&active_id=248&menu_id=5195