[Erp5-dev] Delivery getTotalPrice and getTotalQuantity
Romain Courteaud
romain at nexedi.com
Thu Mar 24 09:56:35 CET 2005
I made some change on Delivery_zGetTotal too.
First, I removed target references, which are not used anymore.
Then, total_price can be calculated with price*quantity.
And finally, the condition movement.is_accountable = 1 does not mean
anything. It is better to use has_cell_content = 0.
Regards.
Romain
Alexandre Boeglin wrote:
> Le Mardi 15 Mars 2005 10:38, Alexandre Boeglin a écrit :
>
>
>>- in portal_skins/erp5_trade, replace Delivery_zGetTotal with the
>>atached one,
>
>
> Actually, it's even easier, as the variation_text and resource_uid
> parameters are handled by the buildSQLQuery too.
>
> Regards,
> Alex
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Delivery_zGetTotal
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20050324/2df67798/attachment.asc>
More information about the Erp5-dev
mailing list