Monday, October 21, 2019
2 changes
Resolved issues and error corrections
This fix ensures Mexican localization tax transition accounts can be reconciled, allowing cash-basis tax entries to handle exchange-rate differences correctly. Businesses using Mexican accounting with foreign currencies should see more accurate journal entry differences when payments are made at a different rate than invoices.
Original PR description
(master) l10n_mx: Transition Tax Accounts must be reconcilable in order to properly create Journal Entry Differences = This issue is relevant for MX Localization because Cash Basis is created with…
(master) l10n_mx: Transition Tax Accounts must be reconcilable in order to properly create Journal Entry Differences = This issue is relevant for MX Localization because Cash Basis is created with the rate of the payment, and not with the rate of the invoice as is done for odoo core. Impacted versions: - master Steps to reproduce: - - Set company Country MX <img width="1270" alt="Screen Shot 2019-08-22 at 9 43 42 AM" src="https://user-images.githubusercontent.com/7598010/63524311-67c1d800-c4c1-11e9-9abd-2003e6c4b997.png"> - Set Multi-currency Environment <img width="909" alt="Screen Shot 2019-08-22 at 9 44 40 AM" src="https://user-images.githubusercontent.com/7598010/63524353-7b6d3e80-c4c1-11e9-8c2f-624563df231c.png"> - Create two rates for USD for Date1 and Date2 <img width="1676" alt="Screen Shot 2019-08-22 at 9 47 03 AM" src="https://user-images.githubusercontent.com/7598010/63524552-d0a95000-c4c1-11e9-8ba7-00fff11a6adf.png"> - Leave Transition account `119.01.01 IVA pendiente de pago` for `IVA(16%) COMPRAS` as reconcile=False. Tax is Due on Payment <img width="1261" alt="Screen Shot 2019-08-22 at 9 48 05 AM" src="https://user-images.githubusercontent.com/7598010/63524655-00585800-c4c2-11e9-80db-c3bf4f5a4893.png"> <img width="794" alt="Screen Shot 2019-08-22 at 9 49 10 AM" src="https://user-images.githubusercontent.com/7598010/63524724-2120ad80-c4c2-11e9-94be-48b2b0219353.png"> - Create a Vendor Bill for Date1: <img width="1272" alt="Screen Shot 2019-08-22 at 9 52 41 AM" src="https://user-images.githubusercontent.com/7598010/63525021-9b513200-c4c2-11e9-961a-4103a6c9156b.png"> - Create a Payment for Date2: <img width="1085" alt="Screen Shot 2019-08-22 at 9 53 21 AM" src="https://user-images.githubusercontent.com/7598010/63525116-c471c280-c4c2-11e9-8fc1-649e633e883b.png"> <img width="1265" alt="Screen Shot 2019-08-22 at 9 53 56 AM" src="https://user-images.githubusercontent.com/7598010/63525122-c8054980-c4c2-11e9-944b-e8b6ff819aa2.png"> - Check Journal Entries. Only Four Journal Entries. one for invoice, one for payment, one for CABA, one for FX in Payable. <img width="1616" alt="Screen Shot 2019-08-22 at 9 54 52 AM" src="https://user-images.githubusercontent.com/7598010/63525200-e8350880-c4c2-11e9-9195-6447893d0260.png"> - Check the Journal Entry Exchange Difference. <img width="1261" alt="Screen Shot 2019-08-22 at 9 55 52 AM" src="https://user-images.githubusercontent.com/7598010/63525294-0e5aa880-c4c3-11e9-9692-3ee1eeecd9da.png"> Current behavior: - No Exchange Difference Journal Entries for the transition accounts is created Expected behavior: - After full reconciliation of Vendor Bill and Payment there should be one Exchange Difference Journal Entry for the Payable Account and one for the Transition Account. Video - https://youtu.be/UbsisoqcmqA Regards
This change relaxes an internal performance test threshold for the email test module because the query count was fluctuating between test runs. It helps prevent unreliable staging failures while the underlying cause is investigated, with no expected impact on end users.
Original PR description
New performances test looks non deterministic, sometimes break with 28 queries instead of 25. This commit temporary pump up query count to avoid staging fails, further investigation is needed. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr