How set due date to today + payment terms

Hi,
Please help with this problem. When converting an order invoice would like to set due date to today + payment terms from the order. is there any way?
Thanks for advice.
Radim

Do you mean when converting a quote to an invoice? If so you can create a custom converToInvoice.php and modify the logic in it.

1 Like

Yes, during the conversion. Thank you for the advice. Radim