Tuesday, March 14, 2017
8 changes
Resolved issues and error corrections
This update prevents an error that could occur after upgrading from Odoo v7 to v8 when the system receives an empty database entry. It improves stability during upgrade-related database handling and reduces the chance of interruptions for users.
Original PR description
Problem: Calling http.db_filter([None]) with [None] as db list throw Error. More info in #2643
This change fixes a purchase workflow issue by correcting the delivery operation type used for dropshipping. It helps ensure purchase orders route goods through the intended dropship process instead of the wrong outgoing delivery flow.
This change fixes an error that could appear when loading currency formatting information, including during login in affected builds. It ensures the currency format is prepared before use so users can access the system without encountering the crash.
Original PR description
Description of the issue/feature this PR addresses:
1. Connect to [runbot build#203365](http://runbot.odoo.com/runbot/build/203365)
2. Login with admin/admin
Current behavior before PR:
- Show error
```python
File "/home/odoo/runbot/extra/runbot/static/build/203365-saas-14-7d7cc9/odoo/api.py", line 664, in call_kw_model
result = method(recs, *args, **kwargs)
File "/home/odoo/runbot/extra/runbot/static/build/203365-saas-14-7d7cc9/odoo/addons/base/res/res_currency.py", line 180, in get_format_currencies_js_function
function = "if (arguments[1] === false || arguments[1] === undefined) {" + company_currency_format + " }" + function
UnboundLocalError: local variable 'company_currency_format' referenced before assignment
```
See video for more details:
- [](http://www.youtube.com/watch?v=NCJ0VzAm2kY "Video Title")
Desired behavior after PR is merged:
- Fix the variable used before assigned.This update adds the missing form setup needed to assign a sales team in website CRM scoring. It helps prevent invalid field errors and makes lead scoring configuration work more reliably for users.
When a wizard action opens a web link, the wizard now closes as expected instead of remaining on screen or causing the current view to reload unnecessarily. This improves the user flow for actions that redirect users to external or new-window content.
Original PR description
Task: https://www.odoo.com/web?#id=21062&view_type=form&model=project.task&action=327 Pad: https://pad.odoo.com/p/r.MEzWuDJ0aazvLCVk
This update prevents an error when users click the Overdue button in customer follow-up reports. It also hides the "Do it Later" option when invoices are overdue, helping users focus on the relevant follow-up action.
Original PR description
Task: https://www.odoo.com/web?#id=677114&view_type=form&model=project.issue&action=963&active_id=681&menu_id=4720
The postal invoice sending workflow was corrected to prevent an error when users choose to send invoices by post. This keeps the document mailing process working reliably without changing the user-facing process.
Original PR description
Task: https://www.odoo.com/web?#id=681170&view_type=form&model=project.issue&action=963&active_id=681&menu_id=4720
This fix removes an unwanted thin border around images in form views so they display more consistently with the previous Odoo version. It improves the visual polish of records that include images without changing business workflows.
Original PR description
…nt image having border of 1px and it looks weired and hence make it same like old version of odoo Issue: 646213