Browse Source

pep8 fixes

pull/29/head
Jos De Graeve 9 years ago
parent
commit
1624bb51da
  1. 8
      pos_require_customer/__openerp__.py
  2. 5
      pos_require_customer/pos.py

8
pos_require_customer/__openerp__.py

@ -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,
}

5
pos_require_customer/pos.py

@ -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')
Loading…
Cancel
Save