Hello All,
I have added a button(Re-new) for product type service in inventory module and invoice is already created for that service. Now i want to Re-new(button) this service for next 2 years. So, i want create duplicate sale order on that button with full of data. So, how can i use copy function for this button?
My Coding structure like below:
@api.one
def dup_line(self)
self.copy()
<button name="dup_line" type="object" string="Re-New" class="oe_highlight"/>
Thanks in advance