Skip to content
Snippets Groups Projects
Commit e6581f39 authored by Quentin De Paoli's avatar Quentin De Paoli
Browse files

[FIX] account: missing dependancy on constraint


It was possible to create inconstancies in accounting entries by forcing to sum apples and pears.

Steps to reproduce
1. create a journal entry using at least one account with a secondary currency set
2. balance and save that move
3. change the secondary currency on the line and force it to a different value than the one on the account
4. save. You'd expect an error pop up but the constraint doesn't trigger and you're allowed to save/post

opw-3340697

closes odoo/odoo#126231

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 9099e99d
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