Remove transition from packed to assign because the outgoing moves have been updated.

This commit is contained in:
Cédric Krier committed 2009-01-26 16:47:51 +01:00
1 parent a7a6dcb27f
commit f9fadf6b8f
1 file changed
+2 -8
+2 -8
View File
@@ -207,7 +207,8 @@ this repository contains the full copyright notices and license terms. -->
states="{'invisible': '''state not in ('assigned', 'draft')''', 'readonly': '''%(group_stock)d not in groups''', 'icon': '''state == 'assigned' and 'tryton-go-previous' or state == 'draft' and 'tryton-go-next' or False'''}"/>
<button string="Assign" name="%(wizard_packing_out_assign)d"
type="action"
states="{'invisible': '''state not in ('waiting', 'packed')''', 'readonly': '''%(group_stock)d not in groups''', 'icon': '''state == 'waiting' and 'tryton-go-next' or state == 'packed' and 'tryton-go-previous' or False'''}"/>
states="{'invisible': '''state != 'waiting' ''', 'readonly': '''%(group_stock)d not in groups'''}"
icon="tryton-next"/>
<button string="Make packing" name="packed"
states="{'invisible': '''state != 'assigned' ''', 'readonly': '''%(group_stock)d not in groups'''}"
icon="tryton-go-next"/>
@@ -736,13 +737,6 @@ this repository contains the full copyright notices and license terms. -->
<field name="group" ref="group_stock"/>
<field name="signal">packed</field>
</record>
<record model="workflow.transition"
id="packingout_trans_packed_assigned">
<field name="act_from" ref="packingout_act_packed"/>
<field name="act_to" ref="packingout_act_assigned"/>
<field name="group" ref="group_stock"/>
<field name="signal">assign</field>
</record>
<record model="workflow.transition"
id="packingout_trans_packed_done">
<field name="act_from" ref="packingout_act_packed"/>