[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:
Vo Minh Thu
2011-11-24 13:14:33 +01:00
parent 3113d84566
commit 2e1023ddbe
42 changed files with 88 additions and 47 deletions
+2
View File
@@ -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"/>