Sale Subscription
Payment Checkout Inherit
Remove Is Subscription Note
ID: mint_system.sale_subscription.payment_checkout_inherit.remove_is_subscription_note
<?xml version="1.0"?>
<data inherit_id="sale_subscription.payment_checkout_inherit" priority="50">
<label t-if="is_subscription" position="replace"/>
</data>
Source: snippets/sale_subscription.payment_checkout_inherit.remove_is_subscription_note.xml
Sale Subscription Order View Form
Show End Date
ID: mint_system.sale_subscription.sale_subscription_order_view_form.show_end_date
<?xml version="1.0"?>
<data inherit_id="sale_subscription.sale_subscription_order_view_form" 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>
Source: snippets/sale_subscription.sale_subscription_order_view_form.show_end_date.xml
Sale Subscription Template View Form
Journal Id Domain
ID: mint_system.sale_subscription.sale_subscription_template_view_form.journal_id_domain
<?xml version="1.0"?>
<data inherit_id="sale_subscription.sale_subscription_template_view_form" priority="50">
<xpath expr="//field[@name='journal_id']" position="attributes">
<attribute name="attrs">{'domain': []}</attribute>
</xpath>
</data>
Source: snippets/sale_subscription.sale_subscription_template_view_form.journal_id_domain.xml