diff --git a/addons/claim_from_delivery/claim_delivery_view.xml b/addons/claim_from_delivery/claim_delivery_view.xml index 852d602c269..6f9ca5e4a66 100644 --- a/addons/claim_from_delivery/claim_delivery_view.xml +++ b/addons/claim_from_delivery/claim_delivery_view.xml @@ -18,7 +18,7 @@
diff --git a/addons/claim_from_delivery/stock_picking.py b/addons/claim_from_delivery/stock_picking.py index 9c3121d067c..3a3404bfa93 100644 --- a/addons/claim_from_delivery/stock_picking.py +++ b/addons/claim_from_delivery/stock_picking.py @@ -12,15 +12,15 @@ class stock_picking(osv.osv): } _columns = { - 'claim_count': fields.function(_claim_count, string='Claims', type='integer'), + 'claim_count_out': fields.function(_claim_count, string='Claims', type='integer'), } class stock_picking_out(osv.osv): _inherit = 'stock.picking.out' def _claim_count(self, cr, uid, ids, field_name, arg, context=None): - return super(stock_picking_out, self)._claim_count(cr, uid, ids, field_name, arg, context=context) + pass _columns = { - 'claim_count': fields.function(_claim_count, string='Claims', type='integer'), + 'claim_count_out': fields.function(_claim_count, string='Claims', type='integer'), }