Skip to Content
Menu
This question has been flagged
1499 Views

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

Avatar
Discard