This question has been flagged
1 Reply
5429 Views

I am trying to extend a formview to fullscreen, but everything i try, just doesn't work. Here is the view, and the last thing i've tried, to make it work. I've also tried to put in inside the action, but i don't get the result i want.


I've looked up in the css and i've found out that it sets the property modal-lg and a fixed with of 980px. If i put it to 100% it works as i want, but it works on other views, which i don't want.


Here is the code for the view:


        <record id="tabla_faq_area_instructions_form_view" model="ir.ui.view">
<field name="name">Področje</field>
<field name="model">tabla.faq.area</field>
<!-- <field name="target">fullscreen</field>-->
<field name="arch" type="xml">
<form>
<sheet>
<group colspan="4">
<field name="name" required="1"/>
<field name="blog_id" required="1" domain="[('is_category','=',True)]"/>
</group>
<group colspan="4">
<field name="instructions_ids" nolabel="1">
<tree>
<field name="sequence" widget="handle"/>
<field name="name"/>
<field name="display_help"/>
<field name="instructions"/>
</tree>
</field>
</group>
</sheet>
</form>
</field>
</record>
Avatar
Discard
Best Answer

Try to fully replace the '<sheet> </sheet>' tag from the view. This would make a form wider.

Avatar
Discard