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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="shipment_processor_form_view" model="ir.ui.view">
<field name="name">shipment.processor.form.view</field>
<field name="model">shipment.processor</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Process Document">
<!-- Invisible fields -->
<field name="date" invisible="1" />
<button name="select_all" string="Copy all" colspan="2" type="object" icon="gtk-jump-to" />
<button name="deselect_all" string="Clear all" colspan="2" type="object" icon="gtk-undo" />
<separator colspan="4" string="Products" />
<field name="family_ids" nolabel="1" colspan="4" mode="tree" />
<separator colspan="4" string="Actions" />
<label colspan="2"> </label>
<button special="cancel" icon="gtk-cancel" string="Cancel" colspan="1" />
<button name="do_create_shipment" type="object" string="Create shipment" icon="gtk-go-forward" colspan="1" />
<field name="additional_line_ids" colspan="4" nolabel="1" mode="tree" string="Additional Items" />
</form>
</field>
</record>
<record id="shipment_family_processor_tree_view" model="ir.ui.view">
<field name="name">shipment.family.processor.tree.view</field>
<field name="model">shipment.family.processor</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree
editable="bottom"
hide_new_button="1"
hide_delete_button="1"
string="Pack Families"
colors="red:integrity_status not in ('ok', 'empty')"
>
<field name="sale_order_id" readonly="1" />
<field name="ppl_id" readonly="1" />
<field name="from_pack" readonly="1" />
<field name="to_pack" readonly="1" />
<field name="num_of_packs" readonly="1" />
<field name="pack_type" readonly="1" />
<field name="volume" readonly="1" />
<field name="weight" readonly="1" />
<field name="selected_number" string="Number to Ship" />
<field name="selected_weight" string="Weight to Ship [kg]" readonly="1" />
<field name="integrity_status" />
</tree>
</field>
</record>
<record id="shipment_additional_line_processor_tree_view" model="ir.ui.view">
<field name="name">shipment.additional.line.processor.tree.view</field>
<field name="model">shipment.additional.line.processor</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree
string="Additional Items"
editable="bottom"
>
<field name="name"/>
<field name="quantity" />
<field name="uom_id" />
<field name="comment"/>
<field name="volume"/>
<field name="weight" />
</tree>
</field>
</record>
</data>
</openerp>
|