| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<templates> |
| 3 |
<t t-inherit="stock_account.StockValuationReport" t-inherit-mode="extension"> |
| 4 |
<xpath expr="//t[@t-call='stock_account.StockValuationReport.InventoryLoss']" position="after"> |
| 5 |
<t t-if="data.cost_of_production" t-call="mrp_account.StockValuationReport.CostOfProduction"/> |
| 6 |
</xpath> |
| 7 |
</t> |
| 8 |
|
| 9 |
<t t-name="mrp_account.StockValuationReport.CostOfProduction"> |
| 10 |
<StockValuationReportLine |
| 11 |
label.translate="Cost of Production" |
| 12 |
level="0" |
| 13 |
displayDebitCredit="true" |
| 14 |
onClickMethod.bind="openCostOfProduction" |
| 15 |
sublines="data.cost_of_production.lines" |
| 16 |
value="data.cost_of_production.value"/> |
| 17 |
<t t-call="stock_account.StockValuationReport.EmptyLine"/> |
| 18 |
</t> |
| 19 |
</templates> |