diff --git a/purchase.py b/purchase.py index 81a361ecaf..0df4f67f69 100644 --- a/purchase.py +++ b/purchase.py @@ -1488,7 +1488,9 @@ class Move(OSV): fnct_search='search_supplier', select=1) exception_state = fields.Function('get_exception_state', type='selection', - selection=[('ignored', 'Ignored'), ('duplicated', 'Duplicated')], + selection=[('', ''), + ('ignored', 'Ignored'), + ('duplicated', 'Duplicated')], string='Exception State') def get_purchase(self, cursor, user, ids, name, arg, context=None): diff --git a/purchase.xml b/purchase.xml index 47a4938bbf..c6d30dbb81 100644 --- a/purchase.xml +++ b/purchase.xml @@ -164,7 +164,7 @@ this repository contains the full copyright notices and license terms. --> - +