[IMP] base_module_doc_rst, base_module_record, base_report_creator: code spacing cleanup
bzr revid: rco@openerp.com-20120209091203-ni85eanpc005t2c0
This commit is contained in:
parent
d672ded286
commit
e188087e93
|
@ -35,7 +35,12 @@ This module generates the Technical Guides of selected modules in Restructured T
|
|||
'website': 'http://www.openerp.com',
|
||||
'depends': ['base'],
|
||||
'init_xml': [],
|
||||
'update_xml': ['wizard/generate_relation_graph_view.xml', 'wizard/tech_guide_rst_view.xml', 'base_module_doc_rst_view.xml', 'module_report.xml'],
|
||||
'update_xml': [
|
||||
'base_module_doc_rst_view.xml',
|
||||
'wizard/generate_relation_graph_view.xml',
|
||||
'wizard/tech_guide_rst_view.xml',
|
||||
'module_report.xml',
|
||||
],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
'certificate': '001288481437217734509',
|
||||
|
|
|
@ -470,7 +470,7 @@ class wizard_tech_guide_rst(osv.osv_memory):
|
|||
|
||||
_defaults ={
|
||||
'rst_file' : _generate,
|
||||
'name': 'modules_technical_guide_rst.tgz'
|
||||
'name': 'modules_technical_guide_rst.tgz',
|
||||
}
|
||||
|
||||
wizard_tech_guide_rst()
|
||||
|
|
|
@ -47,7 +47,11 @@ Select datetime criteria of recording and objects to be recorded and Record modu
|
|||
'website': 'http://www.openerp.com',
|
||||
'depends': ['base'],
|
||||
'init_xml': [],
|
||||
'update_xml': ['security/ir.model.access.csv', 'wizard/base_module_record_object_view.xml', 'wizard/base_module_record_data_view.xml',],
|
||||
'update_xml': [
|
||||
'security/ir.model.access.csv',
|
||||
'wizard/base_module_record_object_view.xml',
|
||||
'wizard/base_module_record_data_view.xml',
|
||||
],
|
||||
'demo_xml': [],
|
||||
'installable': True,
|
||||
'certificate': '0083134865813',
|
||||
|
|
|
@ -86,9 +86,7 @@ class base_module_record(osv.osv_memory):
|
|||
resource_id = mod_obj.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id']
|
||||
return {
|
||||
'name': _('Message'),
|
||||
'context': {
|
||||
'default_yaml_file': tools.ustr(res['yaml_file']),
|
||||
},
|
||||
'context': {'default_yaml_file': tools.ustr(res['yaml_file'])},
|
||||
'view_type': 'form',
|
||||
'view_mode': 'form',
|
||||
'res_model': 'base.module.record.objects',
|
||||
|
@ -109,9 +107,9 @@ class base_module_record(osv.osv_memory):
|
|||
'type': 'ir.actions.act_window',
|
||||
'target': 'new',
|
||||
}
|
||||
|
||||
model_data_ids = mod_obj.search(cr, uid, [('model', '=', 'ir.ui.view'), ('name', '=', 'module_recording_message_view')], context=context)
|
||||
resource_id = mod_obj.read(cr, uid, model_data_ids, fields=['res_id'], context=context)[0]['res_id']
|
||||
|
||||
return {
|
||||
'name': _('Message'),
|
||||
'context': context,
|
||||
|
@ -122,6 +120,7 @@ class base_module_record(osv.osv_memory):
|
|||
'type': 'ir.actions.act_window',
|
||||
'target': 'new',
|
||||
}
|
||||
|
||||
base_module_record()
|
||||
|
||||
class base_module_record_objects(osv.osv_memory):
|
||||
|
@ -166,7 +165,7 @@ class base_module_record_objects(osv.osv_memory):
|
|||
'author': 'OpenERP SA',
|
||||
'category': 'Vertical Modules/Parametrization',
|
||||
'website': 'http://www.openerp.com',
|
||||
'data_kind': 'update'
|
||||
'data_kind': 'update',
|
||||
}
|
||||
|
||||
base_module_record_objects()
|
||||
|
|
Loading…
Reference in New Issue