Skip to content

Commit

Permalink
[IMP] Set api key in demo file and remove key from pad.py
Browse files Browse the repository at this point in the history
bzr revid: tta@openerp.com-20121109063002-ej4bmzzxut5j12e7
  • Loading branch information
Tejas Tank committed Nov 9, 2012
1 parent 0528e00 commit 71d81ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/pad/pad.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def pad_generate_url(self, cr, uid, context=None):

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
Expand Down
4 changes: 4 additions & 0 deletions addons/pad/pad_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 71d81ff

Please sign in to comment.