diff options
| author | Damien Bouvy <dbo@odoo.com> | 2016-08-09 14:12:27 +0200 |
|---|---|---|
| committer | Damien Bouvy <dbo@odoo.com> | 2016-08-12 14:27:31 +0200 |
| commit | 332adff573e66113605f1730ffd5bff2deeaddfb (patch) | |
| tree | a6505a8b454d2f5d7fe8f21cfbf53d11e02352d4 /addons/base_import_module | |
| parent | d7b7b07f9e9ead98d6ecc3e5ce3dca4d4a4a2b6f (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
