diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-05-30 11:24:10 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-05-30 11:24:10 +0200 |
| commit | 63ca2d1b9ffa1cacf4e8e4fefc24b404ac49fb57 (patch) | |
| tree | 9bcfbff5e32338360d7191bb612151d6537f5464 /addons/purchase/purchase.py | |
| parent | 89d44e9c8a9a78df3b0274bed45c455bf37c0266 (diff) | |
[FIX] purchase: wrong call to super
opw-675480
Diffstat (limited to 'addons/purchase/purchase.py')
| -rw-r--r-- | addons/purchase/purchase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 8e7aed998c8..5d453686f97 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -365,7 +365,7 @@ class purchase_order(osv.osv): def copy(self, cr, uid, id, default=None, context=None): # FORWARDPORT UP TO SAAS-6 - new_id = super(purchase_order, self).copy(cr, uid, id, context=context) + new_id = super(purchase_order, self).copy(cr, uid, id, default=default, context=context) for po in self.browse(cr, uid, [new_id], context=context): for line in po.order_line: vals = self.pool.get('purchase.order.line').onchange_product_id( |
