mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: Advanced filter wizard resizing
This commit is contained in:
@@ -4,31 +4,40 @@
|
||||
<field name="name">Filter by dates</field>
|
||||
<field name="model">pms.advanced.filters.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Advanced filters">
|
||||
<group>
|
||||
<field name="pms_model_id" widget="selection" string="Model" />
|
||||
<field
|
||||
name="pms_domain"
|
||||
widget="domain"
|
||||
string="Filters"
|
||||
options="{'model': 'pms_model_name'}"
|
||||
/>
|
||||
<field name="pms_model_name" invisible="1" />
|
||||
</group>
|
||||
<footer>
|
||||
<button
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
id="reservation_button"
|
||||
name="action_filter"
|
||||
string="Search"
|
||||
/>
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</footer>
|
||||
<div>
|
||||
<br />
|
||||
<br />
|
||||
</div>
|
||||
<form string="Advanced filters" colspan="4">
|
||||
<sheet>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('.modal-dialog').css({'width': '100%', 'height': '85%'});
|
||||
$('.modal-content').css({'height': '80%'});
|
||||
$('.modal-body').css({'height': '80%'});
|
||||
});
|
||||
</script>
|
||||
<group>
|
||||
<field name="pms_model_id" widget="selection" string="Model" />
|
||||
<field
|
||||
name="pms_domain"
|
||||
widget="domain"
|
||||
string="Filters"
|
||||
options="{'model': 'pms_model_name'}"
|
||||
/>
|
||||
<field name="pms_model_name" invisible="1" />
|
||||
</group>
|
||||
<footer>
|
||||
<button
|
||||
type="object"
|
||||
class="oe_stat_button"
|
||||
id="reservation_button"
|
||||
name="action_filter"
|
||||
string="Search"
|
||||
/>
|
||||
<button string="Cancel" class="oe_link" special="cancel" />
|
||||
</footer>
|
||||
<div>
|
||||
<br />
|
||||
<br />
|
||||
</div>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user