[Fix]Point Of Sale : Point of sale can not install with Add More fearure Wizard

lp bug: https://launchpad.net/bugs/877136 fixed

bzr revid: mdi@tinyerp.com-20111021113958-jjxwmhgnlxton7gf
This commit is contained in:
Divyesh Makwana (Open ERP) 2011-10-21 17:09:58 +05:30
parent 5857483a5f
commit 4acc77df77
1 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ DEFAULT_MODULES = {
'Accounting & Finance' : ['account'],
'Purchase Management' : ['purchase'],
'Human Resources' : ['hr',],
'Point of Sales' : ['pos',],
'Point of Sales' : ['point_of_sale',],
'Marketing' : ['marketing',],
}
@ -58,7 +58,7 @@ class base_setup_installer(osv.osv_memory):
if fields is None:
fields = {}
fields = {}
fields = {}
category_proxy = self.pool.get('ir.module.category')
domain = [('parent_id', '=', False),
('name', '!=', 'Uncategorized'),
@ -389,14 +389,14 @@ class user_preferences_config(osv.osv_memory):
('extended','Extended')],
'Interface', required=True, help= "If you use OpenERP for the first time we strongly advise you to select the simplified interface, which has less features but is easier. You can always switch later from the user preferences." ),
'menu_tips': fields.boolean('Display Tips', help="Check out this box if you want to always display tips on each menu action"),
}
_defaults={
'view' : lambda self,cr,uid,*args: self.pool.get('res.users').browse(cr, uid, uid).view or 'simple',
'context_lang' : 'en_US',
'menu_tips' : True
}
def default_get(self, cr, uid, fields, context=None):
if context is None:
context = {}