@ -37,17 +37,17 @@ In the backend the customer field is required when needed.
""",
'author': 'Apertoso NV',
'images': [ ],
'images': [],
'depends': ['point_of_sale'],
'data': [
'static/src/xml/templates.xml',
'pos_view.xml',
],
'demo': [ ],
'test': [ ],
'demo': [],
'test': [],
'installable': True,
'application': True,
'qweb': [ ],
'qweb': [],
'website': 'http://www.apertoso.be',
'auto_install': False,
}
@ -18,15 +18,12 @@
#
##############################################################################
import logging
from openerp import fields, models
class PosConfig(models.Model):
_inherit = 'pos.config'
require_customer = fields.Boolean(
string='Require customer',
help='Require customer for orders in this point of sale')