diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-07-15 11:23:46 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-07-16 15:22:05 +0200 |
| commit | c8c5bc2c1b63dadf381f94b25b652e1057be18ec (patch) | |
| tree | e9df96a696efc936e4c3e0a5fc03f32fbb7be838 /addons/web/static/src/js | |
| parent | 943e45ba3d2ac715bb275512b1b2b12e1d2b11eb (diff) | |
[FIX] account: test: prevent aged report to crash on july, 16th and after
Before this commit, the test aged report crashed on date Year/07/16 (and probably after, too) because:
- we create a partial reconcile today (create_date = Year/07/16) when making the payment to the invoice
- the report date is set as Year/07/15, so, the partial reconciliation, if tested after that date, always appears in another period,
which is not the use case we test, hence the crash of the test
After this commit, we force the create date of the partial reconciliation to *before* the report is called,
thus, no error occurs
closes #25785
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
