This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js | |
index 062c746..ccf1c9a 100644 | |
--- a/addons/web/static/src/js/view_form.js | |
+++ b/addons/web/static/src/js/view_form.js | |
@@ -1869,15 +1869,33 @@ instance.web.form.FormWidget = instance.web.Widget.extend(instance.web.form.Invi | |
*/ | |
build_context: function() { | |
// only use the model's context if there is not context on the node | |
- var v_context = this.node.attrs.context; | |
+// var v_context = this.node.attrs.context; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Opening task when double clicking on project --> | |
<record id="dblc_proj" model="ir.actions.act_window"> | |
<field name="res_model">project.task</field> | |
<field name="name">Project's tasks</field> | |
<field name="view_type">form</field> | |
<field name="view_mode">tree,form,calendar,graph,gantt,kanban</field> | |
<field name="domain">[('project_id', 'child_of', [active_id])]</field> | |
<field name="context">{'project_id':active_id, 'active_test':False}</field> | |
</record> |