Daily updates from Odoo
Tuesday, February 5, 2019
3 changes
Enhancements to existing features
Odoo now uses a newer library for handling SOAP-based service connections, replacing the older one previously used. This helps keep the platform's dependencies more current and maintainable without changing everyday user workflows.
Original PR description
Task: https://www.odoo.com/web?#id=41696&model=project.task&view_type=form&menu_id=4720 PAD: https://pad.odoo.com/p/r.9ed49d234bde1f09777c589174e235b5 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Calendar events now display more reliably when no related contact is assigned. This prevents confusing or broken-looking event entries and makes the calendar easier to read for users.
Original PR description
Task: https://www.odoo.com/web?#id=1906798&action=333&active_id=133&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.375003d1858f995bacf820635f86d80a -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change lets developers place new options before a specific existing option in configurable selection lists, rather than only adding them at the end or replacing the full list. It can make custom business workflows easier to adapt while keeping existing behavior intact.
Original PR description
Description of the issue/feature this PR addresses:
This PR adds the possibility to insert selection items in a Selection field before a targeted one.
Current behavior before PR:
You can only append or replace the selection argument of a Selection field.
Desired behavior after PR is merged:
You can insert a list of tuple before the targeted item matched by its key.
```
state = fields.Selection(selection_before=[
'sale', [('newstatus', 'New status before sale')],
])
```
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr