[IMP] domain to context:
Use explicitely default_xxx in the context instead of relying on the domain to fill form views. bzr revid: vmt@openerp.com-20111124121433-z5du2yeu319ea1ax
This commit is contained in:
@@ -413,6 +413,7 @@
|
||||
</record>
|
||||
|
||||
<act_window domain="[('partner_id', '=', active_id)]"
|
||||
context="{'default_partner_id': active_id}"
|
||||
id="act_res_partner_document" name="Related Documents"
|
||||
res_model="ir.attachment"
|
||||
src_model="res.partner"
|
||||
@@ -420,6 +421,7 @@
|
||||
|
||||
<act_window
|
||||
domain="[('parent_id', '=', active_id)]"
|
||||
context="{'default_parent_id': active_id}"
|
||||
id="zoom_directory" name="Related Documents"
|
||||
res_model="ir.attachment"
|
||||
src_model="document.directory"/>
|
||||
|
||||
Reference in New Issue
Block a user