[IMP] pad demo daa

bzr revid: fp@openerp.com-20120905205539-sokhzgjpu0wi2pyo
This commit is contained in:
Fabien Pinckaers 2012-09-05 22:55:39 +02:00
parent 8d1e3d06ab
commit 3754ded707
4 changed files with 13 additions and 3 deletions

View File

@ -14,6 +14,7 @@ pads (by default, http://ietherpad.com/).
'website': 'http://openerp.com',
'depends': ['base'],
'data': ['res_company.xml'],
'demo': ['pad_demo.xml'],
'installable': True,
'auto_install': False,
'web': True,

9
addons/pad/pad_demo.xml Normal file
View File

@ -0,0 +1,9 @@
<openerp>
<data noupdate="1">
<record id="base.main_company" model="res.company">
<field name="pad_server">pad.openerp.com</field>
</record>
</data>
</openerp>

View File

@ -7,11 +7,12 @@
<field name="arch" type="xml">
<xpath expr="//group[@name='account_grp']" position="after">
<group string="Pads">
<field name="pad_server" placeholder="e.g. beta.primarypad.org"/>
<field name="pad_server" placeholder="e.g. beta.primarypad.com"/>
<field name="pad_key"/>
</group>
</xpath>
</field>
</record>
</data>
</openerp>

View File

@ -11,7 +11,6 @@
</div>
</t>
<t t-name="FieldPad.unconfigured">
Please configure your etherpad server.<br/>
OpenERP Entreprise customers may safely use pad.openerp.com<br/>
You must configure the etherpad through the menu Setting > Companies > Companies, in the configuration tab of your company.<br/>
</t>
</templates>