Sale Subscription¶
Payment Checkout Inherit¶
Remove Is Subscription Note¶
ID: mint_system.sale_subscription.payment_checkout_inherit.remove_is_subscription_note
Inherit ID: sale_subscription.payment_checkout_inherit
Sale Subscription Order View Form¶
Remove Upsell Button¶
ID: mint_system.sale_subscription.sale_subscription_order_view_form.remove_upsell_button
Inherit ID: sale_subscription.sale_subscription_order_view_form
Show End Date¶
ID: mint_system.sale_subscription.sale_subscription_order_view_form.show_end_date
Inherit ID: sale_subscription.sale_subscription_order_view_form
<data priority="50">
<xpath expr="//group[@name='sales_person']//field[@name='to_renew']" position="before">
<field name="end_date" attrs="{'invisible': [('recurrence_id', '=', False)]}"/>
</xpath>
</data>
Show Template Id¶
ID: mint_system.sale_subscription.sale_subscription_order_view_form.show_template_id
Inherit ID: sale_subscription.sale_subscription_order_view_form
<data
priority="50"
>
<field name="sale_order_template_id" position="attributes">
<attribue name="attrs">{'invisible': [('subscription_management', '=', 'upsell')]}</attribue>
</field>
</data>
Sale Subscription Template View Form¶
Journal Id Domain¶
ID: mint_system.sale_subscription.sale_subscription_template_view_form.journal_id_domain
Inherit ID: sale_subscription.sale_subscription_template_view_form
<data priority="50">
<xpath expr="//field[@name='journal_id']" position="attributes">
<attribute name="attrs">{'domain': []}</attribute>
</xpath>
</data>
Subscription Portal Content¶
Conditional Payment Form¶
ID: mint_system.sale_subscription.subscription_portal_content.conditional_payment_form
Inherit ID: sale_subscription.subscription_portal_content
<data priority="50">
<xpath expr="//div[@class='clearfix']" position="attributes">
<attribute name="t-elif">(providers_sudo or tokens_sudo) and (next_billing_details.get('next_invoice_amount')> 0) and sale_order.state != 'sale'</attribute>
</xpath>
</data>