TIP: You can type at any time to perform a new search.

Security findings

Repository
odoo/odoo · module folder
Module version
0.1.0
Category
Sales/Point of Sale
Folder size
0.42 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
None
Last tracking update
2026-10-01 06:16:54
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Odoo Translation Bot, Christophe Matthieu, Victor Feyens, Julien Mougenot, Tiffany Chang (tic), David Monnom (moda), Pedram (PEBR), Dylan Kiss (dyki), tong-odoo, Adrien Guilliams (adgu), Loukas Wets (lowe), paan-odoo, David Monnom, Pierre Pulinckx, Michaël Mattiello, Ajit Singh, vpan-odoo, vlst-odoo, Radu Macocian (admac), Guillaume V, Meet Jivani [MEJI], Hadi El Yakhni, Laurent Smet (LAS), Julien Launois (jula), jand-odoo, Traina Ludo, rpka-odoo, Léopold Cantraine, adgu-odoo, Shubham Agarwal, Vedant Pandey (vpan-odoo), Jean Schoenlaub, Elisabeth Dickinson (edi)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
l10n_pk_edi_pos
Description

This module allows the cashier to quickly give percentage-based
discount to a customer.

Code Analysis info_outline

Views touched (3)
XML IDNameModelTypeStatus
pos_discount.pos_order_receipt pos_discount.pos_order_receipt ir.ui.view qweb Inherits point_of_sale.pos_order_receipt
pos_discount.pos_session_sales_details pos_discount.pos_session_sales_details ir.ui.view qweb Inherits point_of_sale.pos_session_sales_details
res_config_settings_view_form res.config.settings.view.form.inherit.pos_discount res.config.settings form Inherits point_of_sale.res_config_settings_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (3)
  • discount_pc Float
    default=10.0 help='The default discount value when clicking on the Discount button' string='Discount Value'
  • discount_product_id Many2one → product.product
    domain=[('sale_ok', '=', True)] help='The product used to apply the discount on the ticket.' string='Discount Product' args: 'product.product'
  • iface_discount Boolean
    help='Allow the cashier to give discounts on the whole order.' string='Order Discounts'
Public methods (1)
  • open_ui(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • get_sale_details(self, date_start=False, date_stop=False, config_ids=False, session_ids=False, **kwargs)
    @api.model

New fields (2)
  • pos_discount_pc Float
    readonly=False related='pos_config_id.discount_pc'
  • pos_discount_product_id Many2one → product.product
    compute='_compute_pos_discount_product_id' readonly=False store=True args: 'product.product'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…