odoo
odoo copied to clipboard
[FIX] base,product,sale: currency checks in tests
Since https://github.com/odoo/odoo/commit/3752b3166ec6bbb5c6ea55f96bb521381bf2b2d9, the currency of the test architecture is not fixed anymore to USD (but is by default).
Therefore, the nightly runbot tests of the localization (l10n_* modules) all fail when verifying the company currency is USD (because the localization sets the company currency to the country one).
This commit adapts those checks to stop enforcing the USD currency as base, only enforcing that the currency used is the company one.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
@robodoo r+
