diff options
| author | wan <wan@odoo.com> | 2019-10-09 12:19:21 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-20 17:36:09 +0000 |
| commit | 0ca97ae3d6499b36b6fcb34bbe560d445e8f0350 (patch) | |
| tree | cf939675a3a976782951a3a27d2bafc95234cd4d /addons/web | |
| parent | 730309caa5b0b47ca30af15a2632e18f34e44482 (diff) | |
[FIX] account_analytic_default: compute instead of default_get + onchange
Task 2075249
The commit dd627b9 added a default_get to retrieve the default analytic
values. However, it was depending on self, which cannot be done in a
api.model
In this commit, we use an editable compute in order to update the
analytic values in all the cases, and to reduce the duplication of the
code.
X-original-commit: 69bf61bbc991eee96e673316ae8c37e98e1b8a1d
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions
