Łukasz Nowak
2007-01-23 11:58:41 UTC
Hello,
I've made some movement groups myself, for properties/values associated
to Sale Order (eg. incoterm, shipper, etc). They are working fine, I've
even made test for them ;)
But I do not have idea how to create movement group, which will split
deliveries (sale_packing_list_builder) if order has different
default_payment_condition_* values, eg. trade_date, payment_mode,
payment_term.
I cannot find any documentation related to MovementGroups nor example
which will be more complicated (like mine).
Code, which is attached, works only if builder is invoked for many Sale
Orders. But when I'll try to glue more SPLs it won't work.
Well - all the time I'm trying to analyze code of
{Order,Delivery}Builder and MovementGroup modules, but without working
example similar to mine, I'm event not sure, if it is possible...
Thank in advance for any suggestions,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DefaultPaymentConditionMovementGroup.py
Type: text/x-python
Size: 3236 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070123/f345857d/attachment.py>
I've made some movement groups myself, for properties/values associated
to Sale Order (eg. incoterm, shipper, etc). They are working fine, I've
even made test for them ;)
But I do not have idea how to create movement group, which will split
deliveries (sale_packing_list_builder) if order has different
default_payment_condition_* values, eg. trade_date, payment_mode,
payment_term.
I cannot find any documentation related to MovementGroups nor example
which will be more complicated (like mine).
Code, which is attached, works only if builder is invoked for many Sale
Orders. But when I'll try to glue more SPLs it won't work.
Well - all the time I'm trying to analyze code of
{Order,Delivery}Builder and MovementGroup modules, but without working
example similar to mine, I'm event not sure, if it is possible...
Thank in advance for any suggestions,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 768 16 85 fax: +48 32 392 10 61
``Use the Source, Luke...''
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DefaultPaymentConditionMovementGroup.py
Type: text/x-python
Size: 3236 bytes
Desc: not available
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070123/f345857d/attachment.py>