diff options
| author | Vo Minh Thu <vmt@openerp.com> | 2011-11-24 13:14:33 +0100 |
|---|---|---|
| committer | Vo Minh Thu <vmt@openerp.com> | 2011-11-24 13:14:33 +0100 |
| commit | 2e1023ddbe381ef162003abf75c22cfc44e7c2e4 (patch) | |
| tree | 7cb196de0ffd8acc1ad18562f9d9e667fe15f8e3 /addons/document | |
| parent | 3113d84566be0bdfc5c2ace4dce4a86d3f372c2f (diff) | |
[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
Diffstat (limited to 'addons/document')
| -rw-r--r-- | addons/document/document_view.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/document/document_view.xml b/addons/document/document_view.xml index 0e00531f5b5..05e49ae89ad 100644 --- a/addons/document/document_view.xml +++ b/addons/document/document_view.xml @@ -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"/> |
