Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 122 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 4 Odoo series since 7.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.02 MB
Module directory on disk
Code analysis 7 migration notes 2 models 3 views 0 HTTP endpoints

Description

Partner custom attributes

This module adds the possibility to easily create custom fields on Partners. Each partner can be linked to an attribute set. Each attribute has custom fields.

This module is inspired by the module product_custom_attributes by Benoît GUILLOT, Akretion

Dependencies

Odoo dependencies
None
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
open_partner_by_attribute_set_view open.partner.by.attribute.set.view open.partner.by.attribute.set form New
partner_attributes_form_view partner.attributes.normal.wizard res.partner form New
res_partner_form_view_set_button attributes.partner.normal.form res.partner form Inherits base.view_partner_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (1)
  • open_partner_by_attribute(self, cr, uid, ids, context=None)
    Opens a partner by attributes Returns a custom action built modifying the original one.

New fields (0)

No new fields.

Public methods (3)
  • fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False)
    Dynamically add attributes to the view. Return field_view_get. Modifies dynamically the view to show the attributes. If the users presses the Open Attributes button, the attributes are shown in a new form field. Otherwise, if the attribute set is known beforehand, attributes are added to a new tab in the main form view.
  • open_attributes(self, cr, uid, ids, context=None)
    Open the attributes of an object. Return action. This method is called when the user presses the Open Attributes button in the form view of the object. It opens a dynamically-built form view. :param ids: this is normally a singleton. If a longer list is passed, we consider only the first item.
  • save_and_close_partner_attributes(self, cr, uid, ids, context=None)
    Button to save and close. Return action.

Loading…

Loading…

Loading…