From 53cb608b178ec7604ce736770320437a6af93488 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Thu, 26 Nov 2015 15:46:37 +0100 Subject: [PATCH] [FIX] purchase: missing string Even if the field is used for technical purpose only, it is still better to define a string for the translation. --- addons/purchase/purchase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index 182018fa361..9d14a8d2ed1 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -149,7 +149,7 @@ class PurchaseOrder(models.Model): picking_type_id = fields.Many2one('stock.picking.type', 'Deliver To', states=READONLY_STATES, required=True, default=_default_picking_type,\ help="This will determine picking type of incoming shipment") - default_location_dest_id_usage = fields.Selection(related='picking_type_id.default_location_dest_id.usage',\ + default_location_dest_id_usage = fields.Selection(related='picking_type_id.default_location_dest_id.usage', string='Destination Location Type',\ help="Technical field used to display the Drop Ship Address") group_id = fields.Many2one('procurement.group', string="Procurement Group")