From dc0741427cd4b3dcf1dba52357e649bc23b06414 Mon Sep 17 00:00:00 2001 From: "Ahmed Khalaf (ahkh)" Date: Fri, 7 Oct 2022 14:49:23 +0000 Subject: [PATCH] [IMP] mrp{_account}: tooltip changes This commit updates some tooltips in workcenters and operations forms ENT PR: odoo/enterprise#32519 closes odoo/odoo#102936 X-original-commit: 817bf13160cbf06a574c2168d728ea04b10a99f7 Related: odoo/enterprise#32645 Signed-off-by: Arnold Moyaux (arm) --- addons/mrp/models/mrp_routing.py | 2 +- addons/mrp/models/mrp_workcenter.py | 2 +- addons/mrp_account/models/mrp_workcenter.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/mrp/models/mrp_routing.py b/addons/mrp/models/mrp_routing.py index 70701913a8f..bc00d505a8e 100644 --- a/addons/mrp/models/mrp_routing.py +++ b/addons/mrp/models/mrp_routing.py @@ -23,7 +23,7 @@ class MrpRoutingWorkcenter(models.Model): company_id = fields.Many2one('res.company', 'Company', related='bom_id.company_id') worksheet_type = fields.Selection([ ('pdf', 'PDF'), ('google_slide', 'Google Slide'), ('text', 'Text')], - string="Work Sheet", default="text" + string="Worksheet", default="text" ) note = fields.Html('Description') worksheet = fields.Binary('PDF') diff --git a/addons/mrp/models/mrp_workcenter.py b/addons/mrp/models/mrp_workcenter.py index 12b73ef781a..74f108d7177 100644 --- a/addons/mrp/models/mrp_workcenter.py +++ b/addons/mrp/models/mrp_workcenter.py @@ -37,7 +37,7 @@ class MrpWorkcenter(models.Model): help="Gives the sequence order when displaying a list of work centers.") color = fields.Integer('Color') currency_id = fields.Many2one('res.currency', 'Currency', related='company_id.currency_id', readonly=True, required=True) - costs_hour = fields.Float(string='Cost per hour', help='Hourly cost of work center.', default=0.0) + costs_hour = fields.Float(string='Cost per hour', help='Hourly processing cost.', default=0.0) time_start = fields.Float('Setup Time') time_stop = fields.Float('Cleanup Time') routing_line_ids = fields.One2many('mrp.routing.workcenter', 'workcenter_id', "Routing Lines") diff --git a/addons/mrp_account/models/mrp_workcenter.py b/addons/mrp_account/models/mrp_workcenter.py index 3ea2efe810c..3cddf595e66 100644 --- a/addons/mrp_account/models/mrp_workcenter.py +++ b/addons/mrp_account/models/mrp_workcenter.py @@ -9,4 +9,4 @@ class MrpWorkcenter(models.Model): costs_hour_account_id = fields.Many2one( 'account.analytic.account', string='Analytic Account', - help="Fill this only if you want automatic analytic accounting entries on production orders.") + help="Posts analytical accounting entries in real time for both component and operational costs.")