Mayur Maheshwari(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-opw-381792-port-mma into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-381792-port-mma/+merge/136573
Hello,
I have Removed the groups on "analytic_account_id" as the field is
required, and will prevent user from filling budget correctly.
code is forward port from 6.1
Thanks,
Mayur
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-381792-port-mma/+merge/136573
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-opw-381792-port-mma.
=== modified file 'account_budget/account_budget_view.xml'
--- account_budget/account_budget_view.xml 2012-11-16 14:15:17 +0000
+++ account_budget/account_budget_view.xml 2012-11-28 06:10:25 +0000
@@ -60,7 +60,7 @@
<field name="crossovered_budget_line" widget="one2many_list" mode="tree">
<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"/>
@@ -72,7 +72,7 @@
<form string="Budget Lines" version="7.0">
<group col="4">
<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"/>
@@ -128,7 +128,7 @@
<page string="Budget Lines">
<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"/>
@@ -141,7 +141,7 @@
<form string="Budget Lines" version="7.0">
<group>
<group>
- <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
+ <field name="analytic_account_id"/>
<field name="general_budget_id"/>
<field name="planned_amount"/>
</group>
@@ -236,7 +236,7 @@
<field name="model">crossovered.budget.lines</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