equal
deleted
inserted
replaced
783 if haseid: |
783 if haseid: |
784 self['eid'] = self.eid |
784 self['eid'] = self.eid |
785 # clear relations cache |
785 # clear relations cache |
786 for rschema, _, role in self.e_schema.relation_definitions(): |
786 for rschema, _, role in self.e_schema.relation_definitions(): |
787 self.clear_related_cache(rschema.type, role) |
787 self.clear_related_cache(rschema.type, role) |
788 |
788 # rest path unique cache |
|
789 try: |
|
790 del self.__unique |
|
791 except AttributeError: |
|
792 pass |
|
793 |
789 # raw edition utilities ################################################### |
794 # raw edition utilities ################################################### |
790 |
795 |
791 def set_attributes(self, _cw_unsafe=False, **kwargs): |
796 def set_attributes(self, _cw_unsafe=False, **kwargs): |
792 assert kwargs |
797 assert kwargs |
793 relations = [] |
798 relations = [] |