OdooWiki OCA HUB

PoS Order Margin Stored

pos_margin_stored folder_open OCA/pos open_in_new
Point Of Sale License: AGPL-3

Before v16.0, margin were handle by OCA module and stored, > v16, it's in Odoo core code but it's not stored. For searching bad sales, for statistics, it can be useful to have margin stored

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Stores the margin and margin percentage on Point of Sale orders and order lines, so these values are saved in the database and can be used for searching and statistics.

This module adds two saved values to Point of Sale data: the margin (a money amount) and the margin percentage. They are added both on the whole Point of Sale order and on each individual order line.

In standard Odoo 16, margin is calculated but not kept in the database, which makes it hard to search or report on. With this module, the margin and margin percentage are stored, so they remain available after the sale is saved.

  • The fields appear on pos.order and pos.order.line.
  • Because they are stored, they can be used in filters, groupings and reports to find low-margin or bad sales.
  • No new menus, buttons, checks or automatic rules are added by the code; it only makes the existing margin values persistent.

The module depends on point_of_sale and does not change any other Odoo area. It is meant for users who need to analyse Point of Sale profitability over time.

Depends on

point_of_sale
Models and fields (2)
  • pos.order · extends an existing modelmargin, margin_percent
  • pos.order.line · extends an existing modelmargin, margin_percent

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.