model_pos.py 264 B

12345678
  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields, api
  3. class pos_config(models.Model):
  4. _inherit = 'pos.config'
  5. is_customer_mandatory = fields.Boolean("Requerir Cliente", help='An option to mandatory customer selection before payment in POS session')