Browse Source

[FIX] docstrings

pull/3/head
Yannick Vaucher 11 years ago
parent
commit
e6c65b62d4
  1. 4
      base_report_assembler/ir_report.py

4
base_report_assembler/ir_report.py

@ -76,7 +76,7 @@ class ReportAssembleXML(orm.Model):
return res return res
def create(self, cursor, user, vals, context=None): def create(self, cursor, user, vals, context=None):
"Create report and register it"
""" Create report and register it """
res = super(ReportAssembleXML, self).create(cursor, user, vals, context) res = super(ReportAssembleXML, self).create(cursor, user, vals, context)
if vals.get('report_type', '') == 'assemblage': if vals.get('report_type', '') == 'assemblage':
# I really look forward to virtual functions :S # I really look forward to virtual functions :S
@ -86,7 +86,7 @@ class ReportAssembleXML(orm.Model):
return res return res
def write(self, cr, uid, ids, vals, context=None): def write(self, cr, uid, ids, vals, context=None):
"Edit report and manage its registration"
""" Edit report and manage its registration """
if isinstance(ids, (int, long)): if isinstance(ids, (int, long)):
ids = [ids] ids = [ids]
for rep in self.browse(cr, uid, ids, context=context): for rep in self.browse(cr, uid, ids, context=context):

Loading…
Cancel
Save