• How do you autopopulate a related field in custom module from a related field of another module?

    I'm fighting against this issue since a couple of weeks and I can't figure out a way to do that. I have a custom module for the orders management and I need to produce invoices automatically. I'm following the example of 'ConverToInvoice.php' from Quotes…