Daily updates from Odoo
Friday, September 20, 2019
2 changes
Resolved issues and error corrections
Users can now add voucher lines with a price of zero without using workarounds such as creating special products or applying full discounts. This makes voucher entry simpler and better supports legitimate zero-value items.
Original PR description
Fixes: https://github.com/odoo/odoo/issues/29119 Description of the issue/feature this PR addresses: account_voucher Current behavior before PR: - Before this patch it was impossible to add line with Zero price in lines. The possible workarounds were to - `Create new Product with zero price` - `Set 100% Discount` - `Set Zero price on Product.` Desired behavior after PR is merged:This commits makes it possible to Add line with Zero price -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Cc: @qdp-odoo
CRM lead scoring settings now save fields using stable internal names instead of translated display names. This prevents configuration issues for companies working in multiple languages and keeps predictive lead scoring consistent.
Original PR description
Description of the issue/feature this PR addresses:
The configuration parameter 'crm.pls_fields' is saved with the display name, this will not work when in a multilingual environment.
It is better to store this with the technical name of the field.
The test odoo/addons/crm/tests/test_crm_pls.py also uses the technical names of the fields
# Set the PLS config
self.env['ir.config_parameter'].sudo().set_param("crm.pls_start_date", "2000-01-01")
self.env['ir.config_parameter'].sudo().set_param("crm.pls_fields", "country_id,state_id,email_state,phone_state,source_id")
Current behavior before PR:
The display name of the fields are stored into the configuration parameter.
Desired behavior after PR is merged:
The technical name of the fields should be stored into the configuration parameter.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr