You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
335 B

  1. from odoo import models, fields
  2. class Company(models.Model):
  3. _inherit = "res.company"
  4. export_gogocarto_fields = fields.Many2many(
  5. 'ir.model.fields',
  6. domain=[
  7. ('model_id', '=', 'res.partner'),
  8. ('name', 'not in', ['id', 'name', 'partner_longitude', 'partner_latitude'])
  9. ]
  10. )