TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/product-attribute · module folder · Try on Runboat
Module version
1.0.0
Category
Sales/Sales
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/product-attribute
Last tracking update
2026-09-09 17:31:56
Authors
Odoo Community Association (OCA), Aion Tech
Maintainers
Odoo Community Association (OCA), Aion Tech
Committers
Jordi Ballester Alomar, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
- bus
- uom
Python dependencies
None
System dependencies
None
Required by
None
Description
Set UoM in Pricelist Rules.

Code Analysis info_outline

Views touched (2)
XML IDNameModelTypeStatus
product_pricelist_item_form_view Add Pricelist Rule UoM fields to Pricelist Rule form view product.pricelist.item form Inherits product.product_pricelist_item_form_view
product_pricelist_view Add Pricelist Rule UoM fields to Pricelist form view product.pricelist Inherits product.product_pricelist_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (2)
  • uom_id Many2one → uom.uom
    comodel_name='uom.uom' compute='_compute_uom_id' readonly=False store=True string='UoM'
  • uom_min_quantity Float
    compute='_compute_uom_min_quantity' digits='Product Unit' readonly=False store=True string='Min. Quantity in UoM'
Public methods (1)
  • onchange_uom_min_quantity(self)
    @api.onchange('product_id', 'product_tmpl_id', 'uom_id', 'uom_min_quantity')

Loading…