Repository
OCA/partner-contact · module folder · Try on Runboat
Module version
1.1.0
Category
Other
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/partner-contact
Last tracking update
2026-08-07 07:24:57
Authors
Odoo Community Association (OCA), Compassion CH
Maintainers
Odoo Community Association (OCA), Compassion CH
Committers
Ronald Portier, Emanuel Cino, OCA-git-bot, oca-travis
Odoo dependencies
odoo/odoo:
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_smart_tagger_form Smart Tags res.partner.category form Inherits base.view_partner_category_form
view_smart_tagger_tree Smart Tags res.partner.category tree Inherits base.view_partner_category_list
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (7)
  • partner_ids Many2many → res.partner
    args: 'res.partner', 'res_partner_res_partner_category_rel', 'category_id', 'partner_id'
  • smart Boolean
    help='Enable this to automatically assign the category on partners matching a given filter domain or SQL query.'
  • tag_filter_condition_id Many2one → ir.filters
    oldname='condition_id' args: 'ir.filters', 'Domain filter'
  • tag_filter_join_operator Selection
    default='or' required=True args: [('and', 'AND (must satisfy both SQL and domain filter)'), ('or', 'OR (can satisfy either SQL or domain filter)')], 'JOIN operator'
  • tag_filter_partner_field Char
    default='partner_id' help='Relational field used on the filter object to find the partners.' oldname='partner_field'
  • tag_filter_sql_query Text
    help='Can be used instead of the filter for finding the relevant partners. The given SQL query should only return partner ids rows.' args: 'SQL query'
  • tagged_partner_count Integer
    compute='_compute_number_tags' oldname='number_tags' stored=True
Public methods (9)
  • check_condition(self)
    @api.constrains('tag_filter_condition_id', 'tag_filter_partner_field')
  • check_sql_query(self)
    @api.constrains('tag_filter_sql_query')
  • create(self, vals)
    @api.model
  • get_partners_from_ir_filter(self)
  • get_partners_from_sql(self)
  • open_tags(self)
    @api.multi
  • update_all_smart_tags(self)
    @api.model
  • update_partner_tags(self)
    @api.multi
  • write(self, vals)
    @api.multi