[FIX] project: the domain inside an act_window tag is evaluated and
must be quoted if we want uid to remain uid, not become 1 at install time. bzr revid: vmt@openerp.com-20111124135557-9dfl6s46ln14h9cs
This commit is contained in:
parent
2e1023ddbe
commit
d65459da41
|
@ -2,20 +2,23 @@
|
|||
<openerp>
|
||||
<data>
|
||||
|
||||
<!--
|
||||
Board for project managers
|
||||
-->
|
||||
<!-- Board for project managers -->
|
||||
|
||||
<act_window
|
||||
domain="[('user_id', '=', uid)]"
|
||||
id="act_my_project" name="My projects"
|
||||
res_model="project.project" view_mode="tree,form"
|
||||
id="act_my_project"
|
||||
name="My projects"
|
||||
res_model="project.project"
|
||||
domain=""[('user_id', '=', uid)]""
|
||||
view_mode="tree,form"
|
||||
view_type="form"/>
|
||||
|
||||
<act_window
|
||||
id="act_my_account"
|
||||
name="My accounts to invoice"
|
||||
res_model="account.analytic.account"
|
||||
domain="[('user_id','=',uid),('state','<>','close')]"
|
||||
domain=""[('user_id','=',uid),('state','<>','close')]""
|
||||
view_mode="tree,form"
|
||||
view_type="form"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
Loading…
Reference in New Issue