forked from Yaltik/golem
small refactorings
This commit is contained in:
parent
8fa32e185e
commit
96b844b6af
@ -179,7 +179,7 @@ class GolemFamily(models.Model):
|
||||
if street_id:
|
||||
|
||||
family.area_id = street_id.area_id
|
||||
member.area_from_street = True
|
||||
family.area_from_street = True
|
||||
@api.constrains('street')
|
||||
def save_street(self):
|
||||
""" Save street if no exist """
|
||||
|
Loading…
Reference in New Issue
Block a user