Point Of Sale - Tare

pos_tare
REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/16.0/pos_tare
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYPoint of Sale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP, Le Nid
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP, Le Nid
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Robin Keunen, hugues de keyzer
WEBSITE
WEBSITEhttps://github.com/OCA/pos
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
res_config_settings_view_form pos.config.form.view res.config.settings xpath Inherits point_of_sale.res_config_settings_view_form
view_pos_order_form pos.order field Inherits point_of_sale.view_pos_pos_form
view_product_template_form product.template field Inherits point_of_sale.product_template_form_view
Models touched (6)

New fields (1)
  • type Selection
    ondelete={'tare': 'set default'} selection_add=[('tare', 'Tare')]
Public methods (0)

No public methods.

New fields (3)
  • iface_gross_weight_method Selection
    default='scale' required=True string='Gross Weight Input Method' args: [('manual', 'Input the Gross Weight manually'), ('scale', 'Input Gross Weight via Scale')]
  • iface_tare_method Selection
    default='both' help="Select tare method:\n* 'manual': the scale screen has an extra tare input field;\n* 'barcode': scan a barcode to tare the selected order line;\n* 'both': manual input and barcode methods are enabled;" required=True string='Tare Input Method' args: [('manual', 'Input the tare manually'), ('barcode', 'Scan a barcode to set the tare'), ('both', 'Manual input and barcode')]
  • iface_tare_uom_id Many2one → uom.uom
    comodel_name='uom.uom' default=<expr> required=True string='Unit of Measure of the tare'
Public methods (0)

No public methods.

New fields (1)
  • tare Float
    digits='Product Unit of Measure'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • tare_weight Float
    digits='Product Unit of Measure' help='Set here Constant tare weight for the given product. This tare will be subtracted when the product is weighed.'
Public methods (0)

No public methods.

New fields (3)
  • pos_iface_gross_weight_method Selection
    readonly=False related='pos_config_id.iface_gross_weight_method'
  • pos_iface_tare_method Selection
    readonly=False related='pos_config_id.iface_tare_method'
  • pos_iface_tare_uom_id Many2one
    readonly=False related='pos_config_id.iface_tare_uom_id'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/12.0/pos_tare
VERSION
VERSION 1.0.4
CATEGORY
CATEGORYPoint of Sale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP, Le Nid
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP, Le Nid
COMMITTERS
COMMITTERSSylvain LE GAL, OCA Transbot, oca-travis, Weblate, OCA-git-bot, Benoit Aimont
WEBSITE
WEBSITEhttps://github.com/OCA/pos
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - http_routing
    - digest
    - web_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
assets assets ir.ui.view qweb Inherits point_of_sale.assets
view_pos_config_form pos.config xpath Inherits point_of_sale.pos_config_view_form
view_pos_order_form pos.order field Inherits point_of_sale.view_pos_pos_form
view_product_template_form product.template field Inherits point_of_sale.product_template_form_view
Models touched (4)

New fields (1)
  • type Selection
    selection_add=[('tare', 'Tare')]
Public methods (0)

No public methods.

New fields (3)
  • iface_gross_weight_method Selection
    default='scale' required=True string='Gross Weight Input Method' args: [('manual', 'Input the Gross Weight manually'), ('scale', 'Input Gross Weight via Scale')]
  • iface_tare_method Selection
    default='both' help="Select tare method:\n* 'manual' : the scale screen has an extra tare input field;\n* 'barecode' : (scan a barcode to tare the selected order line;\n* 'both' : manual input and barcode methods are enabled;" required=True string='Tare Input Method' args: [('manual', 'Input the tare manually'), ('barcode', 'Scan a barcode to set the tare'), ('both', 'Manual input and barcode')]
  • iface_tare_uom_id Many2one → uom.uom
    comodel_name='uom.uom' default=<expr> required=True string='Unit of Measure of the tare'
Public methods (0)

No public methods.

New fields (1)
  • tare Float
    digits=dp.get_precision('Product Unit of Measure') string='Tare'
Public methods (0)

No public methods.

New fields (1)
  • tare_weight Float
    digits=dp.get_precision('Product Unit of Measure') help='Set here Constant tare weight for the given product. This tare will be substracted when the product is weighted' string='Tare Weight'
Public methods (0)

No public methods.