Browse Source

[FIX] 'tree_view_record_id': docstring

pull/86/head
Sylvain LE GAL 10 years ago
parent
commit
d54dfb51ee
  1. 11
      tree_view_record_id/orm.py

11
tree_view_record_id/orm.py

@ -8,14 +8,17 @@
#
##############################################################################
""" 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
"""
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__)))

Loading…
Cancel
Save