Bugfixes on colors

bzr revid: fp@tinyerp.com-7641be5cb1f62d6a944610e55dbe541d31211d29
This commit is contained in:
Fabien Pinckaers 2008-06-14 17:43:28 +00:00
parent a74b2f29b8
commit 43c5db20d0
1 changed files with 2 additions and 75 deletions

View File

@ -8,7 +8,7 @@
<field name="type">tree</field>
<field name="priority" eval="8"/>
<field name="arch" type="xml">
<tree string="Analytic account" colors="red:date and (date&lt;=current_date); red:quantity_max and (quantity_max&gt;quantity)">
<tree string="Analytic account" colors="red:date and (date&lt;=current_date)">
<field name="code" />
<field name="complete_name"/>
<field name="quantity" />
@ -24,7 +24,7 @@
<field name="type">tree</field>
<field name="field_parent">child_ids</field>
<field name="arch" type="xml">
<tree string="Analytic account" colors="red:date and (date&lt;=current_date); red:quantity_max and (quantity_max&gt;quantity)">
<tree string="Analytic account" colors="red:date and (date&lt;=current_date)">
<field name="name"/>
<field name="code"/>
<field name="date" />
@ -324,79 +324,6 @@
id="report_account_analytic_journal_print_month"
action="report_account_analytic_journal_tree_month"/>
# ---------------------------------------------------------
# Budgets
# ---------------------------------------------------------
<!--<record model="ir.ui.view" id="view_account_analytic_budget_post_form">
<field name="name">account.analytic.budget.post.form</field>
<field name="model">account.analytic.budget.post</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Analytic Budget item">
<notebook>
<page string="Definition">
<field name="code" select="1"/>
<field name="name" select="1"/>
<field name="sens"/>
</page><page string="Dotations">
<button string="Spread" name="%(wizard_account_analytic_budget_spread)d" type="action"/>
<field name="dotation_ids" colspan="4" nolabel="1"/>
</page><page string="Accounts">
<field name="account_ids" colspan="4" nolabel="1"/>
</page>
</notebook>
</form>
</field>
</record>
<record model="ir.ui.view" id="view_account_analytic_budget_post_tree">
<field name="name">account.analytic.budget.post.tree</field>
<field name="model">account.analytic.budget.post</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Analytic Budget item">
<field name="code"/>
<field name="name"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="view_account_analytic_budget_post_dotation_form">
<field name="name">account.analytic.budget.post.dotation.form</field>
<field name="model">account.analytic.budget.post.dotation</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Analytic Budget items expenses">
<field name="period_id"/>
<newline/>
<field name="quantity"/>
<field name="amount"/>
</form>
</field>
</record>
<record model="ir.ui.view" id="view_analytic_budget_post_dotation_tree">
<field name="name">account.analytic.budget.post.dotation.tree</field>
<field name="model">account.analytic.budget.post.dotation</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Analytic Budget items expenses">
<field name="period_id"/>
<field name="quantity"/>
<field name="amount"/>
</tree>
</field>
</record>
<record model="ir.actions.act_window" id="open_account_analytic_budget_post_form">
<field name="res_model">account.analytic.budget.post</field>
<field name="view_type">form</field>
<field name="view_id" ref="view_account_analytic_budget_post_tree"/>
</record>
<menuitem name="Financial Management/Configuration/Budgets/Analytic Budgets" id="menu_account_analytic_budget_post_form" action="open_account_analytic_budget_post_form"/>-->
<act_window name="All Analytic Entries"
domain="[('account_id', '=', active_id)]"
res_model="account.analytic.line"