[MIG] initiate branch 18.0
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
from odoo import models, fields, api
|
||||
|
||||
|
||||
class ResPartner(models.Model):
|
||||
_inherit = 'res.partner'
|
||||
|
||||
manual_geolocate = fields.Boolean('Geolocate yourself')
|
||||
|
||||
def geo_localize(self):
|
||||
partners = self.filtered(lambda a: a.manual_geolocate == False)
|
||||
return super(ResPartner, partners).geo_localize()
|
||||
Reference in New Issue
Block a user