This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
stock.xml
49 lines (41 loc) · 1.89 KB
/
stock.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
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="location_view_form">
<field name="model">stock.location</field>
<field name="inherit" ref="stock.location_view_form"/>
<field name="name">location_form</field>
</record>
<record model="ir.model.access" id="access_move_group_production">
<field name="model" search="[('model', '=', 'stock.move')]"/>
<field name="group" ref="group_production"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="True"/>
<field name="perm_create" eval="True"/>
<field name="perm_delete" eval="True"/>
</record>
<record model="ir.action.keyword" id="wizard_open_product_quantities_by_warehouse_keyword_production">
<field name="keyword">form_relate</field>
<field name="model">production,-1</field>
<field name="action" ref="stock.wizard_open_product_quantities_by_warehouse"/>
</record>
<record model="ir.ui.view" id="stock_move_view_form">
<field name="model">stock.move</field>
<field name="inherit" ref="stock.move_view_form"/>
<field name="name">stock_move_form</field>
</record>
</data>
<data noupdate="1">
<!-- Default locations -->
<record model="stock.location" id="location_production">
<field name="name">Production</field>
<field name="code">PROD</field>
<field name="type">production</field>
</record>
<record model="stock.location" id="stock.location_warehouse">
<field name="production_location" ref="location_production"/>
</record>
</data>
</tryton>