muk-it / muk_dms

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

Update directory.py because of an error with subdirectories button #130

Closed pasgou closed 4 years ago

pasgou commented 4 years ago

File "/usr/local/lib/python3.5/dist-packages/odoo/addons/muk_dms/models/directory.py", line 244, in search_panel_select_multi_range where_clause = '' if not file_ids else directory_where_clause.format( NameError: name 'file_ids' is not defined

There is an error line 244 : file_ids doesn’t exist. Is this field which was intended to be use ? « files = fields.One2many( comodel_name='muk_dms.file', inverse_name='directory', string="Files", auto_join=False, copy=False) »

pasgou commented 4 years ago

https://github.com/muk-it/muk_dms/issues/121#issue-521315096

keshrath commented 4 years ago

Thank you very much for your contribution.

Since we use our own development platform and Github only for code publishing, issue tracking and pull requests, I can't accept this pull request directly as it would bypass our CI workflow.

The changes are incorporated into these commits:

https://github.com/muk-it/muk_dms/commit/dad83b872c76155ab56fb52af524064c4b9fa68b

pasgou commented 4 years ago

👍