Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
0.1.1
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
Python dependencies
None
System dependencies
None
Required by
None
Description
Production lot custom attributes
================================

This module adds the possibility to easily create custom fields on stock
production lots. Each lot can be linked to an attribute set.
Each attribute has custom fields (for example, you don't need the same field
for a fridge and a camera).
In particular it's used by the Magento Magentoerpconnect module to match the
EAV flexibility of Magento.
This module is inspired by the module product_custom_attributes by
Benoît GUILLOT, Akretion

 

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
lot_attributes_form_view lot.attributes.normal.wizard stock.production.lot form New
lot_form_view_set_button attributes.lot.normal.form stock.production.lot form Inherits stock.view_production_lot_form
open_lot_by_attribute_set_view open.lot.by.attribute.set.view open.lot.by.attribute.set form New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • open_lot_by_attribute(self, cr, uid, ids, context=None)
    Opens a lot 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)
  • open_attributes(self, cr, uid, ids, context=None)
    Open the attributes of an object This method is called when the user presses the Open Attributes button in the form view of the object. It opens a dinamically-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_lot_attributes(self, cr, uid, ids, context=None)

Loading…

Loading…

Loading…

Loading…