summaryrefslogtreecommitdiff
path: root/addons/base_import_module
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2016-08-09 14:12:27 +0200
committerDamien Bouvy <dbo@odoo.com>2016-08-12 14:27:31 +0200
commit332adff573e66113605f1730ffd5bff2deeaddfb (patch)
treea6505a8b454d2f5d7fe8f21cfbf53d11e02352d4 /addons/base_import_module
parentd7b7b07f9e9ead98d6ecc3e5ce3dca4d4a4a2b6f (diff)
[FIX] base: set current company as default for currency rates
When manually creating/importing a currency rate, there is no default on the company_id field. This is quite unfortunate, as rates are filtered by company then by date, which means that a rate without company will never be taken into account despite being newer. This filter makes sense for multi company setups, but for mono-company setups this is quite annoying. This commit adds a default on the company_id and adds a view for the base_currency_rate model to only display the company field in multi company settings.
Diffstat (limited to 'addons/base_import_module')
0 files changed, 0 insertions, 0 deletions