[IMP] account, crm, sale, sales_team, website: Rename the module 'sale_contract' to 'sale_subscription' and 'website_contract' to 'website_subscription'.
This commit is contained in:
@@ -447,7 +447,7 @@
|
||||
<span class="fa fa-copy fa-4x"></span>
|
||||
<h3><strong>Contracts & Subscriptions</strong></h3>
|
||||
<p>Manage time & material contracts or fixed-price recurring subscriptions.</p>
|
||||
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'sale_contract')"
|
||||
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'sale_subscription')"
|
||||
class="btn odoo_purple">
|
||||
<span class="fa fa-arrow-circle-o-down"/> Install Now
|
||||
</a>
|
||||
|
||||
@@ -305,12 +305,12 @@
|
||||
</span>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<t t-if="not is_module_installed('website_contract')">
|
||||
<t t-if="not is_module_installed('website_subscription')">
|
||||
<span class="text-muted">If you sell subscriptions (whether it's invoiced annually or monthly), activate the
|
||||
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'website_contract')">Subscription Management</a> app.
|
||||
<a t-att-href="prepare_backend_url('base.open_module_tree', 'form', 'website_subscription')">Subscription Management</a> app.
|
||||
</span>
|
||||
</t>
|
||||
<t t-if="is_module_installed('website_contract')">
|
||||
<t t-if="is_module_installed('website_subscription')">
|
||||
<h4><strong>Subscriptions</strong></h4>
|
||||
<p>
|
||||
Use subscription for recurring billing.
|
||||
|
||||
@@ -69,7 +69,7 @@ class SaleConfigSettings(models.TransientModel):
|
||||
oldname='deposit_product_id_setting',
|
||||
help='Default product used for payment advances')
|
||||
auto_done_setting = fields.Boolean("Lock Confirmed Orders")
|
||||
module_sale_contract = fields.Boolean("Subscriptions")
|
||||
module_sale_subscription = fields.Boolean("Subscriptions")
|
||||
module_website_sale_digital = fields.Boolean("Sell digital products - provide downloadable content on your customer portal")
|
||||
|
||||
group_multi_currency = fields.Boolean("Multi-Currencies", implied_group='base.group_multi_currency')
|
||||
|
||||
@@ -468,7 +468,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='sale_contract']" position="after">
|
||||
<xpath expr="//div[@id='sale_subscription']" position="after">
|
||||
<div class="col-xs-12 col-md-6 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_account_accountant"/>
|
||||
|
||||
@@ -14,5 +14,5 @@ class SaleConfigSettings(models.TransientModel):
|
||||
module_sale = fields.Boolean("Sales")
|
||||
module_website_sign = fields.Boolean("eSign")
|
||||
module_helpdesk = fields.Boolean("Helpdesk")
|
||||
module_sale_contract = fields.Boolean("Subscriptions")
|
||||
module_sale_subscription = fields.Boolean("Subscriptions")
|
||||
module_account_accountant = fields.Boolean("Accounting")
|
||||
|
||||
@@ -59,12 +59,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-6 o_setting_box" id="sale_contract">
|
||||
<div class="col-xs-12 col-md-6 o_setting_box" id="sale_subscription">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_sale_contract" widget="upgrade_boolean"/>
|
||||
<field name="module_sale_subscription" widget="upgrade_boolean"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_sale_contract"/>
|
||||
<label for="module_sale_subscription"/>
|
||||
<div class="text-muted">
|
||||
Sell recurring services with automated billing
|
||||
</div>
|
||||
|
||||
@@ -43,7 +43,7 @@ class WebsiteConfigSettings(models.TransientModel):
|
||||
module_website_slides = fields.Boolean("Slides")
|
||||
module_website_hr_recruitment = fields.Boolean("Jobs")
|
||||
module_website_sale = fields.Boolean("eCommerce")
|
||||
module_website_contract = fields.Boolean("Subscriptions")
|
||||
module_website_subscription = fields.Boolean("Subscriptions")
|
||||
module_website_event_sale = fields.Boolean("Event Tickets")
|
||||
|
||||
favicon = fields.Binary('Favicon', related='website_id.favicon')
|
||||
|
||||
@@ -267,10 +267,10 @@
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-6 o_setting_box" id="subscriptions_install_setting">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_website_contract" widget="upgrade_boolean"/>
|
||||
<field name="module_website_subscription" widget="upgrade_boolean"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_website_contract"/>
|
||||
<label for="module_website_subscription"/>
|
||||
<div class="text-muted">
|
||||
Sell recurring services with automated billing and payments
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user