@ -17,4 +17,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import model
from . import model
@ -1 +1 @@
import ir_cron
from . import ir_cron
@ -18,7 +18,7 @@
from openerp.tools.misc import upload_data_thread
upload_data_thread.run = lambda x: None
@ -18,4 +18,4 @@
import publisher_warranty_contract
from . import publisher_warranty_contract
import email_template
from . import email_template
@ -20,6 +20,6 @@
import match_algorithm
import wizard
from . import match_algorithm
from . import wizard
@ -20,7 +20,7 @@
import base
import email_exact
import email_domain
import openerp_standard
from . import base
from . import email_exact
from . import email_domain
from . import openerp_standard
from email_exact import email_exact
from .email_exact import email_exact
class email_domain(email_exact):
from base import base
from .base import base
from openerp.tools.safe_eval import safe_eval
from openerp.tools.mail import email_split
class openerp_standard(base):
@ -20,5 +20,5 @@
import fetchmail_server
import fetchmail_server_folder
from . import fetchmail_server
from . import fetchmail_server_folder
@ -20,4 +20,4 @@
import attach_mail_manually
from . import attach_mail_manually
@ -19,5 +19,5 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>
import mass_editing
from . import mass_editing
@ -19,4 +19,4 @@
import mass_editing_wizard
from . import mass_editing_wizard
@ -111,7 +111,6 @@ class mass_editing_wizard(orm.TransientModel):
'size': field.size or 256}
etree.SubElement(xml_group, 'field', {
'name': "selection__" + field.name,
'colspan': '2',
'colspan': '2'})
'name': field.name, 'nolabel': '1',
@ -18,4 +18,5 @@
import super_calendar
from . import super_calendar
@ -8,4 +8,4 @@
import orm
from . import orm
@ -8,17 +8,17 @@
from openerp.osv import orm
from lxml import etree
import os
""" procedural code is executed even if the module is not installed
TRY TO SWITCH to _register_hook() in the model to avoid
execution when not installed in V 8.0 version
"""
module_name = os.path.basename(os.path.dirname(os.path.abspath(__file__)))
@ -19,4 +19,5 @@
import users_ldap_groups
from . import users_ldap_groups
from . import users_ldap_groups_operators
@ -19,11 +19,13 @@
from openerp.osv import fields, orm
import logging
import users_ldap_groups_operators
import inspect
class CompanyLDAPGroupMapping(orm.Model):
_name = 'res.company.ldap.group_mapping'
import users_ldap_model
from . import users_ldap_model
@ -1,2 +1,2 @@
import users_ldap
import populate_wizard
from . import users_ldap
from . import populate_wizard
@ -50,7 +50,7 @@ class CompanyLDAP(orm.Model):
if not conf['create_user']:
continue
attribute_match = re.search(
'([a-zA-Z_]+)=\%s', conf['ldap_filter'])
r'([a-zA-Z_]+)=\%s', conf['ldap_filter'])
if attribute_match:
login_attr = attribute_match.group(1)
else: