Except the Administration can import the CSV files,the rest of internal users can not import it.How to setting all the users can?Also in Setting-General-Setting-Users,already click on "Allow users to import data from CSV/XLS/XLSX/ODS files."
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
If you want it for a group of users, switch to developer mode and go to technical - security - access rights (my version is in Spanish so wording may be slightly different), then find the model you want, in Group column select the type of user that should be able to perform the import and make sure the check marks at the right hand side ar properly activated.
Please upvote if helpful (I need karma points to post a question!).
Thanks
Tried it.But still get the below error.
SyntaxError: expected expression, got '<'
http://192.168.182.130/web#model=hr.leave&action=import&cids=&menu_id=117:1
Traceback:
DOMEval@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:715:10
globalEval@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:729:48
text script@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:1331:466
ajaxConvert@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:1284:79
done@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:1314:10
callback/<@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:1330:322
It is more likely do to a JavaScript error due to mixing with HTML tag, remove any HTML tag from the js function (that would be the solution) or follow the advice from https://stackoverflow.com/questions/28894074/syntaxerror-expected-expression-got. It seems is not Odoo rights related but coding. Hope this helps, if so, please upvote.
Thank you very much
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Aug 24
|
351 | ||
Import from Winbooks
Solved
|
|
3
Aug 24
|
1813 | |
|
1
Feb 24
|
1120 | ||
|
3
Oct 23
|
9060 | ||
|
3
Oct 23
|
1235 |
Make sure that the uses has create, write access to the model. For example if you select User in inventory access so the user will not able to create or modify products.
I try to give the same access right of 'Administration Setting' in 'technical - security - access rights'.
But still get the But still get the below error.
SyntaxError: expected expression, got '<'
http://192.168.182.130/web#model=hr.leave&action=import&cids=&menu_id=117:1
Traceback:
DOMEval@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:715:10
globalEval@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:729:48
text script@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:1331:466
ajaxConvert@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:1284:79
done@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:1314:10
callback/<@http://192.168.182.130/web/content/780-b8a36dd/web.assets_common.js:1330:322