mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
16 lines
533 B
XML
16 lines
533 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<template
|
|
id="portal_contract_page"
|
|
inherit_id="contract.portal_contract_page"
|
|
name="My Contract - Qty types"
|
|
>
|
|
<xpath expr="//td[@name='td_quantity']/span" position="attributes">
|
|
<attribute name="t-if">line.qty_type=='fixed'</attribute>
|
|
</xpath>
|
|
<xpath expr="//td[@name='td_quantity']/span" position="after">
|
|
<span t-if="line.qty_type=='variable'">Variable</span>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|