[FIX] remove module_portal_anonymous ref
bzr revid: chm@openerp.com-20140127155412-zujhq5qb2q6xzj2t
This commit is contained in:
parent
43044d8ee7
commit
70a8e7902b
|
@ -7,7 +7,7 @@
|
||||||
<field name="model">base.config.settings</field>
|
<field name="model">base.config.settings</field>
|
||||||
<field name="inherit_id" ref="base_setup.view_general_configuration"/>
|
<field name="inherit_id" ref="base_setup.view_general_configuration"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='module_portal_anonymous']/.." position="after">
|
<xpath expr="//field[@name='module_portal']/.." position="after">
|
||||||
<div>
|
<div>
|
||||||
<field name="auth_signup_reset_password" class="oe_inline"/>
|
<field name="auth_signup_reset_password" class="oe_inline"/>
|
||||||
<label for="auth_signup_reset_password"/>
|
<label for="auth_signup_reset_password"/>
|
||||||
|
|
|
@ -35,8 +35,6 @@ class base_config_settings(osv.osv_memory):
|
||||||
help="""Share or embbed any screen of openerp."""),
|
help="""Share or embbed any screen of openerp."""),
|
||||||
'module_portal': fields.boolean('Activate the customer portal',
|
'module_portal': fields.boolean('Activate the customer portal',
|
||||||
help="""Give your customers access to their documents."""),
|
help="""Give your customers access to their documents."""),
|
||||||
'module_portal_anonymous': fields.boolean('Activate the public portal',
|
|
||||||
help="""Enable the public part of openerp, openerp becomes a public website."""),
|
|
||||||
'module_auth_oauth': fields.boolean('Use external authentication providers, sign in with google, facebook, ...'),
|
'module_auth_oauth': fields.boolean('Use external authentication providers, sign in with google, facebook, ...'),
|
||||||
'module_base_import': fields.boolean("Allow users to import data from CSV files"),
|
'module_base_import': fields.boolean("Allow users to import data from CSV files"),
|
||||||
'module_google_drive': fields.boolean('Attach Google documents to any record',
|
'module_google_drive': fields.boolean('Attach Google documents to any record',
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<div>
|
<div>
|
||||||
<field name="module_portal" class="oe_inline"/>
|
<field name="module_portal" class="oe_inline"/>
|
||||||
<label for="module_portal"/>
|
<label for="module_portal"/>
|
||||||
<p attrs="{'invisible': [('module_portal_anonymous','=',False)]}">
|
<p attrs="{'invisible': [('module_portal','=',False)]}">
|
||||||
When you send a document to a customer
|
When you send a document to a customer
|
||||||
(quotation, invoice), your customer will be
|
(quotation, invoice), your customer will be
|
||||||
able to signup to get all his documents,
|
able to signup to get all his documents,
|
||||||
|
@ -52,15 +52,6 @@
|
||||||
etc.
|
etc.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<field name="module_portal_anonymous" class="oe_inline"/>
|
|
||||||
<label for="module_portal_anonymous"/> <span class="oe_grey">(company news, jobs, contact form, etc.)</span>
|
|
||||||
<p attrs="{'invisible': [('module_portal_anonymous','=',False)]}">
|
|
||||||
The public portal is accessible only if you are in a single database mode. You can
|
|
||||||
launch the OpenERP Server with the option <b>--db-filter=YOUR_DATABAE</b> to do so.
|
|
||||||
Once activated, the login page will be replaced by the public website.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
|
|
|
@ -184,7 +184,7 @@
|
||||||
|
|
||||||
website.EditorShopTest = website.Test.extend({
|
website.EditorShopTest = website.Test.extend({
|
||||||
id: 'shoptest',
|
id: 'shoptest',
|
||||||
name: "Try to by 3 products",
|
name: "Try to by products",
|
||||||
path: '/shop',
|
path: '/shop',
|
||||||
init: function (editor) {
|
init: function (editor) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
@ -300,7 +300,7 @@
|
||||||
return this._super();
|
return this._super();
|
||||||
},
|
},
|
||||||
trigger: function () {
|
trigger: function () {
|
||||||
return (this.resume() && this.testUrl(/^\/shop\//)) || this._super();
|
return (this.resume() && this.testUrl(/\/shop\//)) || this._super();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue