Hello,

I have problems with creating Sales in with Proteus and Tryton 2.4.

Error message is: *TypeError: unsupported operand type(s) for *: 
\'Decimal\' and \'float\'\n'* Full on http://pastebin.com/1cZkLZUi

But the type is Decimal and its working without any problems in Tryton 2.0

Code is here: http://pastebin.com/iSEfXzW5 When I comment out 
*#sale_line.unit_price 
= Decimal(10.0000)* the I can create the sale.

I updated Tryton a few month ago and get the same problem on other 
installation, and I changed only a little thing on the code and it worked. 
But I cannot renember that part and went back to 2.0 because of a other 
reason. But today I searched for 6 hour and could not get it... It would be 
very nice to get some help.

Thanks

-- 
-- 
[email protected] mailing list



Reply via email to