diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-07-19 09:55:59 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-07-31 09:18:31 +0200 |
| commit | 862c24557628a0ed9d80db20d6191454b6a55def (patch) | |
| tree | af9b3be9f24e9c0e21205234358e4212880ad7f8 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 5dc180a3ea50083c88399a58ee07cd130fa8289d (diff) | |
[FIX] account: default_get aml compute balance
Create an account.move, create a line, then add an item to start to add a second aml
The current balance of the move is put in debit (or credit) to help automatically making the second line
Save the move.
Edit the move
Delete a line
Add a new line
Before this commit, the balance was not correctly computed because the default_get did not compute
the balance on deleted lines
The move ended up with wrong unbalanced new lines
After this commit, the balance is computed with deleted lines taken into account
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
