#5672 (A sales invoice must DEBIT the account but CREDIT the storage)
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
While trying to issue service reports from Jane, I discovered this bug, which causes Lino to print a wrong service credit.
Concepts sous-jacents
Commentaires
- 2 ans, 4 mois ago by Luc Saffre about #5672 (A sales invoice must DEBIT the account but CREDIT the storage) : I pushed my yesterday's work in lino, xl and book. Some more explanations in [url luc.lino-framework.org/blog/2024/0621.html my blog].
- 2 ans, 4 mois ago by Luc Saffre about #5672 (A sales invoice must DEBIT the account but CREDIT the storage) : NB the title of this ticket is NOT a problem. Whether the storage (more exactly the provision) gets debited or credited depends on the TransferRule.
- 2 ans, 4 mois ago by Luc Saffre about #5672 (A sales invoice must DEBIT the account but CREDIT the storage) : The dc field for the SLS journal in Jane had the wrong value. After fixing the config and re-registering the invoices, the SRV now prints the correct time credit.
- 2 ans, 4 mois ago by Luc Saffre about #5672 (A sales invoice must DEBIT the account but CREDIT the storage) : "A sales invoice debits the customer’s account" (as explained [url using.lino-framework.org/plugins/accounting.html#debit-and-credit in the end-user docs]), but the Journal.dc field says "Credit" for sales invoices. I am checking whether I can optimize this.
- 2 ans, 4 mois ago by Luc Saffre about #5672 (A sales invoice must DEBIT the account but CREDIT the storage) : Created new Ticket #5672 (A sales invoice must DEBIT the account but CREDIT the storage).