-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathrepair_views.xml
More file actions
33 lines (33 loc) · 1.48 KB
/
Copy pathrepair_views.xml
File metadata and controls
33 lines (33 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_repair_order_form_inherit" model="ir.ui.view">
<field name="name">repair.order.form.inherit.operations - repair_service</field>
<field name="model">repair.order</field>
<field name="inherit_id" ref="repair.view_repair_order_form" />
<field name="arch" type="xml">
<xpath expr="//notebook/page[@name='parts']" position="after">
<page string="Services">
<field
name="repair_service_ids"
readonly="state in ('cancel', 'done')"
>
<list editable="bottom" default_order="sequence asc, id asc">
<field name="sequence" widget="handle" />
<field name="product_id" />
<field
name="display_name"
readonly="repair_id.state in ('cancel', 'done')"
/>
<field
name="product_uom_category_id"
column_invisible="True"
/>
<field name="product_uom" />
<field name="product_uom_qty" string="Quantity" />
</list>
</field>
</page>
</xpath>
</field>
</record>
</odoo>