Repository
OCA/pos · module folder · Try on Runboat
Module version
1.1.0
Category
Point Of Sale
Folder size
0.3 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/pos
Last tracking update
2026-08-07 08:42:55
Authors
Odoo Community Association (OCA), GRAP, FactorLibre
Maintainers
Odoo Community Association (OCA), GRAP, FactorLibre
Committers
Carlos Roca, sygel, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module shows margins in PoS frontend during an order creation.

Margins are displayed below the final price of the POS order and under each pos order line. 

![You can see an example image at /static/description/pos_front_end.png](../static/description/pos_front_end.png)

This module also adds the margin fields to some secondary views. The margin rate (%) is included in the POS order report, while the margin amount is displayed in the POS order tree view.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form_margin_inherit res.config.settings form Inherits point_of_sale.res_config_settings_view_form
view_pos_order_tree_inherit pos.order tree Inherits point_of_sale.view_pos_order_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (1)
  • iface_display_margin Boolean
    default=True help='Display Margin and Margin Rate in the frontend' string='Diplay Margin'
Public methods (0)

No public methods.

New fields (1)
  • margin_rate Float
    aggregator='avg' string='Margin Rate (%)'
Public methods (0)

No public methods.

New fields (1)
  • pos_iface_display_margin Boolean
    readonly=False related='pos_config_id.iface_display_margin'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…