forked from OCA/vertical-construction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stock_picking_delivery_users_view.xml
55 lines (47 loc) · 2.21 KB
/
stock_picking_delivery_users_view.xml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="view_stock_picking_delivery_form">
<field name="name">stock.picking.delivery.form</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_out_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//form[@string='Delivery Orders']/group/group/field[@name='backorder_id']" position="after">
<field name="user_id" invisible="True"/>
</xpath>
<xpath expr="//notebook/page[@string='Products']" position="after">
<page string="Assignment">
<field name="user_ids" nolabel="1" on_change="on_change_user_ids(user_ids)"/>
</page>
</xpath>
</data>
</field>
</record>
<record model="ir.ui.view" id="view_stock_picking_delivery_tree">
<field name="name">stock.picking.delivery.tree</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_out_tree"/>
<field name="arch" type="xml">
<field name="state" position="before">
<field name="user_id"/>
</field>
</field>
</record>
<record model="ir.ui.view" id="view_stock_picking_delivery_calendar">
<field name="name">stock.picking.delivery.calendar</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.stock_picking_calendar"/>
<field name="arch" type="xml">
<data>
<xpath expr="//calendar[@string='Calendar View']" position="replace">
<calendar string="Calendar View" date_start="min_date" date_stop="max_date" color="user_id">
<field name="origin"/>
<field name="partner_id"/>
</calendar>
</xpath>
</data>
</field>
</record>
</data>
</openerp>