Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1703 Visualizzazioni

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
Abbandona