[Erp5-dev] Site Error List Action - SOLVED

Tomasz Brzezina tomasz at brzezina.pl
Fri Mar 28 14:26:11 CET 2008


Tomasz Brzezina pisze:
> Why there's an error?
> 
>       Module Products.ERP5Form.ListBox, line 1633, in query
>       1631 |      self.current_page = 0
>       1632 |    else:
>       1633>|      self.total_pages = int(max(self.total_size - 1, 0) / 
> max_lines) + 1
>       1634 |      if start >= self.total_size:
>       1635 |        start = max(self.total_size - 1, 0)
> 
> TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
> 
> where should I set max_lines?
I found it - I have to enable preferences ;D

-- 
Tomasz Brzezina
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3327 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20080328/3a6b6b9b/attachment.bin>


More information about the Erp5-dev mailing list