[IMP] Set api key in demo file and remove key from pad.py
bzr revid: tta@openerp.com-20121109063002-ej4bmzzxut5j12e7
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ class pad_common(osv.osv_memory):
|
||||
|
||||
pad = {
|
||||
"server" : company.pad_server,
|
||||
"key" : company.pad_key or "4DxmsNIbnQUVQMW9S9tx2oLOSjFdrx1l",
|
||||
"key" : company.pad_key,
|
||||
}
|
||||
|
||||
# make sure pad server in the form of http://hostname
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
<record id="base.main_company" model="res.company">
|
||||
<field name="pad_server">pad.openerp.com</field>
|
||||
</record>
|
||||
|
||||
<record id="base.main_company" model="res.company">
|
||||
<field name="pad_key">4DxmsNIbnQUVQMW9S9tx2oLOSjFdrx1l</field>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
Reference in New Issue
Block a user