[IMP] small form view improvements

bzr revid: rco@openerp.com-20120629101208-fmfa4k5dgm818aqy
This commit is contained in:
Raphael Collet 2012-06-29 12:12:08 +02:00
parent 7416e2443f
commit 7c114fa26a
14 changed files with 30 additions and 51 deletions

View File

@ -63,11 +63,11 @@
<button name="case_close" string="Done" type="object"
states="draft,pending"/>
<button name="case_pending" string="Pending" type="object"
states="draft,open" />
states="draft,open"/>
<button name="case_escalate" string="Escalate" type="object"
states="draft,open,pending" />
states="draft,open,pending"/>
<button name="case_reset" string="Reset to New" type="object"
states="cancelled,done" />
states="cancelled,done"/>
<button name="stage_previous" string="Previous Stage" type="object"
states="open,pending" icon="gtk-go-back"
attrs="{'invisible': [('stage_id','=', False)]}"/>

View File

@ -145,9 +145,9 @@
<form string="Project Phase" version="7.0">
<header>
<button string="Start Phase" name="set_open" states="pending,draft" class="oe_highlight"/>
<button string="Done" name="set_done" states="pending,open" />
<button string="Pending" name="set_pending" states="open" />
<button string="Draft" name="set_draft" states="open" />
<button string="Done" name="set_done" states="pending,open"/>
<button string="Pending" name="set_pending" states="open"/>
<button string="Draft" name="set_draft" states="open"/>
<button string="Cancel" name="set_cancel" states="draft,open,pending"/>
<field name="state" widget="statusbar" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}'/>
</header>

View File

@ -13,10 +13,8 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator string="Merge Inventories" />
</group>
<label string="Do you want to merge theses inventories?"/>
<separator string="Merge Inventories" />
<label string="Do you want to merge theses inventories?"/>
</form>
</field>
</record>

View File

@ -12,9 +12,7 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator string="Stock Location Analysis"/>
</group>
<separator string="Stock Location Analysis"/>
<group>
<field name="from_date"/>
<field name="to_date"/>

View File

@ -14,17 +14,14 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator string="Consume Products"/>
<group string="Consume Products">
<field name="product_id" readonly="1"/>
<label for="product_qty"/>
<div>
<field name="product_id" readonly="1"/>
<label for="product_qty"/>
<div>
<field name="product_qty"/>
<field name="product_uom" nolabel="1" readonly="1"/>
</div>
<field name="location_id"/>
<field name="product_qty"/>
<field name="product_uom" nolabel="1" readonly="1"/>
</div>
<field name="location_id"/>
</group>
</form>
</field>

View File

@ -26,10 +26,8 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator string="Products"/>
<field name="move_ids"/>
</group>
<separator string="Products"/>
<field name="move_ids"/>
</form>
</field>
</record>

View File

@ -21,10 +21,8 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<field name="hide_tracking" invisible="1"/>
<separator string="Transfer Products" name="product_separator"/>
</group>
<field name="hide_tracking" invisible="1"/>
<separator string="Transfer Products" name="product_separator"/>
<field name="move_ids" context="{'hide_tracking': hide_tracking}">
<tree editable="bottom" string="Product Moves">
<field name="product_id" />

View File

@ -64,9 +64,7 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<label string="Provide the quantities of the returned products."/>
</group>
<label string="Provide the quantities of the returned products."/>
<group>
<field name="product_return_moves"/>
<field name="invoice_state" />

View File

@ -20,9 +20,9 @@
<field name="arch" type="xml">
<form string="Survey" version="7.0">
<header>
<button name="survey_open" string="Open" states="cancel,close" type="object" />
<button name="survey_open" string="Open" states="cancel,close" type="object"/>
<button name="survey_close" string="Close" states="open" type="object" class="oe_highlight"/>
<button name="survey_cancel" string="Cancel" states="open" type="object" />
<button name="survey_cancel" string="Cancel" states="open" type="object"/>
<field name="state" widget="statusbar" statusbar_visible="open,close"/>
</header>
<sheet>
@ -1102,7 +1102,7 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object" />
<button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object"/>
<button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object" class="oe_highlight"/>
<button name="survey_req_done" string="Done" states="waiting_answer" type="object" class="oe_highlight"/>
<button name="survey_req_cancel" string="Cancel" states="waiting_answer" type="object"/>

View File

@ -15,9 +15,7 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<field name="survey_ids"/>
</group>
<field name="survey_ids"/>
</form>
</field>
</record>

View File

@ -15,8 +15,7 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator string="Menu Information" colspan="4" />
<group string="Menu Information">
<field name="menu_name" />
<field name="menu_parent_id" />
</group>

View File

@ -15,10 +15,8 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator string="Menu Information" colspan="4"/>
<label string="Want to create a Index on Selected Pages ? "/>
</group>
<separator string="Menu Information"/>
<label string="Want to create a Index on Selected Pages ? "/>
</form>
</field>
</record>

View File

@ -13,8 +13,8 @@
<header>
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<separator colspan="4" string="Notes"/>
<field name="file_path" colspan="4" width="300"/>
<separator string="Notes"/>
<field name="file_path" width="300"/>
</form>
</field>
</record>

View File

@ -15,10 +15,7 @@
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator string="" colspan="6" />
<label string="Want to open a wiki page? "/>
</group>
<label string="Want to open a wiki page? "/>
</form>
</field>
</record>