Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <data>
- <!--
- Done by RHT on the 03/03/2025
- Need : remove the percentage amount of the down payment and remove the possibility to pay the full amount
- Task : https://www.odoo.com/odoo/project.task/4593401
- Pastbin : https://pastebin.com/X81BXPX7
- -->
- <xpath expr="//button[@name='o_sale_portal_amount_total_button']" position="replace"/>
- <xpath expr="//main[@id='sign-dialog']/div[2]/span" position="replace">
- <span t-if="prepayment_available">
- <span id="o_sale_portal_use_amount_prepayment">
- By paying a <u>down payment</u> of
- <span t-esc="prepayment_amount" t-options="{'widget': 'monetary', 'display_currency': sale_order.currency_id}" class="fw-bold"/>,
- </span>
- </span>
- </xpath>
- <xpath expr="//form[@id='accept']/main/span" position="replace">
- <span>
- En signant, vous acceptez au nom de <b t-field="sale_order.partner_id.commercial_partner_id"/> le contrat et le devis d'un montant de <b data-id="total_amount" t-field="sale_order.amount_total"/> ainsi que les conditions générales.
- </span>
- </xpath>
- </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement