[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:
@@ -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(%)',
|
||||
|
||||
Reference in New Issue
Block a user