diff options
| author | Nicolas Bayet <nicolas.bayet@gmail.com> | 2018-07-24 15:56:22 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-08-13 14:36:26 +0200 |
| commit | db3e40396232f41d86ec0c5f90e783e77f3e9510 (patch) | |
| tree | 983f0c83a79aef80a9129b3f82dcf24eb63b320a /addons/web/static/src/js/fields/basic_fields.js | |
| parent | bcb9965b7ba2933195116d5c08f7b67eae9ecdf8 (diff) | |
[IMP] account: Try to increment account code on duplication
Purpose
=======
Instead of adding 'copy' on the code, we could try to increment the code by 10
if possible.
Specification
=============
On an account duplication, if the code represents an Integer and if there are
no other account with the code 'code + 10', then increment the account code
by 10. Otherwise, use the default behavior (adding a 'copy' on the code label).
TaskID: 1868221
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
