[FIX] project_issue_sheet: improved code
authorTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Mon, 30 Apr 2012 06:16:55 +0000 (11:46 +0530)
committerTurkesh Patel (Open ERP) <tpa@tinyerp.com>
Mon, 30 Apr 2012 06:16:55 +0000 (11:46 +0530)
bzr revid: tpa@tinyerp.com-20120430061655-z1a7yphklav6oosn

addons/project_issue_sheet/project_issue_sheet_view.xml

index ac2f299..4ad7285 100644 (file)
@@ -10,7 +10,7 @@
                 <field name="project_id" position="attributes">
                     <attribute name="on_change">on_change_project(project_id)</attribute>
                 </field>
-                <xpath expr="/form/notebook" position="before">
+                <xpath expr="/form/sheet/notebook" position="before">
                     <field name="analytic_account_id"
                         domain="[('parent_id','!=',False),('partner_id', '=', partner_id),('type', '!=', 'view')]"
                         on_change='on_change_account_id(analytic_account_id)'/>