>
>
> I do not understand. The context inside the execution of 
> get_purchase_price stays the same. So what do you name "previous 
> context"? 
>
> i mean, inside the method get_purchase_price, the method get_pattern from 
ProductSupplierPrice is called. Has the method get_pattern the same 
context  ? because when try to get 'purchase_date' from the context, it 
doesn't seems to find the variable.

have i choose the best way (see my code) using get_pattern and surcharging 
"match" method for returning a product supplier price between 2 dates ?

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/e0ad88ac-95c1-465d-a850-811963a447ec%40googlegroups.com.

Reply via email to