Skip to content
Snippets Groups Projects
Unverified Commit fe2c11f3 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[IMP] account: clean create method from mandatory variable

Avoid setting a value for a related field as it will trigger onchange update.
This code was relevant when the date was different on the move and the line but
is no longer needed.

Remove all the `if vals.get(mandatory_field)` to simplify this method and remove
dead code or condition always true.
parent 7ad9487a
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