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.
|
|
# © 2021 Le Filament (<http://www.le-filament.com>) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class PosConfig(models.Model): _inherit = 'pos.config'
is_print_ean13 = fields.Boolean( string='Impression EAN13') prefix = fields.Char("Choix du préfixe") currency_id = fields.Many2one('res.currency', "Ticket Prix") ticketformat_id = fields.Many2one('report.ticketformat', "Modèle d'étiquette à imprimer") page_width = fields.Integer('Largeur du ticket (mm)', related='ticketformat_id.page_width') is_ticket_print_auto = fields.Boolean("Impression auto du ticket BLS") is_ticket_print_via_proxy = fields.Boolean( string='Impression du ticket via proxy', help="Contournez l'impression du navigateur pour imprimer via le proxy matériel.") # ticket_report_layout_id = fields.Many2one('ir.ui.view', 'Template ticket')
|