[IMP] Purchase: Remove Duplicate Record
bzr revid: aag@tinyerp.com-20110825090319-0scigeqn4beeehrk
This commit is contained in:
@@ -130,6 +130,6 @@
|
||||
-
|
||||
!python {model: purchase.order}: |
|
||||
from tools.translate import _
|
||||
self.copy(cr, uid, ref("purchase_order_pendrive1"))
|
||||
self.unlink(cr, uid, [ref("purchase_order_pendrive1")])
|
||||
copy_id = self.copy(cr, uid, ref("purchase_order_pendrive1"))
|
||||
self.unlink(cr, uid, [copy_id])
|
||||
|
||||
Reference in New Issue
Block a user