cleaned_module_recorder
bzr revid: fp@tinyerp.com-20081209132204-mv5zthr877ikqffz
This commit is contained in:
@@ -285,7 +285,10 @@ class base_module_record(osv.osv):
|
||||
rec=copy_rec
|
||||
rec_data=[(self.recording_data[0][0],rec,self.recording_data[0][2],self.recording_data[0][3])]
|
||||
self.recording_data=rec_data
|
||||
id = self._create_id(cr, uid, rec[3],rec[6])
|
||||
|
||||
id,update = self._get_id(cr, uid, rec[3], rec[5])
|
||||
if not id:
|
||||
id = self._create_id(cr, uid, rec[3],rec[6])
|
||||
record,noupdate = self._create_record(cr, uid, doc, rec[3], rec[6], id)
|
||||
self.ids[(rec[3],result)] = id
|
||||
record_list += record
|
||||
@@ -294,6 +297,7 @@ class base_module_record(osv.osv):
|
||||
|
||||
def _generate_assert_xml(self, rec, doc):
|
||||
pass
|
||||
|
||||
def generate_xml(self, cr, uid):
|
||||
# Create the minidom document
|
||||
if len(self.recording_data):
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
name="base_module_record.module_record_objects"/>
|
||||
<menuitem
|
||||
parent="menu_wizard_base_mod_rec"
|
||||
name="Record Objects of your choice"
|
||||
name="Export Customizations As a Module"
|
||||
type="wizard"
|
||||
action="wizard_base_module_record_objects"
|
||||
id="menu_wizard_base_module_record_objects"/>
|
||||
|
||||
@@ -78,7 +78,7 @@ def _record_objects(self, cr, uid, data, context):
|
||||
elif filter =='modified':
|
||||
search_condition =[('write_date','>',check_date)]
|
||||
elif filter =='created_modified':
|
||||
search_condition =[('create_date','>',check_date),('write_date','>',check_date)]
|
||||
search_condition =['|',('create_date','>',check_date),('write_date','>',check_date)]
|
||||
if '_log_access' in dir(obj_pool):
|
||||
if not (obj_pool._log_access):
|
||||
search_condition=[]
|
||||
|
||||
Reference in New Issue
Block a user