diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-02-25 12:56:57 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-02-25 12:56:57 +0100 |
| commit | 4a65bc384e43ffd0ac50662ad4fde2ddffb4fd30 (patch) | |
| tree | 9aaf41ad9519c4eb84ac8e7c1715e82313d395f5 /addons/web_editor/static/src/js/transcoder.js | |
| parent | b9f206953e3f877adf18643f154d1262842564ee (diff) | |
[FIX] account: better error message when emptying journal account number
The account number field on a journal is a related field to the
number of the bank account associated to the journal.
As the number of a bank account is a required field,
any attempt to empty it from the journal fails.
Besides, unlinking the bank account from the journal when emptying
the account number on the journal form doesn't seem to be
the appropriate behavior. Imagine you give an account number
to the journal, then empty it, then re-fill it, you probably
do not want the journal entries to be associated to a new bank account,
you probably wanted the same bank account, but renamed, while
it would be the case if we simply unlink it.
If you would like to delete the bank account, you have
to do it from the bank accounts list itself.
opw-670472
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
