Files
tryton/stock.xml
T
2012-10-19 13:19:18 +02:00

45 lines
1.8 KiB
XML

<?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="move_view_list_shipment">
<field name="model">stock.move</field>
<field name="type">tree</field>
<field name="priority" eval="20"/>
<field name="arch" type="xml">
<![CDATA[
<tree string="Moves">
<field name="product"/>
<field name="from_location"/>
<field name="to_location"/>
<field name="quantity"/>
<field name="uom"/>
<field name="state"/>
<field name="purchase_exception_state"/>
<field name="unit_digits" tree_invisible="1"/>
</tree>
]]>
</field>
</record>
<record model="ir.model.access" id="access_purchase_group_stock">
<field name="model" search="[('model', '=', 'purchase.purchase')]"/>
<field name="group" ref="stock.group_stock"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_delete" eval="False"/>
</record>
<record model="ir.model.access" id="access_purchase_line_group_stock">
<field name="model" search="[('model', '=', 'purchase.line')]"/>
<field name="group" ref="stock.group_stock"/>
<field name="perm_read" eval="True"/>
<field name="perm_write" eval="False"/>
<field name="perm_create" eval="False"/>
<field name="perm_delete" eval="False"/>
</record>
</data>
</tryton>