Reviewers: ,


Please review this at http://codereview.tryton.org/683002/

Affected files:
  M trytond/model/modelsql.py


Index: trytond/model/modelsql.py
===================================================================

--- a/trytond/model/modelsql.py
+++ b/trytond/model/modelsql.py
@@ -408,11 +408,6 @@
             if (isinstance(field, fields.Many2One)
                     and field.model_name == cls.__name__
                     and field.left and field.right):
-                if (field.left in modified_fields
-                        or field.right in modified_fields):
-                    raise Exception('ValidateError',
-                            'You can not update fields: "%s", "%s"' %
-                            (field.left, field.right))
                 if len(new_ids) == 1:
cls._update_tree(new_ids[0], k, field.left, field.right)
                 else:



--
--
[email protected] mailing list

--- You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to