[MERGE]:lp:~openerp-dev/openobject-addons/trunk-fix-topbar1-tpa

bzr revid: apa@tinyerp.com-20120430061852-adzh2gaz8jk2fy9j
This commit is contained in:
Amit Patel (OpenERP)
2012-04-30 11:48:52 +05:30
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
<field name="type">form</field>
<field name="inherit_id" ref="event.view_event_registration_form" />
<field name="arch" type="xml">
<xpath expr="/form/notebook/page[@string='Emails']" position="after">
<xpath expr="/form/sheet/notebook/page[@string='Emails']" position="after">
<page string="Moodle">
<field name="moodle_user_password" readonly='1' colspan="2"/>
<field name="moodle_uid" readonly="1"/>
@@ -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)'/>