Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.0
Category
Product
Folder size
0.07 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-08-07 07:57:03
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Christopher Ormaza, Weblate, OCA Transbot, OCA-git-bot, oca-ci, Stefan
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
product_packaging_tree_view_inherit product.packaging.tree.view.inherit product.packaging tree Inherits product.product_packaging_tree_view
view_product_packaging_add_type_form product.packaging.form product.packaging form Inherits product.product_packaging_form_view
view_product_packaging_type_form product.packaging.type.form product.packaging.type form New
view_product_packaging_type_search product.packaging.type.search product.packaging.type search New
view_product_packaging_type_tree product.packaging.type.tree product.packaging.type tree New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (4)
  • barcode_required_for_gtin Boolean
    compute='_compute_barcode_required_for_gtin' readonly=True
  • packaging_type_id Many2one → product.packaging.type
    default=<expr> ondelete='restrict' required=True args: 'product.packaging.type'
  • qty_per_type Char
    compute='_compute_qty_per_type' string='Qty per package type'
  • type_sequence Integer
    readonly=True related='packaging_type_id.sequence' store=True string='Type sequence'
Public methods (2)
  • default_packaging_type_id(self)
  • name_get(self)

New fields (6)
  • active Boolean
    default=True
  • code Char
    required=True
  • has_gtin Boolean
  • is_default Boolean
  • name Char
    required=True translate=True
  • sequence Integer
    required=True
Public methods (1)
  • name_get(self)

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
233 days ago
Last activity
219 days ago
Repository
OCA/product-attribute
Pull request
[MIG]11.0 mig product packaging type (#2174)