diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-01-09 08:53:54 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2020-01-09 15:35:41 +0000 |
| commit | a50cefb76990f389a1c0317b9356ac9c2f3f40f3 (patch) | |
| tree | 6989d98027b5327c7f50ddd239359ddc27edca13 /doc/python3.rst | |
| parent | dc673bffc20704a3ee8325e6938286a5efb4e0e0 (diff) | |
[FIX] account: unset currency_id if equal to company_currency_id
Activate Multicurrency
Create a Journal Entry with default currency (USD)
Save
Error will trigger because of the sql constraint
'check_amount_currency_balance_sign'
The currency_id and company_currency_id are the same while they
shouldn't because company_id should be unset if it is the same as the
company_currency.
Fix to update the error message to let the user know that it's best to
keep the field empty so the company_id would not be set
opw-2169523
closes odoo/odoo#43082
X-original-commit: 6a420921818d741d48bf873e0a62a220c135fbfa
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
