From 49ce4edf60cd263cc5b02aa5debd789784552d8e Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Thu, 19 Dec 2019 11:06:17 +0100 Subject: [PATCH] Add tooltips --- .../models/stock_location.py | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/stock_location_position/models/stock_location.py b/stock_location_position/models/stock_location.py index 42048cc62..537700303 100644 --- a/stock_location_position/models/stock_location.py +++ b/stock_location_position/models/stock_location.py @@ -10,10 +10,22 @@ class StockLocation(models.Model): _inherit = "stock.location" - corridor = fields.Char("Corridor") - row = fields.Char("Row") - rack = fields.Char("Rack") - level = fields.Char("Level") - posx = fields.Integer("Box (X)") - posy = fields.Integer("Box (Y)") - posz = fields.Integer("Box (Z)") + corridor = fields.Char("Corridor", help="Define as the street") + row = fields.Char("Row", help="Define as the side within the street") + rack = fields.Char("Rack", help="Define as the house number within the street") + level = fields.Char("Level", help="Define as the floor of the house") + posx = fields.Integer( + "Box (X)", + help="Optional (X) coordinate of the bin if the location" + " is split in several parts. (e.g. drawer storage)", + ) + posy = fields.Integer( + "Box (Y)", + help="Optional (Y) coordinate of the bin if the location" + " is split in several parts. (e.g. drawer storage)", + ) + posz = fields.Integer( + "Box (Z)", + help="Optional (Z) coordinate of the bin if the location" + " is split in several parts. (e.g. storage tray)", + )