You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
814 B
24 lines
814 B
# Copyright (C) 2020 - Today: GRAP (http://www.grap.coop)
|
|
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class AccountJournal(models.Model):
|
|
_inherit = 'account.journal'
|
|
|
|
meal_voucher_type = fields.Selection(
|
|
string="Meal Voucher Type",
|
|
selection=[
|
|
("paper", "Paper"),
|
|
("dematerialized", "Dematerialized"),
|
|
("mixed", "Credit Card / Dematerialized"),
|
|
],
|
|
)
|
|
|
|
meal_voucher_mixed_text = fields.Char(
|
|
string="Text for Mixed journal",
|
|
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.")
|