This commit is contained in:
Cédric Krier committed 2008-11-25 00:47:09 +01:00
commit 6d53fa11c5
3 files changed
+6 -5

No files matched your search

+3 -3
View File
@@ -1,3 +1,3 @@
- use a wizard for assignation on customer packing and internal packing,
to display error message if not all lines were assigned (issue540).
- handle withdraw packing
- Use a wizard for assignation on customer packing and internal packing,
to display error message if not all lines were assigned (issue540).
- Handle withdraw packing.
+1
View File
@@ -6,6 +6,7 @@
<field name="name">Complete Inventory</field>
<field name="wiz_name">stock.inventory.complete</field>
<field name="model">stock.inventory</field>
<field name="groups" eval="[('add', ref('group_stock'))]"/>
</record>
<record model="ir.ui.view" id="inventory_view_form">
+2 -2
View File
@@ -196,7 +196,7 @@ this repository contains the full copyright notices and license terms. -->
icon="tryton-cancel"/>
<button string="Draft" name="draft"
states="{'invisible': '''state != 'waiting' ''', 'readonly': '''%(group_stock)d not in groups'''}"
icon="tryton-clear"/>
icon="tryton-go-previous"/>
<button string="Waiting" name="waiting"
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="Force Assign" name="force_assign"
@@ -354,7 +354,7 @@ this repository contains the full copyright notices and license terms. -->
icon="tryton-cancel"/>
<button string="Draft" name="draft"
states="{'invisible': '''state != 'waiting' ''', 'readonly': '''%(group_stock)d not in groups'''}"
icon="tryton-clear"/>
icon="tryton-go-previous"/>
<button string="Waiting" name="waiting"
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="Force Assign" name="force_assign"