|
|
@ -104,7 +104,13 @@ class ResPartner(models.Model): |
|
|
|
|
|
|
|
self._compute_member_status() |
|
|
|
|
|
|
|
|
|
|
|
@api.constrains('phone') |
|
|
|
def _onchange_phone(self): |
|
|
|
pass |
|
|
|
|
|
|
|
@api.constrains('mobile') |
|
|
|
def _onchange_mobile(self): |
|
|
|
pass |
|
|
|
@api.model |
|
|
|
def create(self, values): |
|
|
|
res = super(ResPartner, self).create(values) |
|
|
|