muk-it / muk_dms

MuK Document Management System
GNU Lesser General Public License v3.0
91 stars 144 forks source link

AttributeError: 'bool' object has no attribute 'split' #129

Open pradhanashwin opened 4 years ago

pradhanashwin commented 4 years ago

When i try to add a line in file page of directory following error occurs Screenshot_2020-01-02 Screenshot from 2020-01-02 12-22-06 png (PNG Image, 2732 × 768 pixels) - Scaled (50%)

  File "/usr/local/lib/python3.5/dist-packages/odoo/addons/muk_dms/models/file.py", line 314, in <listcomp>
    paths = [list(map(int, rec.directory.parent_path.split('/')[:-1])) for rec in records_with_directory]
AttributeError: 'bool' object has no attribute 'split'
guidoscha commented 4 years ago

Error still exists. Same here

keshrath commented 4 years ago

Please tell me the Odoo version.

guidoscha commented 4 years ago

odoo 12