Comment 10 for bug 560456

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello ,

I have gone through the video.
Here are 2 aspects:
1. You want this change only due to you override the onchange method.
2. This change is not acceptable as for customer invoices, it has to take the sales price.

For 1, you may simply do this:
def onchange()
 something = call super
somethng['price'unit'] = some price
return something

For 2, I am sorry, we cannot use this patch because this is a generic need.

I will consult more experts for this point.
Thanks.