[IMP] partner_gogocarto_export_api: refactor partner form view

This commit is contained in:
Stéphan Sainléger
2023-09-01 10:34:53 +02:00
committed by Stéphan Sainléger
parent 33ec7a728c
commit 2c2e2ef12b
3 changed files with 27 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ class ResPartner(models.Model):
""" Inherits partner, adds Gogocarto fields in the partner form, and functions"""
_inherit = 'res.partner'
in_gogocarto = fields.Boolean('In gogocarto')
in_gogocarto = fields.Boolean('Export to Gogocarto')
def _get_gogocarto_domain(self, company_id):
# To OVERRIDE in sub_modules to customize the partner selection