Add new group "Stock Force Assignment" for issue961

This commit is contained in:
Cédric Krier committed 2009-10-16 21:16:04 +02:00
1 parent 85d7c22da7
commit 876ead800d
3 files changed
+8 -4

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
* Add new group "Stock Force Assignment"
* Migrate packing* objects and tables to shipment*
* Return move id in create_move of inventory line
+3 -3
View File
@@ -953,7 +953,7 @@ this repository contains the full copyright notices and license terms. -->
id="shipmentout_trans_waiting_assigned_force">
<field name="act_from" ref="shipmentout_act_waiting"/>
<field name="act_to" ref="shipmentout_act_assigned"/>
<field name="group" ref="group_stock"/>
<field name="group" ref="group_stock_force_assignment"/>
<field name="signal">force_assign</field>
<field name="condition">assign_force()</field>
</record>
@@ -1165,7 +1165,7 @@ this repository contains the full copyright notices and license terms. -->
id="shipmentinternal_trans_waiting_assigned_force">
<field name="act_from" ref="shipmentinternal_act_waiting"/>
<field name="act_to" ref="shipmentinternal_act_assigned"/>
<field name="group" ref="group_stock"/>
<field name="group" ref="group_stock_force_assignment"/>
<field name="signal">force_assign</field>
<field name="condition">assign_force()</field>
</record>
@@ -1337,7 +1337,7 @@ this repository contains the full copyright notices and license terms. -->
id="shipment_in_return_trans_waiting_assigned_force">
<field name="act_from" ref="shipment_in_return_act_waiting"/>
<field name="act_to" ref="shipment_in_return_act_assigned"/>
<field name="group" ref="group_stock"/>
<field name="group" ref="group_stock_force_assignment"/>
<field name="signal">force_assign</field>
<field name="condition">assign_force()</field>
</record>
+4 -1
View File
@@ -9,8 +9,11 @@ this repository contains the full copyright notices and license terms. -->
<record model="res.group" id="group_stock">
<field name="name">Stock</field>
</record>
<record model="res.group" id="group_stock_force_assignment">
<field name="name">Stock Force Assignment</field>
</record>
<record model="res.user" id="res.user_admin">
<field name="groups" eval="[('add', ref('group_stock_admin')), ('add', ref('group_stock'))]"/>
<field name="groups" eval="[('add', ref('group_stock_admin')), ('add', ref('group_stock')), ('add', ref('group_stock_force_assignment'))]"/>
</record>
<menuitem name="Inventory Management" sequence="3" id="menu_stock"