You can also use the autoname function in the sales_invoice.py file. This should do the trick.
def autoname(self):
self.name = self.my_order_no
You can also use the autoname function in the sales_invoice.py file. This should do the trick.
def autoname(self):
self.name = self.my_order_no