Tuesday, November 7, 2017
3 changes · master
Enhancements to existing features
This update removes obsolete YAML files and converts partner demo data to the current XML format. It also strengthens recruitment survey tests, helping keep the system easier to maintain with better coverage for existing 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
This update lets Odoo data records use additional context values when looking up related records during XML data loading. It helps developers and implementers define configuration data more accurately, reducing manual workarounds during module setup or upgrades.
Original PR description
Purpose
=======
Currently on <record> tags, it's impossible to use 'datetime' or 'obj' when using 'search' attribute on a field.
The following example won't work:
<record id="foo" model="model.model">
<field name="bar_id" search="[('company.id', '=', obj([]).env.user.company_id.id)]"/>
</record>
Specification
=============
Use '_get_idref' to extend the accessible variables on the 'safe_eval' computation.
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-prThis pull request updates internal test coverage for recruitment surveys and refreshes how accounting setup data is stored for many country-specific localizations. The change helps keep Odoo's data files and automated checks easier to maintain without changing day-to-day user workflows.
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