[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.
This commit is contained in:
Nicolas Martinelli
2015-11-26 15:46:37 +01:00
parent 8be7eed9ca
commit 53cb608b17
+1 -1
View File
@@ -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")