summaryrefslogtreecommitdiff
path: root/addons/account_tax_python
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2019-08-29 08:53:28 +0000
committerLaurent Smet <las@odoo.com>2019-08-29 13:04:55 +0000
commit152d1f4fc7e0c19410704e1f1dac0a65872f4802 (patch)
tree0dc073ab9a5673068d8efc58aad4e2b5fe0fe421 /addons/account_tax_python
parent156142caf22346073f2a9edb2e5e75a4c2868edd (diff)
[FIX] account: Fix some issues since account-pocalypse
1) Improve readability / performance of moves checks The queries checking the move name & the duplicate vendor reference was complex and unefficient for no reason. 2) Recompute amount_currency when reversing invoice When reversing an invoice, the amount_currency wasn't recomputed even when dealing with a refund date having another currency rate. 3) The refund must not keep the payment ref of the reverted invoice. The payment ref is stored inside the receivable/payable line's name. However, when duplicating the invoice to create a refund, this must be emptied until a new payment ref will be set. 4) Reintroduce user_id field on account.move The field user_id has been renamed to invoice_user_id. However, some mail templates need to access the generic user_id field for multiple models. 5) Fix 'misc' Journal Entry totals Misc journal entry must have an amount total always positive and not signed. Furthermore, we don't know how to compute the amount_untaxed/amount_tax so don't compute that with such entries. 6) Fix cancelling an exchange difference entry / tax cash basis entry. When cancelling an exchange difference entry, the reconciliation is undo and then, the exchange difference entry is reversed. Same for tax cash basis entries. issue: https://github.com/odoo/odoo/issues/35841 7) Fix creation of cash basis entries for reversed journal entries. When reconciling entries with one being the reverse of the another one, cash basis entries for taxes must not be created. However, it must be the case when reconciling the reverse entry (like refunds) with something. issue: https://github.com/odoo/odoo/issues/35276 8) Fix matching rules ignoring the structured communication. Since account-pocalypse, the structured communication is landing on the name of the journal items. Then, the matching rules must consider it. closes odoo/odoo#36062 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/account_tax_python')
0 files changed, 0 insertions, 0 deletions