odoo/addons/purchase/test/ui/duplicate_order.yml

9 lines
247 B
YAML

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