Author: |
Shurshilov Artem, Savetime Tehnology |
License: |
no license |
Branch: |
10.0 |
Repository: |
consultingerp/odoo-8 |
Dependencies: |
base,
and
web |
Languages: |
CSS (123, 39.0%),
HTML (39, 12.4%),
JavaScript (31, 9.8%),
Markdown (25, 7.9%),
Python (24, 7.6%),
XML (44, 14.0%),
and
reStructuredText (29, 9.2%) |
Other repositories: |
Guobower/odoo-3,
MYRCONSULTING/odoo-1,
elastoffice-csenteri-zoltan/odoo,
fengyunsen/odoo-1,
jboubix/odoo,
niulinlnc/odoo-1,
odoo-modules/odoo-3,
prodax/odoo-2,
shouyejing/odoo-3,
shurshilov/odoo,
sm2x/odoo,
suningwz/odoo-3,
vidtsin/odoo-9,
and
wanfgh/odoo-1 |
<h1>How to use</h1>
<h3>python</h3>
<pre><code>@api.multi
def somefunction(self):
#do something
return {
'type': 'ir.actions.client',
'tag': 'popup_beauty.new',
'context':{
'body': result,
'button': 'OK',
'type': 'success',
},
}
</code></pre>
<h3>javascript</h3>
<pre><code>var action = {
'type': 'ir.actions.client',
'tag': 'popup_beauty.new',
'context':{
'body': result,
'button': 'OK',
'type': 'success',
},
};
this.do_action(action)
</code></pre>