> It should be something like that (untested):
> 
> stockdate = datetime.date(2012, 1, 1)
> with Transaction().set_context(stock_date_end=stockdate):
>     stock_2012_01_01 = product.quantity

I tried this in different variants but can't get it work.

-- 
-- 
[email protected] mailing list



Reply via email to