mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
@@ -266,35 +266,6 @@
|
|||||||
<field name="is_cancel_allowed" invisible="1" />
|
<field name="is_cancel_allowed" invisible="1" />
|
||||||
<field name="is_un_cancel_allowed" invisible="1" />
|
<field name="is_un_cancel_allowed" invisible="1" />
|
||||||
<field name="is_canceled" invisible="1" />
|
<field name="is_canceled" invisible="1" />
|
||||||
<button
|
|
||||||
name="action_plan_successor"
|
|
||||||
string="Plan Start"
|
|
||||||
type="object"
|
|
||||||
icon="fa-calendar text-success"
|
|
||||||
attrs="{'invisible': [('is_plan_successor_allowed', '=', False)]}"
|
|
||||||
/>
|
|
||||||
<button
|
|
||||||
name="action_stop"
|
|
||||||
string="Stop"
|
|
||||||
type="object"
|
|
||||||
icon="fa-stop text-danger"
|
|
||||||
attrs="{'invisible': [('is_stop_allowed', '=', False)]}"
|
|
||||||
/>
|
|
||||||
<button
|
|
||||||
name="cancel"
|
|
||||||
string="Cancel"
|
|
||||||
type="object"
|
|
||||||
icon="fa-ban text-danger"
|
|
||||||
confirm="Are you sure you want to cancel this line"
|
|
||||||
attrs="{'invisible': [('is_cancel_allowed', '=', False)]}"
|
|
||||||
/>
|
|
||||||
<button
|
|
||||||
name="action_uncancel"
|
|
||||||
string="Un-cancel"
|
|
||||||
type="object"
|
|
||||||
icon="fa-ban text-success"
|
|
||||||
attrs="{'invisible': [('is_un_cancel_allowed', '=', False)]}"
|
|
||||||
/>
|
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
<field
|
<field
|
||||||
|
|||||||
Reference in New Issue
Block a user