Browse Source

[NEW] add logger

nj-12.0-partner_gogocarto_export_api
default 4 years ago
parent
commit
6fa85698f6
  1. 2
      partner_gogocarto_export_api/models/res_partner.py

2
partner_gogocarto_export_api/models/res_partner.py

@ -35,6 +35,7 @@ class ResPartner(models.Model):
continue # Not developped so far continue # Not developped so far
else: else:
continue continue
_logger.debug("PARSER: %s" % parser)
return parser return parser
def _get_export_fields(self, company_id): def _get_export_fields(self, company_id):
@ -44,4 +45,5 @@ class ResPartner(models.Model):
('name', 'in', ['id', 'name', 'partner_longitude', 'partner_latitude'])]) ('name', 'in', ['id', 'name', 'partner_longitude', 'partner_latitude'])])
company_fields = CompanySudo.export_gogocarto_fields company_fields = CompanySudo.export_gogocarto_fields
export_fields = default_fields | company_fields export_fields = default_fields | company_fields
_logger.debug("Export FIELDS: %s" % export_fields)
return export_fields return export_fields
Loading…
Cancel
Save