Closed luisg123v closed 4 years ago
@luisg123v
PR description is missing.
Please complete it.
Regards
@hbto
Could you provide a description for this PR, please? I think I'm not the right person to do so, as I'm not completely aware of its purpose/implications.
CC @luistorresm @edy1192
@luisg123v Done
cc/ @luistorresm & @edy1192
ok, Estoy de acuerdo, procede entonces con ese enfoque.
Saludos.
Quien suscribe,
Humberto Arocha
On Thu, May 23, 2019 at 2:26 PM Luis Ernesto Torres Macías < notifications@github.com> wrote:
@luistorresm commented on this pull request.
In addons/account/models/account_move.py https://github.com/Vauxoo/odoo/pull/302#discussion_r287076209:
@@ -1615,7 +1615,7 @@ def create_tax_cash_basis_entry(self, percentage_before_rec):
'move_id': newly_created_move.id, 'partner_id': line.partner_id.id, })
if line.account_id.reconcile:
if line.account_id.reconcile and not line.reconciled:
@hbto https://github.com/hbto ⬇️ Suggested change
if line.account_id.reconcile and not line.reconciled:
force = self.env['ir.config_parameter'].sudo().get_param(
'force_unreconciled', True)
if line.account_id.reconcile and (force and not line.reconciled):
Como no es tan replicable el error, que te parece si en esta primer versión hacemos algo como esto. Por si se afecta alguna funcionalidad, simplemente se elimine el parametrro del sistema y el comportamiento sea el mismo que tiene Odoo ahora?
Nota: Mi propuesta de código es un ejemplo, hay que ver cual es la mejor solución.
Saludos
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Vauxoo/odoo/pull/302?email_source=notifications&email_token=ABZ67OT35VFV6IZV2Y32SB3PW3OUZA5CNFSM4HNWEKW2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBZRRQCQ#pullrequestreview-241375242, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZ67OXLVBN4LP2MVIVNRODPW3OUZANCNFSM4HNWEKWQ .
This PR is related to https://github.com/odoo/odoo/pull/33585
@hbto May I close this? The Odoo PR (https://github.com/odoo/odoo/pull/33585) has been already merged .
Main
For Huge Amount Invoices with small residual being paid and the Invoice and the initial payment which almost paid, the invoice in full can render the reconciliation of the Tax Entry Lines as fully reconciled.
Description
In case of multi-currency transactions where CABA Journal Entries are involved, there could be a case where ,in Mexican Localization, so far, a small entry line cannot be reconciled with their counterpart because the previous counterparts are already reconciled. (Though this is still unproved in a lab, i.e. UnitTest, can be seen in the wild, i.e. Customer's Production Instance)
The following is an hypothetical case yet to be proven:
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr