summaryrefslogtreecommitdiff
path: root/addons/stock/static/src
diff options
context:
space:
mode:
authorHetal Dhanak <hdh@odoo.com>2019-05-24 07:09:37 +0000
committerHetal Dhanak <hdh@odoo.com>2019-08-23 11:06:10 +0000
commitc38703f4e49bca4f7609049c25a744d2dd80dfbb (patch)
tree88b655cec381b2de8f0abeded53234cb23d2c7fc /addons/stock/static/src
parent9fc78879083e87aba2a08a8d86890796cda965c7 (diff)
[IMP] stock: remove colors from Traceability Report
Task-1943397
Diffstat (limited to 'addons/stock/static/src')
-rw-r--r--addons/stock/static/src/xml/stock_traceability_report_line.xml8
1 files changed, 2 insertions, 6 deletions
diff --git a/addons/stock/static/src/xml/stock_traceability_report_line.xml b/addons/stock/static/src/xml/stock_traceability_report_line.xml
index 8db2d344084..fa39b9c3087 100644
--- a/addons/stock/static/src/xml/stock_traceability_report_line.xml
+++ b/addons/stock/static/src/xml/stock_traceability_report_line.xml
@@ -20,10 +20,6 @@
<t t-set="domainClass" t-value="'o_stock_reports_domain_line_1'"/>
</t>
- <t t-set="span_color" t-value="'color: #666666;'"/>
- <t t-if="l.usage == 'in'"><t t-set="span_color" t-value="'color: #3c763d;'"/></t>
- <t t-if="l.usage == 'out'"><t t-set="span_color" t-value="'color: #a94442;'"/></t>
-
<tr t-att-data-unfold="l.unfoldable" t-att-data-parent_id="l.parent_id" t-att-data-id="l.id" t-att-data-model_id="l.model_id" t-att-data-model="l.model" t-att-class="trclass" t-att-data-lot_name="l.lot_name" t-att-data-lot_id="l.lot_id">
<t t-if="l.unfoldable == true"><t t-set="tdclass" t-value="'o_stock_reports_unfoldable'" /></t>
<t t-set="column" t-value="0" />
@@ -47,9 +43,9 @@
</span>
</t>
<t t-if="l.reference != c and l.lot_name != c">
- <t t-if="typeof c == 'string' || typeof c == 'number'"><span t-att-style="span_color">
+ <t t-if="typeof c == 'string' || typeof c == 'number'">
<t t-raw="c"/>
- </span></t>
+ </t>
<t t-if="typeof c != 'string' &amp; typeof c != 'number'"><span t-att-style="c[1]">
<t t-raw="c[0]"/>
</span></t>