Skip to Content

Contributors

Reconcile Widget with OWL

Hi!!
 
I have been working this weekend on the new reconcile widget for v16 using OWL. It might be not mandatory yet, but, it is interesting to do this ASAP.
 
I am trying to do it visually similar to Enterprise (UX), but the approach should be completly different.
 
However, as we are still in a initial process, it is interesting to do some comments. On 14 and 15, when we reconciled bank statements, we modified a posted move. It was weird, but useful. Should we continue with this approach?
 
I can show you a small gif of how it is going. Right now, only manual conciliation works (no models, no invoices), but it should be easy :D).
 
I hope I can open a PR soon (at least, when minimal requirements are fulfilled)
 
Kind regards,
 
Enric Tobella Alomar
Av. J. V. Foix 63
08034 Barcelona
 




Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
pueden contener información reservada y/o confidencial, destinada exclusivamente
para el uso del destinatario o la persona responsable de entregarlo al mismo,
estando su uso no autorizado prohibido legalmente.
Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
salvo ratificación escrita por ambas partes. En caso de su recepción por error,
rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
a su eliminación.

by Enric Tobella Alomar - 06:30 - 1 Nov 2022

Follow-Ups

  • Re: Reconcile Widget with OWL
    I made a commit that allows you to define the reconcile mode on bank/cash journals, I think it is as you wished :D (the part of keeping the orginal lines )
     
    Enric Tobella Alomar
    Av. J. V. Foix 63
    08034 Barcelona
    Tlf.    932 522 522 (Ext. 9611)
     
     
    From: "Marco Marchiori" <notifications@odoo-community.org>
    To: "Contributors" <contributors@odoo-community.org>
    Date: Thu, 03 Nov 2022 21:36:53 -0000
    Subject: Re: Reconcile Widget with OWL
     
    Maybe an alternative could be to post only the reconciled entries (and not the import or the synchro entries).
    I don't see the point in having temporary posted entries all with the same counterpart.
    Sooner or later I  think odoo will decide to change.
     
    Marco
     
     
     
    Il mer 2 nov 2022, 22:06 Cyril VINH-TUNG <notifications@odoo-community.org> ha scritto:
    Dear all,
     
    Here in PF (country of FR), we disagree with the modification of a posted entry.
     
    We still do like we did in v8.
     
    We had to hack both account_payment and reconciliation_widget in order to :
    - forbid deletion of a validated payment https://github.com/odoo/odoo/pull/96941
    - allow reconciliation of draft entries https://github.com/OCA/account-reconcile/pull/403
     
    We have to force journal setup to disable suspense accounts use. With that setup, the payment entries are validated with an intermediate account. This intermediate account is reconciled with the bank.
     
    As Odoo SA won't change the reconciliation process, I agree with Pedro that the module has to be flexible.
     
    @Alexis De Lattre what do you think ?
     
    Best regards
     
     
     
    Le mer. 2 nov. 2022, 10:27, Pedro M. Baeza <notifications@odoo-community.org> a écrit :
    Although the purist approach would be to generate a new journal entry moving the balance from the suspense account to the definitive account matched on the reconciliation widget, I think we can keep current approach for not generating too much noise, and taking into account that you can't do this in a locked period. Maybe we can introduce a parameter for choosing which one to use...
     
    Regards.
    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe
    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe
    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe




    Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
    pueden contener información reservada y/o confidencial, destinada exclusivamente
    para el uso del destinatario o la persona responsable de entregarlo al mismo,
    estando su uso no autorizado prohibido legalmente.
    Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
    salvo ratificación escrita por ambas partes. En caso de su recepción por error,
    rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
    o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
    a su eliminación.

    by Enric Tobella Alomar - 09:21 - 21 Nov 2022
  • Re: Reconcile Widget with OWL
    OK, then go ahead with it!

    Regards.

    by Pedro M. Baeza - 12:36 - 6 Nov 2022
  • Re: Reconcile Widget with OWL
    No, reconcile has two parts. One is the reconcile of bank statement lines, that is almost done. The second one is the reconcile of accounts used from invoicing / accounting/actions/reconciliation. I would like to do some big changes of the view, following a similar approach from the bank

    On 6 Nov 2022 09:36, "Pedro M. Baeza" <notifications@odoo-community.org> wrote:
    About reconcile accounts, do you mean to use the suspense account in the journal? If so, I think that should be.

    Regards.

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe






    Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
    pueden contener información reservada y/o confidencial, destinada exclusivamente
    para el uso del destinatario o la persona responsable de entregarlo al mismo,
    estando su uso no autorizado prohibido legalmente.
    Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
    salvo ratificación escrita por ambas partes. En caso de su recepción por error,
    rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
    o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
    a su eliminación.

    by Enric Tobella Alomar - 12:15 - 6 Nov 2022
  • Re: Reconcile Widget with OWL
    About reconcile accounts, do you mean to use the suspense account in the journal? If so, I think that should be.

    Regards.

    by Pedro M. Baeza - 09:36 - 6 Nov 2022
  • Re: Reconcile Widget with OWL
    The current behavior allows you to have the same result on your bank and your ERP for the bank account balance. So it is a good idea IMO.
     
    The bank reconcile widget is ready for review. A bug was found regarding the chatter, but I don't know how to fix it in an easy way. 
     
    Next step is the reconcile accounts. I think it would be cleaner to reuse the same functionality (not the old one), as it seems cleaner to me. WDYT?
     
    Enric Tobella Alomar
    Av. J. V. Foix 63
    08034 Barcelona
    Tlf.    932 522 522 (Ext. 9611)
     
     
    From: "Marco Marchiori" <notifications@odoo-community.org>
    To: "Contributors" <contributors@odoo-community.org>
    Date: Thu, 03 Nov 2022 21:36:53 -0000
    Subject: Re: Reconcile Widget with OWL
     
    Maybe an alternative could be to post only the reconciled entries (and not the import or the synchro entries).
    I don't see the point in having temporary posted entries all with the same counterpart.
    Sooner or later I  think odoo will decide to change.
     
    Marco
     
     
     
    Il mer 2 nov 2022, 22:06 Cyril VINH-TUNG <notifications@odoo-community.org> ha scritto:
    Dear all,
     
    Here in PF (country of FR), we disagree with the modification of a posted entry.
     
    We still do like we did in v8.
     
    We had to hack both account_payment and reconciliation_widget in order to :
    - forbid deletion of a validated payment https://github.com/odoo/odoo/pull/96941
    - allow reconciliation of draft entries https://github.com/OCA/account-reconcile/pull/403
     
    We have to force journal setup to disable suspense accounts use. With that setup, the payment entries are validated with an intermediate account. This intermediate account is reconciled with the bank.
     
    As Odoo SA won't change the reconciliation process, I agree with Pedro that the module has to be flexible.
     
    @Alexis De Lattre what do you think ?
     
    Best regards
     
     
     
    Le mer. 2 nov. 2022, 10:27, Pedro M. Baeza <notifications@odoo-community.org> a écrit :
    Although the purist approach would be to generate a new journal entry moving the balance from the suspense account to the definitive account matched on the reconciliation widget, I think we can keep current approach for not generating too much noise, and taking into account that you can't do this in a locked period. Maybe we can introduce a parameter for choosing which one to use...
     
    Regards.
    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe
    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe
    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe




    Tanto este mensaje como los documentos que, en su caso, lleve como anexos,
    pueden contener información reservada y/o confidencial, destinada exclusivamente
    para el uso del destinatario o la persona responsable de entregarlo al mismo,
    estando su uso no autorizado prohibido legalmente.
    Su contenido no constituye un compromiso para Creu Blanca (la empresa remitente)
    salvo ratificación escrita por ambas partes. En caso de su recepción por error,
    rogamos nos lo comunique por igual vía, se abstenga de realizar copias del mensaje
    o documentos adjuntos, remitirlo o facilitarlo a un tercero, y proceda en su defecto,
    a su eliminación.

    by Enric Tobella Alomar - 08:56 - 6 Nov 2022