Daily updates from Odoo
Sunday, December 27, 2015
8 changes · master
Resolved issues and error corrections
This fixes problems in the accounting refund process that could cause errors when handling invoice refunds. The change helps users complete refund workflows more reliably and reduces interruptions caused by incorrect text or formatting handling.
This fix restores the intended clear error message when a related field is configured with an incompatible type. Instead of showing a technical crash during module installation, users receive a more understandable explanation of what needs to be corrected.
Original PR description
With commit https://github.com/odoo/odoo/commit/0fd773a486fbc1aeef7f00ec5eab3eaf0e4c6a9d, it will raise traceback instead of Warning because of missing UserError import. Steps to produce: Take any related field, say for example country_id field of event.event, set related='address_id.name' or any other field which is not Many2one, install event module Current behaviour: traceback i.e. global name UserError is not defined Expected: IT should give User friendlily message that Type of related field is inconsistent.
Searching accounting move lines for records without an invoice now returns the correct matches instead of an empty result. This improves reliability for accounting workflows and reporting that depend on identifying uninvoiced entries.
Original PR description
This PR fixes bug #4857 in the **master** branch:
```
self.pool['account.move.line'].search(cr, uid, [('invoice', '=', False)])
```
now returns the good result, instead of always returning []. Please refer to the bug report for a detailed scenario of the bug.
For performance and code-simplification, I decided to make the function field 'invoice' store=True. As it implies a "-u account", I propose this PR only on the master branch.
This PR also includes a code clean-up in the _invoice() method that compute the field 'invoice'.The website publish and unpublish button now displays a loading indicator while the change is being applied. This helps users understand that their action is in progress and reduces uncertainty when publishing website content.
Original PR description
Task: https://www.odoo.com/web#id=11468&view_type=form&model=project.task&action=333&active_id=131 Pad: https://pad.odoo.com/p/r.1psE5QWjSdwNPXx5
This fix ensures Kanban boards display every expected column for selection-based groupings, even when no records currently belong in some columns. It helps users keep a consistent board layout and avoid confusion caused by missing empty stages or categories.
Original PR description
Fix group_by_full for selection fields to show all columns in a Kanban view even if they are empty.
The Notes app now avoids showing duplicate “This week” stages for administrators. It also adds clearer stages for shared notes and demo-user notes, making note organization easier to understand.
Original PR description
Task: https://www.odoo.com/web#id=10795&view_type=form&model=project.task&action=327 Pad: https://pad.odoo.com/p/openerp-project.task-OAKV36MWN5 Description: [FIX] note: Fixing issue of Two 'This weeks' stagies for Administrator user. [ADD] note: 1- 'Shared' stage for user to identify notes which are not created by him/her but added as follower. 2- Stage named 'New' for Demo user.
The claim reporting view now shows the correct claim stages when new stages are created and assigned. This prevents confusion from displaying unrelated CRM case stages, helping teams track claim status accurately.
Original PR description
Fix Issue : #2216 It Displays stages of crm_case_stage model instead of crm_claim_stage. Thanks rsi-odoo
Pricelist rules now correctly consider how specific a product category is when choosing the applicable price. This helps businesses avoid incorrect pricing when products belong to nested categories, ensuring more accurate sales prices.
Original PR description
Fix rewrote for master, see [1] for details. [1] https://bugs.launchpad.net/ocb-addons/+bug/1169074