commit | dd8fff499d84388fe8b91a8910dd95e574c20b3e | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Tue Sep 04 09:07:51 2018 -0700 |
committer | Scott Baker <smbaker@gmail.com> | Tue Sep 04 09:08:17 2018 -0700 |
tree | 0797d659897e8ab6fdbd3d2078e59fab45bc75e4 | |
parent | aa8865ee9bd08ce00d620c93c7e634bb635290c4 [diff] [blame] |
SEBA-227 do not validate deleted objects Change-Id: I8de623f0904c5fd52296acf02dd98379065c11bc
diff --git a/lib/xos-genx/xosgenx/targets/service.xtarget b/lib/xos-genx/xosgenx/targets/service.xtarget index 1e83747..1027680 100644 --- a/lib/xos-genx/xosgenx/targets/service.xtarget +++ b/lib/xos-genx/xosgenx/targets/service.xtarget
@@ -91,7 +91,8 @@ except AttributeError: base_save_in_attic = False - self.full_clean() + if not self.deleted: + self.full_clean() if not base_save_in_attic: super({{ m.name }}{{ legacy_tag }}, self).save(*args, **kwds)