Decimal Precision Configuration

decimal_precision
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/12.0/decimal_precision
VERSION
VERSION 0.1
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Christophe Simonis, Yannick Tivisse, Xavier-Do, Fanny He
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:57:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Configure the price accuracy you need for different kinds of usage: accounting, sales, purchases.
=================================================================================================

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_decimal_precision_form Decimal Precision decimal.precision form New
view_decimal_precision_tree Decimal Precision List decimal.precision tree New
Models touched (3)

New fields (2)
  • digits Integer
    default=2 required=True args: 'Digits'
  • name Char
    index=True required=True args: 'Usage'
Public methods (5)
  • clear_cache(self)
    @api.model_cr
    Deprecated, use `clear_caches` instead.
  • create(self, vals_list)
    @api.model_create_multi
  • precision_get(self, application)
    @api.model@tools.ormcache('application')
  • unlink(self)
    @api.multi
  • write(self, data)
    @api.multi

New fields (3)
  • float Float
  • float_2 Float
    digits=(16, 2)
  • float_4 Float
    digits=(16, 4)
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • precision(self, field, options=None)
    @api.model
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/11.0/decimal_precision
VERSION
VERSION 0.1
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Odoo Online, Fanny He
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:53:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Configure the price accuracy you need for different kinds of usage: accounting, sales, purchases.
=================================================================================================

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_decimal_precision_form Decimal Precision decimal.precision form New
view_decimal_precision_tree Decimal Precision List decimal.precision tree New
Models touched (3)

New fields (2)
  • digits Integer
    default=2 required=True args: 'Digits'
  • name Char
    index=True required=True args: 'Usage'
Public methods (5)
  • clear_cache(self)
    @api.model_cr
    Deprecated, use `clear_caches` instead.
  • create(self, data)
    @api.model
  • precision_get(self, application)
    @api.model@tools.ormcache('application')
  • unlink(self)
    @api.multi
  • write(self, data)
    @api.multi

New fields (3)
  • float Float
  • float_2 Float
    digits=(16, 2)
  • float_4 Float
    digits=(16, 4)
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • precision(self, field, options=None)
    @api.model
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/10.0/decimal_precision
VERSION
VERSION 0.1
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Christophe Matthieu, Martin Trigaux, Olivier Dony, Thibault Delavallée, Denis Ledoux, Christophe Simonis, Jérome Maes, Julien Legros, qdp-odoo
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:50:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Configure the price accuracy you need for different kinds of usage: accounting, sales, purchases.
=================================================================================================

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_decimal_precision_form Decimal Precision decimal.precision form New
view_decimal_precision_tree Decimal Precision List decimal.precision tree New
Models touched (3)

New fields (2)
  • digits Integer
    default=2 required=True args: 'Digits'
  • name Char
    index=True required=True args: 'Usage'
Public methods (5)
  • clear_cache(self)
    @api.model_cr
    Deprecated, use `clear_caches` instead.
  • create(self, data)
    @api.model
  • precision_get(self, application)
    @api.model@tools.ormcache('application')
  • unlink(self)
    @api.multi
  • write(self, data)
    @api.multi

New fields (3)
  • float Float
  • float_2 Float
    digits=(16, 2)
  • float_4 Float
    digits=(16, 4)
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • precision(self, field, options=None)
    @api.model
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/9.0/decimal_precision
VERSION
VERSION 0.1
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Olivier Dony, Christophe Simonis, Yannick Tivisse
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:48:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Configure the price accuracy you need for different kinds of usage: accounting, sales, purchases.
=================================================================================================

The decimal precision is configured per company.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_decimal_precision_form Decimal Precision decimal.precision form New
view_decimal_precision_tree Decimal Precision List decimal.precision tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (5)
  • clear_cache(self, cr)
    Deprecated, use `clear_caches` instead.
  • create(self, cr, uid, data, context=None)
  • precision_get(self, cr, uid, application)
    @tools.ormcache('application')
  • unlink(self, cr, uid, ids, context=None)
  • write(self, cr, uid, ids, data, *args, **argv)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • precision(self, cr, uid, field, options=None, context=None)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/8.0/decimal_precision
VERSION
VERSION 0.1
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOpenERP SA
MAINTAINERS
MAINTAINERSOpenERP SA
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Christophe Matthieu, Martin Trigaux, Antony Lesuisse, Olivier Dony, Thibault Delavallée, Vo Minh Thu, Launchpad Translations on behalf of openerp, Denis Ledoux, Fabien Meghazi, Christophe Simonis, Xavier Morel, Richard Mathot, Aaron Bohy
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:45:39
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Configure the price accuracy you need for different kinds of usage: accounting, sales, purchases.
=================================================================================================

The decimal precision is configured per company.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_decimal_precision_form Decimal Precision decimal.precision form New
view_decimal_precision_tree Decimal Precision List decimal.precision tree New
Models touched (3)

New fields (0)

No new fields.

Public methods (5)
  • clear_cache(self, cr)
    clear cache and update models. Notify other workers to restart their registry.
  • create(self, cr, uid, data, context=None)
  • precision_get(self, cr, uid, application)
    @tools.ormcache(skiparg=3)
  • unlink(self, cr, uid, ids, context=None)
  • write(self, cr, uid, ids, data, *args, **argv)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • precision(self, cr, uid, field, options=None, context=None)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/7.0/decimal_precision
VERSION
VERSION 0.1
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOpenERP SA
MAINTAINERS
MAINTAINERSOpenERP SA
COMMITTERS
COMMITTERSTwinkle Christian (OpenERP), Cecile Tonglet, Stephane Wirtel, Odoo Translation Bot, Martin Trigaux, Ajay Chauhan (OpenERP), Purnendu Singh (OpenERP), Fabien Pinckaers, Olivier Dony, Vo Minh Thu, Hardik, Launchpad Translations on behalf of openerp, Mayur Maheshwari (OpenERP), Christophe Simonis
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:43:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Configure the price accuracy you need for different kinds of usage: accounting, sales, purchases.
=================================================================================================

The decimal precision is configured per company.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_decimal_precision_form Decimal Precision decimal.precision form New
view_decimal_precision_tree Decimal Precision List decimal.precision tree New
Models touched (0)

No models found for this module.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/6.1/decimal_precision
VERSION
VERSION 0.1
CATEGORY
CATEGORYHidden/Dependency
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOpenERP SA
MAINTAINERS
MAINTAINERSOpenERP SA
COMMITTERS
COMMITTERSStephane Wirtel, Numerigraphe - Lionel Sausin, Fabien Pinckaers, Antony Lesuisse, Olivier Dony, Vo Minh Thu, Launchpad Translations on behalf of openerp, vro, niv-openerp, Carlos Vásquez, Els Van Vossel, Israel Fermin Montilla, Hardik Ansodariy (OpenERP), Naresh (OpenERP)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:41:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
Configure the price accuracy you need for different kinds of usage: accounting, sales, purchases, etc.
======================================================================================================

The decimal precision is configured per company.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_decimal_precision_form Decimal Precision decimal.precision form New
view_decimal_precision_tree Decimal Precision List decimal.precision tree New
Models touched (0)

No models found for this module.