diff options
| author | william <wan@odoo.com> | 2020-03-20 08:16:44 +0000 |
|---|---|---|
| committer | william <wan@odoo.com> | 2020-03-20 20:10:00 +0000 |
| commit | 92f9d9b21b7bdde796e6105ee53f83d71fde3044 (patch) | |
| tree | 8a298dd09f4056cb9bc292b26ec48deecd867541 /addons/website/security | |
| parent | 25aaf7afcff9b361d809c112bc8e93c91c357519 (diff) | |
[FIX] account: depends in compute name
opw-2220539
The depends of _compute_name and _compute highest_name could lead to a
double recompute.
To reproduce:
* create a draft invoice in a new journal; a name is set
* post a new invoice in the same journa; the name is the one of the
draft + 1
* post the draft invoice; the name is changed to the other posted + 1
but it shouldn't
closes #47944
closes odoo/odoo#48144
X-original-commit: 2d7b751477d9c723fcbbc868534f47565e0a1621
Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/website/security')
0 files changed, 0 insertions, 0 deletions
