Point Of Sale - Meal Voucher

pos_meal_voucher
REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/16.0/pos_meal_voucher
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYPoint of Sale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSOCA-git-bot, hugues de keyzer
WEBSITE
WEBSITEhttps://github.com/OCA/pos
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - account
    - analytic
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
pos_payment_method_view_form pos.payment.method group Inherits point_of_sale.pos_payment_method_view_form
res_config_settings_view_form res.config.settings xpath Inherits point_of_sale.res_config_settings_view_form
view_product_category product.category field Inherits product.product_category_form_view
view_product_template product.template field Inherits point_of_sale.product_template_form_view
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.

REPOSITORY
REPOSITORYOCA/pos
GIT
GIThttps://github.com/OCA/pos.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pos/tree/12.0/pos_meal_voucher
VERSION
VERSION 1.0.8
CATEGORY
CATEGORYPoint of Sale
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), GRAP
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), GRAP
COMMITTERS
COMMITTERSSylvain LE GAL, Ivàn Todorovich, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/pos
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - point_of_sale
    - stock_account
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes
    - account
    - analytic
    - portal
    - http_routing
    - digest
    - web_editor
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
assets assets ir.ui.view qweb Inherits point_of_sale.assets
view_account_journal account.journal group Inherits point_of_sale.view_account_journal_pos_user_form
view_pos_config_form pos.config xpath Inherits point_of_sale.pos_config_view_form
view_product_category product.category field Inherits product.product_category_form_view
view_product_template product.template field Inherits point_of_sale.product_template_form_view
Models touched (7)

New fields (2)
  • meal_voucher_mixed_text Char
    help='Text that will be displayed in the point of sale if the journal is a mixed journal (Credit Card / Dematerialized) for the dematerialized button.' string='Text for Mixed journal'
  • meal_voucher_type Selection
    selection=[('paper', 'Paper'), ('dematerialized', 'Dematerialized'), ('mixed', 'Credit Card / Dematerialized')] string='Meal Voucher Type'
Public methods (0)

No public methods.

New fields (1)
  • type Selection
    selection_add=[('meal_voucher_payment', 'Meal Voucher Payment')]
Public methods (0)

No public methods.

New fields (4)
  • has_meal_voucher_journal Boolean
    compute='_compute_has_meal_voucher_journal'
  • max_meal_voucher_amount Monetary
    currency_field='currency_id' string='Meal Voucher Amount'
  • meal_voucher_display_info_ticket Boolean
    string='Display Information on Ticket'
  • meal_voucher_display_product_screen Boolean
    default=True string='Display icon before products on screen'
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 that belong to the category will be marked as 'can be paid with meal vouchers', by default." string='Meal Voucher'
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 with meal vouchers.' string='Meal Voucher'
Public methods (2)
  • create(self, vals)
    @api.model
  • onchange_categ_id_pos_meal_voucher(self)
    @api.onchange('categ_id')