diff options
| author | Goffin Simon <sig@odoo.com> | 2016-12-20 13:53:21 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-12-20 15:44:25 +0100 |
| commit | 660d2e0c759c6804b9beaa8a5b3bd176f5a59dec (patch) | |
| tree | efab5ce4460dcf4ddf77ccefd0f1e8b7170d0bc4 /addons/web/static/lib/bootstrap-datetimepicker | |
| parent | c2150623ba8580bc6ea52f51310a2d109f38bb2e (diff) | |
[FIX] account: _create_writeoff with excluded taxes
The amount (=credit - debit) of the first line must be equal to the total included
to reconcile balanced entries.
Before the fix, it just worked with included taxes because the amount of
the first line was already equal to the total included.
But with excluded taxes, it didn't work because in this case the amount was equal
to the total excluded. Then it raised: "Cannot create unbalanced journal entry"
due to the second line which includes all the taxes.
opw:697129
Diffstat (limited to 'addons/web/static/lib/bootstrap-datetimepicker')
0 files changed, 0 insertions, 0 deletions
