Odoo Help

0

How to create a ticket view

By
Matthieu
on 5/24/16, 10:19 AM 528 views

Hello,


I'm currently creating a custom module on Odoo 9 and I want to create a ticket view called with the print button of this view :

http://i.imgur.com/u3Gr8vd.png

So, this view I want to create should be like this :

http://i.imgur.com/jVaOCw5.png


How can I do that ?


I expect you will be able to help me :)

Thank you in advance !

1
Prakash Sharma
On 5/24/16, 10:37 AM

instead of group  just use  div in the form view like:

<div>
<p><field name="tickets"/></p>
<p><field name="code"/></p>
<p><span class="oe_inline">Date Limit </span> <field name="purchase" class="oe_inline"/> </p>
</div>

Okay, but in what model for the view ? Because my button is calling an action view, so my record model is currently "ir.actions.report.xml" and there is no field named "arch" as for a "ir.ui.view" record model.

Matthieu
on 5/24/16, 10:42 AM

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

Question tools

1 follower(s)

Stats

Asked: 5/24/16, 10:19 AM
Seen: 528 times
Last updated: 5/24/16, 10:37 AM