diff options
| author | Romain Derie <rde@odoo.com> | 2019-04-25 14:57:47 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-04-26 08:02:07 +0000 |
| commit | 01d1cf35bbbcf020d1357edbb25d5111cdd97de1 (patch) | |
| tree | e8dd7851a751f28615ec224848906e5302fafcea /addons/test_mail/models | |
| parent | 50caae5bc02bc6eaa1b4a4dfd965c84c940bb84b (diff) | |
[FIX] website_sale: fix pricelist GeoIP
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.
closes odoo/odoo#32961
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/test_mail/models')
0 files changed, 0 insertions, 0 deletions
