Product Weight Through UoM

product_weight_through_uom
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/11.0/product_weight_through_uom
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, oca-travis, OCA-git-bot, tbaden
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_template_property_form product.template xpath Inherits stock.view_template_property_form
Models touched (2)

New fields (1)
  • extra_weight Float
    digits=dp.get_precision('Stock Weight') help='Extra weight (in Kg.) given by packaging, etc.' args: 'Extra Weight'
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi

New fields (2)
  • extra_weight Float
    compute='_compute_extra_weight' digits=dp.get_precision('Stock Weight') help='Extra weight (in Kg.) given by packaging, etc.' inverse='_inverse_extra_weight' args: 'Extra Weight'
  • is_weight_uom Boolean
    compute='_compute_is_weight_uom' default=False readonly=True
Public methods (2)
  • create(self, vals)
    @api.model
  • write(self, vals)
    @api.multi