I'm trying to implement a custom journal entry using Odoo.
By default, Odoo generates journal entries for customer invoices using the account_id from the invoice and the account_id from the invoice line. The journal entry that I would like to implement looks like this.
Sample:
Account | Debit | Credit |
Receivable - Lot | 41300 | |
Receivable - Funds | 3800 | |
Sales - Lot | 36875 | |
Funds | 3800 | |
VAT 12% | 4425 |
Total: 45, 100
I am able to produce this, by overriding the existing process of generating journal entries, but I'm worried that it would break some existing processes. I have created a config where I setup the accounts then loop over it to generate this result.