Search 1.9 billion lines of Odoo code on GitHub

popup_beauty

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 { &#39;type&#39;: &#39;ir.actions.client&#39;, &#39;tag&#39;: &#39;popup_beauty.new&#39;, &#39;context&#39;:{ &#39;body&#39;: result, &#39;button&#39;: &#39;OK&#39;, &#39;type&#39;: &#39;success&#39;, }, } </code></pre> <h3>javascript</h3> <pre><code>var action = { &#39;type&#39;: &#39;ir.actions.client&#39;, &#39;tag&#39;: &#39;popup_beauty.new&#39;, &#39;context&#39;:{ &#39;body&#39;: result, &#39;button&#39;: &#39;OK&#39;, &#39;type&#39;: &#39;success&#39;, }, }; this.do_action(action) </code></pre>