[Erp5-dev] quantity_unit magic

Łukasz Nowak lukasz.nowak at ventis.com.pl
Wed Dec 20 16:44:33 CET 2006


Hello,

For sometime I'm trying to hunt magic behind quantity_unit setter on 
Sale Order Line. Well - if you have Resource with quantity_unit set to 
'A' it will be copied to Sale Order Line after choosing this resource.

I've greped portal_skins and Products with quantity_?unit and ignore 
case and nothing what would set it show to me. I thought that it is made 
by predicate, but no - after usual predicate magic 
(context.portal_domains.generateMappedValue(context).getProperty('quantity_unit'), 
where context is sale order line) None is returned.

So my question is: where is that magic with quantity_unit? Am I blind? :)

Bye,
Luke

-- 
Łukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 392 10 60 int 37 fax: +48 32 392 10 61
https://ssl.ventis.com.pl/keys/lukasz.nowak.pub.asc
``Use the Source, Luke...''



More information about the Erp5-dev mailing list