pos_cache

pos_cache
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/pos_cache
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales/Point of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Pierre Masereel, Romeo Fragomeli, Joseph Caburnay, Martin Trigaux (mat)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:48
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
This creates a product cache per POS config. It drastically lowers the
time it takes to load a POS session with a lot of products.
    

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_pos_config_kanban pos.config.kanban.view.inherit.pos_cache pos.config xpath Inherits point_of_sale.view_pos_config_kanban
Models touched (3)

New fields (5)
  • cache Binary
    attachment=True
  • compute_user_id Many2one → res.users
    required=True args: 'res.users', 'Cache compute user'
  • config_id Many2one → pos.config
    ondelete='cascade' required=True args: 'pos.config'
  • product_domain Text
    required=True
  • product_fields Text
    required=True
Public methods (5)
  • cache2json(self)
  • get_product_domain(self)
    @api.model
  • get_product_fields(self)
    @api.model
  • refresh_all_caches(self)
    @api.model
  • refresh_cache(self)

New fields (3)
  • cache_ids One2many → pos.cache
    args: 'pos.cache', 'config_id'
  • limit_products_per_request Integer
    compute='_compute_limit_products_per_request'
  • oldest_cache_time Datetime
    compute='_get_oldest_cache_time' readonly=True string='Oldest cache time'
Public methods (1)
  • delete_cache(self)

New fields (0)

No new fields.

Public methods (3)
  • get_cached_products(self, start, end)
  • get_products_from_cache(self)
  • get_total_products_count(self)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/pos_cache
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales/Point of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Xavier-Do, Joseph Caburnay, Julien Mougenot, Adrien Widart, Ivan Yelizariev, Loan (LSE)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - 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
This creates a product cache per POS config. It drastically lowers the
time it takes to load a POS session with a lot of products.
    

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
pos_config_view_form_inherit_pos_cache pos.config.form.inherit.pos.cache pos.config xpath Inherits point_of_sale.pos_config_view_form
Models touched (2)

New fields (5)
  • cache Binary
    attachment=True
  • compute_user_id Many2one → res.users
    required=True args: 'res.users', 'Cache compute user'
  • config_id Many2one → pos.config
    ondelete='cascade' required=True args: 'pos.config'
  • product_domain Text
    required=True
  • product_fields Text
    required=True
Public methods (5)
  • cache2json(self)
  • get_product_domain(self)
    @api.model
  • get_product_fields(self)
    @api.model
  • refresh_all_caches(self)
    @api.model
  • refresh_cache(self)

New fields (3)
  • cache_ids One2many → pos.cache
    args: 'pos.cache', 'config_id'
  • limit_products_per_request Integer
    compute='_compute_limit_products_per_request'
  • oldest_cache_time Datetime
    compute='_get_oldest_cache_time' readonly=True string='Oldest cache time'
Public methods (2)
  • delete_cache(self)
  • get_products_from_cache(self, fields, domain)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/14.0/pos_cache
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales/Point of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Olivier Dony, Christophe Simonis, Yannick Tivisse, Pierre Masereel, Julien Castiaux, Xavier-Do, Adrien Widart, Ivan Yelizariev, Loan (LSE)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:14:28
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - 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
This creates a product cache per POS config. It drastically lowers the
time it takes to load a POS session with a lot of products.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets assets ir.ui.view qweb Inherits point_of_sale.assets
pos_config_view_form_inherit_pos_cache pos.config.form.inherit.pos.cache pos.config xpath Inherits point_of_sale.pos_config_view_form
Models touched (2)

New fields (5)
  • cache Binary
    attachment=True
  • compute_user_id Many2one → res.users
    required=True args: 'res.users', 'Cache compute user'
  • config_id Many2one → pos.config
    ondelete='cascade' required=True args: 'pos.config'
  • product_domain Text
    required=True
  • product_fields Text
    required=True
Public methods (5)
  • cache2json(self)
  • get_product_domain(self)
    @api.model
  • get_product_fields(self)
    @api.model
  • refresh_all_caches(self)
    @api.model
  • refresh_cache(self)

New fields (3)
  • cache_ids One2many → pos.cache
    args: 'pos.cache', 'config_id'
  • limit_products_per_request Integer
    compute='_compute_limit_products_per_request'
  • oldest_cache_time Datetime
    compute='_get_oldest_cache_time' readonly=True string='Oldest cache time'
Public methods (2)
  • delete_cache(self)
  • get_products_from_cache(self, fields, domain)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/13.0/pos_cache
VERSION
VERSION 1.0
CATEGORY
CATEGORYSales/Point Of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Christophe Simonis, Nicolas Lempereur, Damien Bouvy, Pierre Masereel, Adrian Torres, Xavier-Do
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:06:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This creates a product cache per POS config. It drastically lowers the
time it takes to load a POS session with a lot of products.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets assets ir.ui.view qweb Inherits point_of_sale.assets
pos_config_view_form_inherit_pos_cache pos.config.form.inherit.pos.cache pos.config xpath Inherits point_of_sale.pos_config_view_form
Models touched (2)

New fields (5)
  • cache Binary
    attachment=True
  • compute_user_id Many2one → res.users
    required=True args: 'res.users', 'Cache compute user'
  • config_id Many2one → pos.config
    ondelete='cascade' required=True args: 'pos.config'
  • product_domain Text
    required=True
  • product_fields Text
    required=True
Public methods (5)
  • get_cache(self, domain, fields)
    @api.model
  • get_product_domain(self)
    @api.model
  • get_product_fields(self)
    @api.model
  • refresh_all_caches(self)
    @api.model
  • refresh_cache(self)

New fields (2)
  • cache_ids One2many → pos.cache
    args: 'pos.cache', 'config_id'
  • oldest_cache_time Datetime
    compute='_get_oldest_cache_time' readonly=True string='Oldest cache time'
Public methods (2)
  • delete_cache(self)
  • get_products_from_cache(self, fields, domain)
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/12.0/pos_cache
VERSION
VERSION 1.0
CATEGORY
CATEGORYPoint Of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Fabien Pinckaers, Thibault Delavallée, Christophe Simonis, Christophe Monniez, mreficent, Xavier-Do
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:57:01
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
This creates a product cache per POS config. It drastically lowers the
time it takes to load a POS session with a lot of products.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets assets ir.ui.view qweb Inherits point_of_sale.assets
pos_config_view_form_inherit_pos_cache pos.config.form.inherit.pos.cache pos.config xpath Inherits point_of_sale.pos_config_view_form
Models touched (2)

New fields (5)
  • cache Binary
    attachment=True
  • compute_user_id Many2one → res.users
    required=True args: 'res.users', 'Cache compute user'
  • config_id Many2one → pos.config
    ondelete='cascade' required=True args: 'pos.config'
  • product_domain Text
    required=True
  • product_fields Text
    required=True
Public methods (5)
  • get_cache(self, domain, fields)
    @api.model
  • get_product_domain(self)
    @api.model
  • get_product_fields(self)
    @api.model
  • refresh_all_caches(self)
    @api.model
  • refresh_cache(self)
    @api.one

New fields (2)
  • cache_ids One2many → pos.cache
    args: 'pos.cache', 'config_id'
  • oldest_cache_time Datetime
    compute='_get_oldest_cache_time' readonly=True string='Oldest cache time'
Public methods (2)
  • delete_cache(self)
    @api.one
  • get_products_from_cache(self, fields, domain)
    @api.multi
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/11.0/pos_cache
VERSION
VERSION 1.0
CATEGORY
CATEGORYPoint Of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Thibault Delavallée, Christophe Simonis, Joren Van Onder, Aaron Bohy, GitHub, Odoo Online, Christophe Monniez
WEBSITE
WEBSITEhttps://www.odoo.com/page/point-of-sale
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:53:42
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - barcodes
    - web_planner
    - account
    - analytic
    - portal
    - http_routing
    - web_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This creates a product cache per POS config. It drastically lowers the
time it takes to load a POS session with a lot of products.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets assets ir.ui.view qweb Inherits point_of_sale.assets
pos_config_view_form_inherit_pos_cache pos.config.form.inherit.pos.cache pos.config xpath Inherits point_of_sale.pos_config_view_form
Models touched (2)

New fields (5)
  • cache Binary
    attachment=True
  • compute_user_id Many2one → res.users
    required=True args: 'res.users', 'Cache compute user'
  • config_id Many2one → pos.config
    ondelete='cascade' required=True args: 'pos.config'
  • product_domain Text
    required=True
  • product_fields Text
    required=True
Public methods (5)
  • get_cache(self, domain, fields)
    @api.model
  • get_product_domain(self)
    @api.model
  • get_product_fields(self)
    @api.model
  • refresh_all_caches(self)
    @api.model
  • refresh_cache(self)
    @api.one

New fields (2)
  • cache_ids One2many → pos.cache
    args: 'pos.cache', 'config_id'
  • oldest_cache_time Datetime
    compute='_get_oldest_cache_time' readonly=True string='Oldest cache time'
Public methods (2)
  • delete_cache(self)
    @api.one
  • get_products_from_cache(self, fields, domain)
    @api.multi
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/10.0/pos_cache
VERSION
VERSION 1.0
CATEGORY
CATEGORYPoint Of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Odoo Translation Bot, Martin Trigaux, Olivier Dony, Thibault Delavallée, Denis Ledoux, Fabien Meghazi, Christophe Simonis, Julien Legros, qdp-odoo, Yannick Tivisse
WEBSITE
WEBSITEhttps://www.odoo.com/page/point-of-sale
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:50:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This creates a product cache per POS config. It drastically lowers the
time it takes to load a POS session with a lot of products.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets assets ir.ui.view qweb Inherits point_of_sale.assets
view_pos_config_form pos.config.form.view pos.config xpath Inherits point_of_sale.view_pos_config_form
Models touched (2)

New fields (5)
  • cache Binary
    attachment=True
  • compute_user_id Many2one → res.users
    required=True args: 'res.users', 'Cache compute user'
  • config_id Many2one → pos.config
    ondelete='cascade' required=True args: 'pos.config'
  • product_domain Text
    required=True
  • product_fields Text
    required=True
Public methods (5)
  • get_cache(self, domain, fields)
    @api.model
  • get_product_domain(self)
    @api.model
  • get_product_fields(self)
    @api.model
  • refresh_all_caches(self)
    @api.model
  • refresh_cache(self)
    @api.one

New fields (2)
  • cache_ids One2many → pos.cache
    args: 'pos.cache', 'config_id'
  • oldest_cache_time Datetime
    compute='_get_oldest_cache_time' readonly=True string='Oldest cache time'
Public methods (2)
  • delete_cache(self)
    @api.one
  • get_products_from_cache(self, fields, domain)
    @api.multi
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/9.0/pos_cache
VERSION
VERSION 1.0
CATEGORY
CATEGORYPoint Of Sale
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSOdoo Translation Bot, Martin Trigaux, Olivier Dony, Joren Van Onder, Yannick Tivisse
WEBSITE
WEBSITEhttps://www.odoo.com/page/point-of-sale
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:48:30
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - account
    - product
    - decimal_precision
    - report
    - analytic
    - web_tip
    - web_planner
    - procurement
    - stock_account
    - stock
    - barcodes
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This creates a product cache per POS config. It drastically lowers the
time it takes to load a POS session with a lot of products.
    

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
assets assets ir.ui.view qweb Inherits point_of_sale.assets
view_pos_config_form pos.config.form.view pos.config xpath Inherits point_of_sale.view_pos_config_form
Models touched (2)

New fields (5)
  • cache Binary
  • compute_user_id Many2one → res.users
    required=True args: 'res.users', 'Cache compute user'
  • config_id Many2one → pos.config
    ondelete='cascade' required=True args: 'pos.config'
  • product_domain Text
    required=True
  • product_fields Text
    required=True
Public methods (5)
  • get_cache(self, domain, fields)
    @api.model
  • get_product_domain(self)
    @api.model
  • get_product_fields(self)
    @api.model
  • refresh_all_caches(self)
    @api.model
  • refresh_cache(self)
    @api.one

New fields (2)
  • cache_ids One2many → pos.cache
    args: 'pos.cache', 'config_id'
  • oldest_cache_time Datetime
    compute='_get_oldest_cache_time' readonly=True string='Oldest cache time'
Public methods (2)
  • delete_cache(self)
    @api.one
  • get_products_from_cache(self, fields, domain)
    @api.multi