[trunk/7.0] context is not passed in function fields

Bug #1163895 reported by Stefan Reisich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Incomplete
Undecided
Unassigned

Bug Description

I'm stuck since one week now. I'm going crazy. The context is not passed to the function eg. on:

<field name="stock_real" context="{'product_id': 49}"/>

The field stock_real calls the _product_value function. product_id is not in the context... I need this urgently. Please help

Version 7.0-20130402-231639

Related branches

Stefan Reisich (nafex)
description: updated
Stefan Reisich (nafex)
summary: - context is not passed in function fields
+ [trunk/7.0] context is not passed in function fields
Revision history for this message
Tanel Külaots (mou) wrote :

Maybe it's a dup of #1088842 ?

Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello Stefan,

I have checked your Issue, But It's ambiguous to us. how to pass context with out any action. So Would you please elaborate more. and It's batter for us If you provide step or your module for reproduce.

Thank you and waiting for your reply!

Changed in openerp-web:
status: New → Incomplete
Revision history for this message
Stefan Reisich (nafex) wrote :

Hello Amit,

thank you. I have found a solution. This bug is a duplicate and the solution is here: https://code.launchpad.net/~openerp-dev/openerp-web/7.0-opw-584668-cpa.
I applyed the path manually and now it is working. Maybe you can help publish this as soon as possible. It is pending some month now...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.