Skip to content
Snippets Groups Projects
Commit bc16177e authored by Dylan Kiss (dyki)'s avatar Dylan Kiss (dyki)
Browse files

[FIX] account: don't recompute name when no date set


After commit 9bf54f09, we assumed that
the date field of a move was never empty. On the form view, it can be
(temporarily) empty though (before save), causing an error when trying
to read it.

We now don't try to recompute the name when the date is empty, thus
preventing the date field to be read in that method.

task-3326834

closes odoo/odoo#122297

X-original-commit: 5a3a8d0b
Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
Signed-off-by: default avatarDylan Kiss (dyki) <dyki@odoo.com>
parent 18e03c73
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment