Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.1
Category
Product
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 08:42:54
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Simone Orsi, Weblate, OCA-git-bot, oca-ci, trisdoan
Odoo dependencies
Python dependencies
openupgradelib
System dependencies
None
Required by
sell_only_by_packaging
Description
The creation/update of sale order line will be blocked (by constraints)
if the data on the sale.order.line does not fit with the configuration
of the product's packagings.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_product_packaging_level_form product.packaging.level form Inherits product_packaging_level.view_product_packaging_level_form
view_product_packaging_level_list product.packaging.level list Inherits product_packaging_level.view_product_packaging_level_list
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • sales Boolean
    compute='_compute_sales' default=None help='If true, the packaging can be used for sales orders' readonly=False store=True
Public methods (0)

No public methods.

New fields (2)
  • can_be_sold Boolean
    default=True string='Can be sold'
  • packaging_ids One2many → product.packaging
    comodel_name='product.packaging' inverse_name='packaging_level_id'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…