Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 9 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.3 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

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

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.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…