diff options
| author | Laurent Smet <las@odoo.com> | 2019-09-17 14:47:39 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2019-09-18 11:34:51 +0000 |
| commit | 6839671c815af641806429189c7053e979b194aa (patch) | |
| tree | fdf24bb6d191b18c03817ec8f22b5d15858881d9 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | f4af7cb536fcfac82d49e31438b59d2bfd546ddd (diff) | |
[FIX] account: Fix multi-currency in account.moves
Suppose an invoice in EUR with a company using USD.
- Try to create an invoice with some lines, remove the value of the journal_id field.
=> Traceback because line.company_id.currency_id is an empty recordset on which you can't
call the 'round' method.
- In the list views of the invoices, the price must be shown in the company currency.
- When registering the payment if you change the currency in USD the conversion is wrong.
closes odoo/odoo#37050
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
