blob: c25df973d78b970e80569a0e9c703e57099ff602 (
plain)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_warehouse" model="ir.ui.view">
<field name="name">stock.warehouse</field>
<field name="model">stock.warehouse</field>
<field name="arch" type="xml">
<form string="Warehouse">
<sheet>
<div class="oe_button_box" name="button_box">
<button name="action_view_all_routes"
string="Routes"
icon="fa-refresh"
class="oe_stat_button"
type="object"/>
</div>
<widget name="web_ribbon" title="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<label for="name" class="oe_edit_only"/>
<h1><field name="name"/></h1>
<group>
<group>
<field name="active" invisible="1"/>
<field name="code"/>
</group>
<group>
<field name="company_id" groups="base.group_multi_company" options="{'no_create': True}"/>
<field name="partner_id"/>
</group>
</group>
<notebook colspan="4" groups="stock.group_adv_location">
<page string="Warehouse Configuration" name="warehouse_config" colspan="4">
<group colspan="4">
<group string="Shipments">
<field name="reception_steps" widget='radio'/>
<field name="delivery_steps" widget='radio'/>
</group>
<field name="show_resupply" invisible="1"/>
<group name="group_resupply" string="Resupply" attrs="{'invisible': [('show_resupply', '!=', True)]}">
<field name="warehouse_count" invisible="1"/>
<field name="resupply_wh_ids" attrs="{'invisible': [('show_resupply', '!=', True)]}" domain="[('id', '!=', id)]" widget='many2many_checkboxes'/>
</group>
</group>
</page>
<page string="Technical Information" name="technical_info" groups='base.group_no_one'>
<group>
<group string="Locations">
<field name="view_location_id" string="Warehouse view location" readonly="1" required="0"/>
<field name="lot_stock_id" readonly="1" required="0"/>
<field name="wh_input_stock_loc_id" readonly="1"/>
<field name="wh_qc_stock_loc_id" readonly="1"/>
<field name="wh_pack_stock_loc_id" readonly="1"/>
<field name="wh_output_stock_loc_id" readonly="1"/>
</group>
<group string="Operation Types">
<field name="in_type_id" readonly="1"/>
<field name="int_type_id" readonly="1"/>
<field name="pick_type_id" readonly="1"/>
<field name="pack_type_id" readonly="1"/>
<field name="out_type_id" readonly="1"/>
</group>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<record id="view_warehouse_tree" model="ir.ui.view">
<field name="name">stock.warehouse.tree</field>
<field name="model">stock.warehouse</field>
<field name="arch" type="xml">
<tree string="Warehouse">
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="active" invisible="1"/>
<field name="lot_stock_id" groups="stock.group_stock_multi_locations"/>
<field name="partner_id"/>
<field name="company_id" groups="base.group_multi_company"/>
</tree>
</field>
</record>
<record id="stock_warehouse_view_search" model="ir.ui.view">
<field name="name">stock.warehouse.search</field>
<field name="model">stock.warehouse</field>
<field name="arch" type="xml">
<search string="Warehouse">
<field name="name"/>
<filter string="Archived" name="inactive" domain="[('active','=',False)]"/>
</search>
</field>
</record>
<record id="action_warehouse_form" model="ir.actions.act_window">
<field name="name">Warehouses</field>
<field name="res_model">stock.warehouse</field>
<field name="type">ir.actions.act_window</field>
<field name="view_id" ref="view_warehouse_tree"/>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Define a new warehouse
</p>
</field>
</record>
<menuitem action="action_warehouse_form" id="menu_action_warehouse_form"
parent="menu_warehouse_config" sequence="1"/>
</odoo>
|