mirror of
https://github.com/bringout/oca-ocb-mrp.git
synced 2026-04-25 23:12:08 +02:00
Initial commit: Mrp packages
This commit is contained in:
commit
50d736b3bd
739 changed files with 538193 additions and 0 deletions
32
odoo-bringout-oca-ocb-mrp/mrp/report/report_stock_rule.xml
Normal file
32
odoo-bringout-oca-ocb-mrp/mrp/report/report_stock_rule.xml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<template id="mrp_report_stock_rule" inherit_id="stock.report_stock_rule">
|
||||
<xpath expr="//div[hasclass('o_report_stock_rule_rule')]/t" position="before">
|
||||
<t t-if="rule[0].action == 'manufacture'">
|
||||
<t t-if="rule[1] == 'origin'">
|
||||
<t t-call="stock.report_stock_rule_left_arrow"/>
|
||||
</t>
|
||||
</t>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_report_stock_rule_rule')]/t[last()]" position="after">
|
||||
<t t-if="rule[0].action == 'manufacture'">
|
||||
<t t-if="rule[1] == 'destination'">
|
||||
<t t-call="stock.report_stock_rule_right_arrow"/>
|
||||
</t>
|
||||
</t>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_report_stock_rule_rule_name')]/span" position="before">
|
||||
<t t-if="rule[0].action == 'manufacture'">
|
||||
<i class="fa fa-wrench fa-fw" t-attf-style="color: #{color};"/>
|
||||
</t>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('o_report_stock_rule_legend')]" position="inside">
|
||||
<div class="o_report_stock_rule_legend_line">
|
||||
<div class="o_report_stock_rule_legend_label">Manufacture</div>
|
||||
<div class="o_report_stock_rule_legend_symbol">
|
||||
<div class="fa fa-wrench fa-fw" t-attf-style="color: #{color};"/>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue