OLD | NEW |
(Empty) | |
| 1 <?xml version="1.0"?> |
| 2 <!-- This file is part of Tryton. The COPYRIGHT file at the top level of |
| 3 this repository contains the full copyright notices and license terms. --> |
| 4 <tryton> |
| 5 <data> |
| 6 |
| 7 <record model="ir.ui.view" id="location_view_form"> |
| 8 <field name="model">stock.location</field> |
| 9 <field name="inherit" ref="stock.location_view_form"/> |
| 10 <field name="arch" type="xml"> |
| 11 <![CDATA[ |
| 12 <data> |
| 13 <xpath expr="/form/field[@name='storage_location']" |
| 14 position="after"> |
| 15 <newline/> |
| 16 <label name="production_location"/> |
| 17 <field name="production_location"/> |
| 18 </xpath> |
| 19 </data> |
| 20 ]]> |
| 21 </field> |
| 22 </record> |
| 23 |
| 24 <record model="ir.model.access" id="access_move_group_production"> |
| 25 <field name="model" search="[('model', '=', 'stock.move')]"/> |
| 26 <field name="group" ref="group_production"/> |
| 27 <field name="perm_read" eval="True"/> |
| 28 <field name="perm_write" eval="True"/> |
| 29 <field name="perm_create" eval="True"/> |
| 30 <field name="perm_delete" eval="True"/> |
| 31 </record> |
| 32 |
| 33 </data> |
| 34 <data noupdate="1"> |
| 35 |
| 36 <!-- Default locations --> |
| 37 <record model="stock.location" id="location_production"> |
| 38 <field name="name">Production</field> |
| 39 <field name="code">PROD</field> |
| 40 <field name="type">production</field> |
| 41 </record> |
| 42 |
| 43 <record model="stock.location" id="stock.location_warehouse"> |
| 44 <field name="production_location" ref="location_production"/> |
| 45 </record> |
| 46 |
| 47 </data> |
| 48 </tryton> |
OLD | NEW |