diff options
| author | wan <wan@odoo.com> | 2019-07-15 14:23:22 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2019-07-22 10:13:50 +0000 |
| commit | 26b5b446b3dab3d66b7db054ca77e7b1a811c28a (patch) | |
| tree | e44a16e7fd55824bbbbeaaee849f2405ca6e7599 /doc | |
| parent | bac4b43a233d5b5af7930f8e4eba9078da34d94a (diff) | |
[FIX] account: sql in constraint
Task 2002068
The constraints were executed before the data was written in the database. Therefore, the data was not correclty constrained.
Also add the invoice date in the constraint on duplicated vendor references as sometimes, your vendor uses a numbering that loops over time (each year it restarts at 0 for example) and in this case you may receive two different bills that legitimely have the same reference.
The reference on a refund is now 'Reversal of {name}: {reason}'. Before
the reason was in the payment reference, and it didn't make much sense.
closes odoo/odoo#35046
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
