TIP: You can type at any time to perform a new search.
Partner Custom Attributes
partner_custom_attributes · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 0.1.0
- Category
- Generic Modules/Others
- Folder size
- 0.02 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com/
- Last tracking update
- 2026-08-07 07:17:47
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza
- Odoo dependencies
- None
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- 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
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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…