[FIX] account_margin: display correct tooltip in report

Issue
-----
The tooltip help text doesn't match the actual calculation made in the product margins report.

opw-3792181

closes odoo/odoo#160375

X-original-commit: aa8a769d5bc15e01ae1f37271d16c42e4d18df40
Signed-off-by: Brice Bartoletti (bib) <bib@odoo.com>
This commit is contained in:
Tanguy Quéguineur
2024-04-03 20:38:21 +00:00
parent 294e0d7e2e
commit 13dd9c827e
2 changed files with 2 additions and 2 deletions
@@ -315,5 +315,5 @@ msgstr ""
#. module: product_margin
#: model:ir.model.fields,help:product_margin.field_product_product__total_margin
msgid "Turnover - Standard price"
msgid "Turnover - Total cost"
msgstr ""
@@ -39,7 +39,7 @@ class ProductProduct(models.Model):
normal_cost = fields.Float(compute='_compute_product_margin_fields_values', string='Normal Cost',
help="Sum of Multiplication of Cost price and quantity of Vendor Bills")
total_margin = fields.Float(compute='_compute_product_margin_fields_values', string='Total Margin',
help="Turnover - Standard price")
help="Turnover - Total cost")
expected_margin = fields.Float(compute='_compute_product_margin_fields_values', string='Expected Margin',
help="Expected Sale - Normal Cost")
total_margin_rate = fields.Float(compute='_compute_product_margin_fields_values', string='Total Margin Rate(%)',