#3470 (Lino sets wrong booking direction in suggested bank statement item)
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
Concepts sous-jacents
Commentaires
- 6 ans, 9 mois ago by Luc Saffre about #3470 (Lino sets wrong booking direction in suggested bank statement item) : The problem is that when clicking the fill_selected_rows action of the SuggestedMovments table, ExpectedMovments.get_row_by_pk() is called with an ar that doesn't know the voucher. The get_row_by_pk() method here is special because its is a virtual table, but we use the Movement.pk as primary key, a...
- 6 ans, 9 mois ago by Luc Saffre about #3470 (Lino sets wrong booking direction in suggested bank statement item) : The problem must be in add_item_from_due() because it happens only when suggestions are being added (not when i create the item and manually enter the partner name).
- 6 ans, 9 mois ago by Luc Saffre about #3470 (Lino sets wrong booking direction in suggested bank statement item) : The customer is debited by the SLS, the supplier is credited by the PRC. Which is correct. But both movements cause an expense on the bank statement. Strange.