[IMP] base_module_doc_rst: remove unused field

bzr revid: rco@openerp.com-20120209130731-w08bc7xmjt3wl86v
This commit is contained in:
Raphael Collet
2012-02-09 14:07:31 +01:00
parent 41141951ac
commit e94a3c6459
2 changed files with 3 additions and 6 deletions
@@ -11,7 +11,6 @@
<separator string="Technical Guide in rst format" colspan="4"/>
<label string="Please choose a file where the Technical Guide will be written." colspan="4"/>
<field name="rst_file" />
<field name="name" invisible="1"/>
</form>
</field>
</record>
@@ -305,8 +305,7 @@ class RstDoc(object):
class wizard_tech_guide_rst(osv.osv_memory):
_name = "tech.guide.rst"
_columns = {
'rst_file': fields.binary('File',required = True, readonly = True),
'name': fields.char("Filename", size=64, required=True, readonly = True),
'rst_file': fields.binary('File', required=True, readonly=True),
}
def _generate(self, cr, uid, context):
@@ -468,9 +467,8 @@ class wizard_tech_guide_rst(osv.osv_memory):
logger.notifyChannel("base_module_doc_rst", netsvc.LOG_ERROR, msg)
return ""
_defaults ={
'rst_file' : _generate,
'name': 'modules_technical_guide_rst.tgz',
_defaults = {
'rst_file': _generate,
}
wizard_tech_guide_rst()