mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright 2020 ACSONE SA/NV
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
|
|
|
<odoo>
|
|
|
|
<record model="ir.ui.view" id="contract_contract_resiliate_form_view">
|
|
<field name="model">contract.contract.resiliate</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Contract Contract Resiliate">
|
|
<group>
|
|
<field name="contract_id" invisible="True"/>
|
|
<field name="resiliate_comment_required" invisible="True"/>
|
|
<field name="resiliate_date"/>
|
|
<field name="resiliate_reason_id" widget="selection"/>
|
|
<field name="resiliate_comment" attrs="{'required': [('resiliate_comment_required', '=', True)]}"/>
|
|
</group>
|
|
<footer>
|
|
<button name="resiliate_contract"
|
|
string="Resiliate Contract"
|
|
class="btn-primary"
|
|
confirm="Are you sure you want to resiliate this contract?"
|
|
type="object"/>
|
|
<button string="Cancel"
|
|
class="btn-default"
|
|
special="cancel"/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
|
|
</odoo>
|