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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
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
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
2
mag 25
|
1431 | ||
Import from Winbooks
Risolto
|
|
4
mag 25
|
5128 | |
|
1
ago 24
|
2415 | ||
|
1
feb 24
|
3170 | ||
|
3
ott 23
|
11235 |
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