Exclude reference and post_date to check_modify
This commit is contained in:
1 parent
fe75a43b4e
commit
1f889094be
1 file changed
+1
-1
@@ -58,7 +58,7 @@ class Move(ModelSQL, ModelView):
|
||||
|
||||
def __init__(self):
|
||||
super(Move, self).__init__()
|
||||
self._check_modify_exclude = ['state']
|
||||
self._check_modify_exclude = ['state', 'reference', 'post_date']
|
||||
self._constraints += [
|
||||
('check_centralisation', 'period_centralized_journal'),
|
||||
('check_company', 'company_in_move'),
|
||||
|
||||
Reference in new issue
Block a user