Bugfix in purchase copy
bzr revid: pinky-5498672fb2d0e85f9386f22e885c3f99ca163e3d
This commit is contained in:
parent
79f2d3a9b3
commit
b7f804856c
|
@ -266,7 +266,7 @@ class purchase_order(osv.osv):
|
||||||
'shipped':False,
|
'shipped':False,
|
||||||
'invoiced':False,
|
'invoiced':False,
|
||||||
'invoice_id':False,
|
'invoice_id':False,
|
||||||
'picking_ids':False,
|
'picking_ids':[],
|
||||||
'name': self.pool.get('ir.sequence').get(cr, uid, 'purchase.order'),
|
'name': self.pool.get('ir.sequence').get(cr, uid, 'purchase.order'),
|
||||||
})
|
})
|
||||||
return super(purchase_order, self).copy(cr, uid, id, default, context)
|
return super(purchase_order, self).copy(cr, uid, id, default, context)
|
||||||
|
|
|
@ -14,5 +14,5 @@
|
||||||
"report_analytic_planning_report.xml"
|
"report_analytic_planning_report.xml"
|
||||||
],
|
],
|
||||||
"active": False,
|
"active": False,
|
||||||
"installable": False
|
"installable": True
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue