From 19d9b7309d8223f3550965d7e29aad1d48c1d41c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Wed, 12 Feb 2014 11:42:27 +0100 Subject: [PATCH] [CLEAN] website: ir_actions: removed commented line + small reordering of columns definition + fixed an help string bzr revid: tde@openerp.com-20140212104227-bd2rsrewqizmxtf3 --- addons/website/models/ir_actions.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/website/models/ir_actions.py b/addons/website/models/ir_actions.py index f6d98bf3632..5f627eec54a 100644 --- a/addons/website/models/ir_actions.py +++ b/addons/website/models/ir_actions.py @@ -3,7 +3,6 @@ import urlparse from openerp.addons.web.http import request -# from openerp.addons.website.controllers.main import Website from openerp.osv import fields, osv @@ -31,14 +30,14 @@ class actions_server(osv.Model): 'xml_id': fields.function( osv.osv.get_xml_id, type='char', string="External ID", help="ID of the action if defined in a XML file"), + 'website_path': fields.char('Website Path'), 'website_url': fields.function( _get_website_url, type='char', string='Website URL', help='The full URL to access the server action through the website.'), - 'website_path': fields.char('Website Path'), 'website_published': fields.boolean( 'Available on the Website', help='A code server action can be executed from the website, using a dedicated' - 'controller. The address is /website/action/.' + 'controller. The address is /website/action/.' 'Set this field as True to allow users to run this action. If it' 'set to is False the action cannot be run through the website.'), }