Search code examples
excelfile-uploadmoduleodoouser-permissions

How to set permissions for internal users to upload and import excel files into attendance module of Odoo 13?


Currently, My internal user (Khanh Nguyen) has choosen administration is blank.

Internal User

I would like to upload and import excel files into attendance module of Odoo 13 by internal user but only administrator can upload excel files.

File log of Odoo 13

So how to set permissions for internal user to upload and import excel files into attendance module?


Solution

  • This trouble is due to XLSX files mistaken as SVG files. Edit odoo/fields.py following this commit

    https://github.com/odoo-dev/odoo/commit/5a7a362188473de919cd7562996057f73deb5eaf

    Or pull the latest Odoo 13 source, they committed this fixing days ago

    https://github.com/odoo/odoo/commit/65d709c9ab386d646f682c494cfb21cb06ec8034