Browse Source

[IMP] mis_builder: no need to restrict report and instance name length

pull/86/head
Stéphane Bidoul 10 years ago
parent
commit
965b3712b6
  1. 4
      mis_builder/models/mis_builder.py

4
mis_builder/models/mis_builder.py

@ -311,7 +311,7 @@ class mis_report(orm.Model):
_name = 'mis.report' _name = 'mis.report'
_columns = { _columns = {
'name': fields.char(size=32, required=True,
'name': fields.char(required=True,
string='Name', translate=True), string='Name', translate=True),
'description': fields.char(required=False, 'description': fields.char(required=False,
string='Description', translate=True), string='Description', translate=True),
@ -654,7 +654,7 @@ class mis_report_instance(orm.Model):
_name = 'mis.report.instance' _name = 'mis.report.instance'
_columns = { _columns = {
'name': fields.char(size=32, required=True,
'name': fields.char(required=True,
string='Name', translate=True), string='Name', translate=True),
'description': fields.char(required=False, 'description': fields.char(required=False,
string='Description', translate=True), string='Description', translate=True),

Loading…
Cancel
Save