Repository
OCA/pos · module folder · Try on Runboat
Module version
1.0.0
Category
Point of Sale
Folder size
0.43 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/pos
Last tracking update
2026-08-07 08:09:20
Authors
Odoo Community Association (OCA), GRAP
Maintainers
Odoo Community Association (OCA), GRAP
Committers
OCA-git-bot, hugues de keyzer
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
pos_payment_method_view_form pos.payment.method form Inherits point_of_sale.pos_payment_method_view_form
res_config_settings_view_form res.config.settings form Inherits point_of_sale.res_config_settings_view_form
view_product_category product.category form Inherits product.product_category_form_view
view_product_template product.template form Inherits point_of_sale.product_template_form_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (9)

New fields (1)
  • type Selection
    ondelete={'meal_voucher_payment': 'set default'} selection_add=[('meal_voucher_payment', 'Meal Voucher Payment')]
Public methods (0)

No public methods.

New fields (4)
  • enable_meal_voucher_order_lines_icon Boolean
    default=True string='Meal Voucher Icon on Order Lines'
  • enable_meal_voucher_receipt_info Boolean
    string='Meal Voucher Information on Receipt'
  • has_meal_voucher_payment_method Boolean
    compute='_compute_has_meal_voucher_payment_method'
  • max_meal_voucher_amount Monetary
    currency_field='currency_id' string='Meal Voucher Maximum Amount'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • meal_voucher_type Selection
    selection=[('paper', 'Paper'), ('electronic', 'Electronic')]
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • meal_voucher_ok Boolean
    help='If checked, the products of this category will be marked as "Can be Paid for by Meal Vouchers" by default.' string='Can be Paid for by Meal Vouchers'
Public methods (1)
  • button_apply_meal_voucher_settings(self)

New fields (0)

No new fields.

Public methods (1)
  • onchange_categ_id_pos_meal_voucher(self)
    @api.onchange('categ_id')

New fields (1)
  • meal_voucher_ok Boolean
    help='Check this box if the product can be paid for by meal vouchers.' string='Can be Paid for by Meal Vouchers'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • onchange_categ_id_pos_meal_voucher(self)
    @api.onchange('categ_id')

New fields (3)
  • pos_enable_meal_voucher_order_lines_icon Boolean
    readonly=False related='pos_config_id.enable_meal_voucher_order_lines_icon'
  • pos_enable_meal_voucher_receipt_info Boolean
    readonly=False related='pos_config_id.enable_meal_voucher_receipt_info'
  • pos_max_meal_voucher_amount Monetary
    readonly=False related='pos_config_id.max_meal_voucher_amount'
Public methods (0)

No public methods.

Loading…