- In order to test the duplicate order and check duplicate details. - I duplicate order. - !python {model: purchase.order}: | self.copy(cr, uid, ref('purchase_order_1'), context)