Skip to Content
Menu
This question has been flagged
1 Reply
3067 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 !

Avatar
Discard
Best Answer

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>
Avatar
Discard
Author

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.