1
<?xml version="1.0" encoding="UTF-8"?>
5
<record id="tender_form" model="ir.ui.view">
6
<field name="name">tender.form</field>
7
<field name="model">tender</field>
8
<field name="type">form</field>
9
<field name="priority">300</field>
10
<field name="inherit_id" ref="tender_flow.tender_form" />
11
<field name="arch" type="xml">
13
<xpath expr="/form" position="attributes">
14
<attribute name='hide_delete_button'>1</attribute>
21
<record id="tender_tree" model="ir.ui.view">
22
<field name="name">tender.tree</field>
23
<field name="model">tender</field>
24
<field name="type">tree</field>
25
<field name="priority">300</field>
26
<field name="inherit_id" ref="tender_flow.tender_tree" />
27
<field name="arch" type="xml">
29
<xpath expr="/tree" position="attributes">
30
<attribute name='hide_delete_button'>1</attribute>
32
<xpath expr="/tree/field[@name='state']" position="after">
33
<button name="delete_button" type="object" icon="gtk-del" string="Delete"
34
states = 'draft' confirm='Do you really want to delete selected record(s) ?' />
b'\\ No newline at end of file'