Hi, 

I would like to add start_date and  end_date for a product supplier price.

Here's my code:

http://pastebin.com/Bm9GwTps

My problem:

get_purchase_price method is called  from PurchaseLine with a specific 
context (purchase_date,...) then get_purchase_price check if there's 
product_supplier_price matching.
How to keep previous context to check if purchase_date is between 
start_date and end_date ?
Thanks for your help !

-- 
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/455702b6-8771-4bd2-b5c5-0980632a9aa6%40googlegroups.com.

Reply via email to