This question has been flagged

I haven't been able to find a way to automate finance charges in Odoo and I was looking to create an automated action to create a new invoice line or create a new invoice for my finance charge. For example, if an invoice isn't paid 5 days after its due date, I want to create a new invoice that is 2% of the invoice that is past due. What is the python expression I need to be able to do this in an automated action? 

Here is the screengrab of the automated action I have so far: https://imgur.com/a/CLdy9KP

Avatar
Discard
Best Answer

Hi Cameron,

You need to write cron job.

In that you need to check which are the invoice dues, based on the reference of those invoices, create new invoices with whatever % you want to charge for that invoice. partner detail you will get it from the due invoice itself.

You have to add new product (for Penalty charged to customer for invoice dues ) as service type, that will be used as product in the line for auto generated invoice for penalty.

If you want ready made solution for this, then get app from here

I hope this idea will help you to understand how you need to move forward.

Best Regards,

Anil Kesariya



Avatar
Discard
Best Answer

Hi Cameron, please find this module in OCA  https://www.odoo.com/apps/modules/10.0/skit_dunning/

Avatar
Discard