Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1706 Widoki

Hello, I'm trying to improve my expenses module, and I would like to say "if the product chosen in the many2one field is "xxx" so span the price "0.53" :

<field name="x_unitamount_deplacement" widget="monetary"> 

    <t t-if="x_product_deplacement=='product_x'">

           <span>0.53</span>                               

    </t>

</field>


Something is wrong in my XML, could you help me ? Thanks

Awatar
Odrzuć