mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[MIG] subscription_oca: Migration to 16.0
This commit is contained in:
@@ -28,13 +28,11 @@
|
||||
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<field
|
||||
name="description"
|
||||
placeholder="Add new description..."
|
||||
nolabel="1"
|
||||
/>
|
||||
</group>
|
||||
<field
|
||||
name="description"
|
||||
placeholder="Add new description..."
|
||||
nolabel="1"
|
||||
/>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
|
||||
@@ -8,34 +8,32 @@
|
||||
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button
|
||||
name="action_view_product_ids"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-pencil-square-o"
|
||||
>
|
||||
<field
|
||||
name="product_ids_count"
|
||||
widget="statinfo"
|
||||
string="Products"
|
||||
/>
|
||||
</button>
|
||||
<button
|
||||
name="action_view_subscription_ids"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-pencil-square-o"
|
||||
>
|
||||
<field
|
||||
name="subscription_count"
|
||||
widget="statinfo"
|
||||
string="Subscriptions"
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
</group>
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button
|
||||
name="action_view_product_ids"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-pencil-square-o"
|
||||
>
|
||||
<field
|
||||
name="product_ids_count"
|
||||
widget="statinfo"
|
||||
string="Products"
|
||||
/>
|
||||
</button>
|
||||
<button
|
||||
name="action_view_subscription_ids"
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
icon="fa-pencil-square-o"
|
||||
>
|
||||
<field
|
||||
name="subscription_count"
|
||||
widget="statinfo"
|
||||
string="Subscriptions"
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
<div class="oe_title">
|
||||
<h1>
|
||||
<field
|
||||
@@ -91,13 +89,11 @@
|
||||
</group>
|
||||
</page>
|
||||
<page string="Terms and Conditions">
|
||||
<group>
|
||||
<field
|
||||
nolabel="1"
|
||||
name="description"
|
||||
placeholder="Terms and Conditions"
|
||||
/>
|
||||
</group>
|
||||
<field
|
||||
nolabel="1"
|
||||
name="description"
|
||||
placeholder="Terms and Conditions"
|
||||
/>
|
||||
</page>
|
||||
</notebook>
|
||||
|
||||
|
||||
@@ -26,8 +26,7 @@
|
||||
<field
|
||||
name="stage_id"
|
||||
widget="statusbar"
|
||||
clickable="1"
|
||||
options="{'fold_field': 'fold'}"
|
||||
options="{'fold_field': 'fold', 'clickable': '1'}"
|
||||
/>
|
||||
|
||||
</header>
|
||||
@@ -104,6 +103,7 @@
|
||||
name="recurring_next_date"
|
||||
attrs="{'invisible': ['|', ('recurring_next_date', '=', False), ('in_progress', '=', False)]}"
|
||||
/>
|
||||
<field name="company_id" invisible="1" />
|
||||
<field
|
||||
name="company_id"
|
||||
options="{'no_create': True}"
|
||||
|
||||
Reference in New Issue
Block a user