Xavier ALT (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-381792-xal into
lp:openobject-addons/6.1.
Requested reviews:
OpenERP R&D Team (openerp-dev)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-381792-xal/+merge/95545
Hi,
This is a forward-port of v6.0 [OPW 381792].
Removing the groups on "analytic_account_id" as the field is required, and will
prevent user from filling budget correctly.
Thanks,
Xavier
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-381792-xal/+merge/95545
Your team OpenERP R&D Team is requested to review the proposed merge of
lp:~openerp-dev/openobject-addons/6.1-opw-381792-xal into
lp:openobject-addons/6.1.
=== modified file 'account_budget/account_budget_view.xml'
--- account_budget/account_budget_view.xml 2011-11-09 15:50:12 +0000
+++ account_budget/account_budget_view.xml 2012-03-02 12:17:18 +0000
@@ -66,13 +66,13 @@
<page string="Budget Lines">
<field name="crossovered_budget_line" widget="one2many_list" colspan="4" nolabel="1" mode="graph,tree">
<graph type="bar" string="Lines">
- <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
+ <field name="analytic_account_id"/>
<field name="planned_amount" operator="+"/>
<field group="True" name="general_budget_id"/>
</graph>
<tree string="Budget Lines" editable="top">
<field name="crossovered_budget_id"/>
- <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
+ <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
<field name="date_from"/>
<field name="date_to"/>
<field name="paid_date"/>
@@ -83,7 +83,7 @@
</tree>
<form string="Budget Lines">
<field name="crossovered_budget_id"/>
- <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]" />
+ <field name="analytic_account_id" domain="[('parent_id','!=',False)]" />
<field name="date_from"/>
<field name="date_to"/>
<field name="paid_date"/>
@@ -114,7 +114,7 @@
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
<field name="crossovered_budget_line" colspan="4" nolabel="1" attrs="{'readonly':[('state','!=','draft')]}">
<tree string="Budget Lines">
- <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
+ <field name="analytic_account_id"/>
<field name="general_budget_id"/>
<field name="date_from"/>
<field name="date_to"/>
@@ -125,7 +125,7 @@
<field name="percentage"/>
</tree>
<form string="Budget Lines">
- <field name="analytic_account_id" select="1" groups="analytic.group_analytic_accounting"/>
+ <field name="analytic_account_id" select="1"/>
<field name="general_budget_id" select="1"/>
<field name="date_from"/>
<field name="date_to"/>
@@ -203,7 +203,7 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Budget Lines">
- <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
+ <field name="analytic_account_id"/>
<field name="crossovered_budget_id" invisible="1"/>
<field name="general_budget_id"/>
<field name="date_from"/>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp