From c0a36428a4eceac2a9d960ba8a20e20cc63bfe47 Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Tue, 21 Oct 2008 13:11:46 +0200 Subject: [PATCH] Removed buttons on move: * since internal packing is now available * ensure more consistency with packings --- move.py | 5 ----- move.xml | 20 ++------------------ 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/move.py b/move.py index 878d455e47..1b32b7d2cd 100644 --- a/move.py +++ b/move.py @@ -72,11 +72,6 @@ class Move(OSV): def __init__(self): super(Move, self).__init__() - self._rpc_allowed += [ - 'set_state_done', - 'set_state_draft', - 'set_state_cancel', - ] self._sql_constraints += [ ('check_move_qty_pos', 'CHECK(quantity >= 0.0)', 'Move quantity must be positive'), diff --git a/move.xml b/move.xml index 28d695abbc..1b6d462eba 100644 --- a/move.xml +++ b/move.xml @@ -29,24 +29,8 @@