Daily updates from Odoo
Friday, April 26, 2019
2 changes · master
Resolved issues and error corrections
This fix ensures website shoppers are only assigned price lists that are allowed for their detected country. It prevents customers from seeing incorrect pricing when location-based pricing rules should apply.
Original PR description
Before this commit: If the user was GeoIP located and it's pricelist (property_product_pricelist) was not allowed for it's GeoIP country, that pricelist would still be return. This issue was detected as a test `test_get_pricelist_available_geoip2` was not working since forward ported in master (only on theme runbot or local..). Before master (saas-12.4), `property_product_pricelist` would not be recomputed once set, so the test was actually not working as expected. Since master, reading `property_product_pricelist` just after setting it goes through the compute method, resulting in different value than in previous versions. 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 fixes the stored language code for Filipino so it uses the proper Filipino (Philippines) identifier. It helps ensure language records, translations, and future migrations refer to Filipino consistently.
Original PR description
Master version of odoo/odoo#32867 Instead of fil - fil_PH, it should have been fil_PH - fil. cc @KangOl requires migration script