summaryrefslogtreecommitdiff
path: root/addons/share/wizard/share_wizard.py
diff options
context:
space:
mode:
authorJaydeep Barot <jar@openerp.com>2014-05-21 15:22:05 +0530
committerRichard Mathot <rim@openerp.com>2014-06-25 17:13:43 +0200
commit026e38b48f3963aed08bba4e76a0a796d662f6a4 (patch)
treed7436601417696244c99332de2361a80c277ad3a /addons/share/wizard/share_wizard.py
parent19c0435743169519bfd9fafe7e56a18c15435941 (diff)
[REM] Unnecessary `size` parameters on char fields
Diffstat (limited to 'addons/share/wizard/share_wizard.py')
-rw-r--r--addons/share/wizard/share_wizard.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/addons/share/wizard/share_wizard.py b/addons/share/wizard/share_wizard.py
index 551b08d02cf..f6c1ab4510c 100644
--- a/addons/share/wizard/share_wizard.py
+++ b/addons/share/wizard/share_wizard.py
@@ -160,8 +160,8 @@ class share_wizard(osv.TransientModel):
_columns = {
'action_id': fields.many2one('ir.actions.act_window', 'Action to share', required=True,
help="The action that opens the screen containing the data you wish to share."),
- 'view_type': fields.char('Current View Type', size=32, required=True),
- 'domain': fields.char('Domain', size=256, help="Optional domain for further data filtering"),
+ 'view_type': fields.char('Current View Type', required=True),
+ 'domain': fields.char('Domain', help="Optional domain for further data filtering"),
'user_type': fields.selection(lambda s, *a, **k: s._user_type_selection(*a, **k),'Sharing method', required=True,
help="Select the type of user(s) you would like to share data with."),
'new_users': fields.text("Emails"),
@@ -172,17 +172,17 @@ class share_wizard(osv.TransientModel):
'access_mode': fields.selection([('readonly','Can view'),('readwrite','Can edit')],'Access Mode', required=True,
help="Access rights to be granted on the shared documents."),
'result_line_ids': fields.one2many('share.wizard.result.line', 'share_wizard_id', 'Summary', readonly=True),
- 'share_root_url': fields.function(_share_root_url, string='Share Access URL', type='char', size=512, readonly=True,
+ 'share_root_url': fields.function(_share_root_url, string='Share Access URL', type='char', readonly=True,
help='Main access page for users that are granted shared access'),
- 'name': fields.char('Share Title', size=64, required=True, help="Title for the share (displayed to users as menu and shortcut name)"),
- 'record_name': fields.char('Record name', size=128, help="Name of the shared record, if sharing a precise record"),
+ 'name': fields.char('Share Title', required=True, help="Title for the share (displayed to users as menu and shortcut name)"),
+ 'record_name': fields.char('Record name', help="Name of the shared record, if sharing a precise record"),
'message': fields.text("Personal Message", help="An optional personal message, to be included in the email notification."),
'embed_code': fields.function(_embed_code, type='text', string='Code',
help="Embed this code in your documents to provide a link to the "\
"shared document."),
'embed_option_title': fields.boolean('Display title'),
'embed_option_search': fields.boolean('Display search view'),
- 'embed_url': fields.function(_embed_url, string='Share URL', type='char', size=512, readonly=True),
+ 'embed_url': fields.function(_embed_url, string='Share URL', size=512, type='char', readonly=True),
}
_defaults = {
'view_type': 'page',