From 1b2b14879a23a15af47153b8611e1cce08c4e821 Mon Sep 17 00:00:00 2001 From: svs-odoo Date: Thu, 2 Apr 2020 14:46:20 +0000 Subject: [PATCH] [IMP] mrp: no help in workorder tablet view For the `mrp.routing.workcenter`, removes the help from the `worksheet` field to set it into the view. This way, the tooltip doesn't appear each time the user cursor is placed in front of the pdf in the workorder tablet view (`mpr_workorder`). task-2225362 closes odoo/odoo#48903 Signed-off-by: Simon Lejeune (sle) --- addons/mrp/models/mrp_routing.py | 2 +- addons/mrp/views/mrp_routing_views.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mrp/models/mrp_routing.py b/addons/mrp/models/mrp_routing.py index 0a07607d6a6..fa0a8abdb04 100644 --- a/addons/mrp/models/mrp_routing.py +++ b/addons/mrp/models/mrp_routing.py @@ -50,7 +50,7 @@ class MrpRoutingWorkcenter(models.Model): company_id = fields.Many2one( 'res.company', 'Company', readonly=True, related='routing_id.company_id', store=True) - worksheet = fields.Binary('PDF', help="Upload your PDF file.") + worksheet = fields.Binary('PDF') worksheet_type = fields.Selection([ ('pdf', 'PDF'), ('google_slide', 'Google Slide')], string="Work Sheet", default="pdf", diff --git a/addons/mrp/views/mrp_routing_views.xml b/addons/mrp/views/mrp_routing_views.xml index fbd03611fbf..a11d9577fb9 100644 --- a/addons/mrp/views/mrp_routing_views.xml +++ b/addons/mrp/views/mrp_routing_views.xml @@ -55,7 +55,7 @@ - +