Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I wanted to insert pictures in a ckeditor editor to send a email in OpenERP v7
I made a popup form with a image gallery and I open it when I press a button
The code of the action window:
<record id="action_wizard_gallery" model="ir.actions.act_window" >
<field name="view_id" ref="email_template_gallery_image_form_view" />
<field name="target" >new</field>
And I call the button like this:
<record model="ir.ui.view" id="mail_compose_message_form_image">
<field name="inherit_id" ref="mail.email_compose_message_wizard_form"/>
<field name="arch" type="xml">
<xpath expr="/form//field[@name='body']" position="after">
<button name="(mail_extended.action_wizard_gallery)d" type="action" class="oe_button oe_form_button oe_insert_image oe_edit_only" string="Insert Picture" />
If I call the gallery popup from a form that is not a popup everything works fine, if I call the gallery from a popup the previous popup is overrided
Is possible to indicate to the new form who is its father or how can I fix this?
Thanks in advance!!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/21/15, 5:13 AM|
|Seen: 527 times|
|Last updated: 3/16/15, 8:10 AM|