[IMP]: Improve view.
bzr revid: atp@tinyerp.com-20120702155541-r4wgdwz972waimr3
This commit is contained in:
parent
945ad60cfc
commit
7f6a3c4336
|
@ -379,9 +379,8 @@
|
|||
<field name="move_id" groups="account.group_account_user"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="origin" placeholder="SO0032"/>
|
||||
<field name="origin" placeholder="SO0032"/>
|
||||
<field name="date_due"/>
|
||||
<field name="user_id" groups="base.group_user"/>
|
||||
<newline/>
|
||||
<field domain="[('partner_id.ref_companies', 'in', [company_id])]" name="partner_bank_id"/>
|
||||
</group>
|
||||
|
|
|
@ -117,7 +117,7 @@
|
|||
<field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
|
||||
</header>
|
||||
<sheet string="Budget">
|
||||
<group>
|
||||
<group col="4">
|
||||
<group>
|
||||
<field name="name" colspan="1" attrs="{'readonly':[('state','!=','draft')]}"/>
|
||||
<field name="creating_user_id" attrs="{'readonly':[('state','!=','draft')]}"/>
|
||||
|
@ -127,11 +127,12 @@
|
|||
<field name="code" colspan="1" attrs="{'readonly':[('state','!=','draft')]}"/>
|
||||
<label for="date_from" string="Duration"/>
|
||||
<div>
|
||||
<field name="date_from" attrs="{'readonly':[('state','!=','draft')]}"/> -
|
||||
<field name="date_to" attrs="{'readonly':[('state','!=','draft')]}" nolabel="1"/>
|
||||
<field name="date_from" class="oe_inline" attrs="{'readonly':[('state','!=','draft')]}"/>
|
||||
<span attrs="{'invisible':[('date_to','=',False)]}" class="oe_inline"> - </span>
|
||||
<field name="date_to" class="oe_inline" attrs="{'readonly':[('state','!=','draft')]}" nolabel="1"/>
|
||||
</div>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="Budget Lines">
|
||||
|
@ -148,14 +149,15 @@
|
|||
<field name="percentage"/>
|
||||
</tree>
|
||||
<form string="Budget Lines" version="7.0">
|
||||
<group>
|
||||
<group col="4">
|
||||
<group>
|
||||
<field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
|
||||
<field name="general_budget_id"/>
|
||||
<field name="planned_amount"/>
|
||||
<label for="date_from" string="Duration"/>
|
||||
<div>
|
||||
<field name="date_from"/>-
|
||||
<field name="date_from"/>
|
||||
<span attrs="{'invisible':[('date_to','=',False)]}" class="oe_inline"> - </span>
|
||||
<field name="date_to"/>
|
||||
</div>
|
||||
</group>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
or
|
||||
<button string="Cancel" class="oe_link" special="cancel"/>
|
||||
</header>
|
||||
<group col="2" string="Select Your File :">
|
||||
<group col="2">
|
||||
<field name="coda_data" filename="coda_fname"/>
|
||||
<field name="coda_fname"/>
|
||||
</group>
|
||||
|
|
|
@ -144,9 +144,9 @@
|
|||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<button type="object"
|
||||
icon="terp-stock_format-scientific" name="compute_tax" string="Compute Tax"
|
||||
attrs="{'invisible': [('state','!=','draft')]}"/>
|
||||
<button type="object"
|
||||
icon="terp-stock_format-scientific" name="compute_tax" string="Compute Tax"
|
||||
attrs="{'invisible': [('state','!=','draft')]}"/>
|
||||
</group>
|
||||
</group>
|
||||
</page>
|
||||
|
|
Loading…
Reference in New Issue