Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Base Export Anonymize

Entity: ir.model.fields

Compute Method: _compute_anonymize_in_export

Inputs Method Outputs
  • id
fields_anonymize_model = self.env["ir.model.fields.export.anonymize"]
for rec in self:
            rec.anonymize_in_export = False
            if fields_anonymize_model.search([("field_id", "=", rec.id)]):
                rec.anonymize_in_export = True

Back to entity