diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-10-06 17:03:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-07 08:54:14 +0000 |
| commit | 6e89f6885e127974f59a25965977be0cd31270da (patch) | |
| tree | 7bd8d01be9c1f897ff6532e0e1fdff07ffb34113 /addons | |
| parent | 539dfda3e38f8ddb643d87c000391ed058821f6b (diff) | |
[FIX] mrp: hide Unit Cost on BoM Structure report
Before this commit, Label *Unit Cost* was displayed in the footer for *BoM Structure* report which is not displaying any cost Information.
With this commit we hide *Unit Cost* on *BoM Structure* report.
closes odoo/odoo#59352
X-original-commit: 9ec465e7d3937450bad795cdb69eae52b540b994
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/mrp/report/mrp_report_bom_structure.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mrp/report/mrp_report_bom_structure.xml b/addons/mrp/report/mrp_report_bom_structure.xml index 33e8db3a753..fa56474222a 100644 --- a/addons/mrp/report/mrp_report_bom_structure.xml +++ b/addons/mrp/report/mrp_report_bom_structure.xml @@ -62,7 +62,7 @@ <tr> <td></td> <td name="td_mrp_bom_f"></td> - <td class="text-right"><span><strong>Unit Cost</strong></span></td> + <td t-if="data['report_structure'] != 'bom_structure'" class="text-right o_mrp_prod_cost"><span><strong>Unit Cost</strong></span></td> <td groups="uom.group_uom"></td> <td t-if="data['report_structure'] != 'bom_structure'" class="o_mrp_prod_cost text-right"> <span><t t-esc="data['price']/data['bom_qty']" t-options='{"widget": "monetary", "display_currency": currency}'/></span> |
