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