[Erp5-dev] movement.getPrice and acquisition

Bartek Gorny bartek at gorny.edu.pl
Thu Sep 30 14:32:29 CEST 2010


I see that movement uses a strange interaction-based hack to copy a
value returned by getPrice and make it local
(pricing_interaction_workflow/scripts/Movement_setPrice). The question
is, isn't it what acquisition_copy_value is supposed to do? And,
anyway, the need to copy a dynamically generated value and freeze it
locally seems to be pretty common, shouldn't a solution be a bit more
generic?

Bartek

-- 
"CPU stepping is when you tile your front porch with extra CPU like
celeron 1ghz units.
typically you spread a thin layer of mortar the cpu's are laid and
then joints filled.
that's it cpu steps all done!"

(dragonsprayer at www.tomshardware.co.uk)



More information about the Erp5-dev mailing list