muk-it / muk_web

MuK Odoo Web Modules
GNU Lesser General Public License v3.0
109 stars 231 forks source link

MuK dms view with multicompany option, issue #136

Open mtzvetkof opened 4 years ago

mtzvetkof commented 4 years ago

Hello, odoo12 CE clean install, no demo data. Multicompany option activated. MuK dms installed. Administrator can create new companies. Admin can create new users. Muk dms view installed. Administrator can not create new companies. Administrator can create new users. See picture attached with Odoo server error. muk_dms_view_issue I have done little debugging to find out which of the technical modules is causing the error...and found out that muk_web_client_refresh is causing the error.

keshrath commented 4 years ago

Cannot reproduce this error. Can you give me more information.

mtzvetkof commented 4 years ago

Hello and Happy New Year. Wish you all the best for 2020. Now, what i did step by step to reproduce the error:

  1. Fresh install of Odoo 12 CE / Debian 10
  2. Create empty DB with only user Administrator (ID:2)
  3. Login as Administrator
  4. Install 1 native Odoo 12 app. - Invoicing (My Company is the default)
  5. Now Settings - General Settings and check Multi-companies option
  6. Uncheck "Common contact book" and "Common product catalog"
  7. Save
  8. Upload MuK Documents 12.0.3.0.3 with all dependencies to Odoo addons folder.
  9. Settings - Activate developer mode
  10. Apps - Update Aps List - Install MuK Documents, ...successful
  11. Now check, Settings - Users & Companies - Companies - Create ..successful creation of new company
  12. Upload MuK dms view - 12.0.1.0.0 with rest of necessary dependencies dms_actions/web_client/web_client_refresh/web_preview/dms_view
  13. Again: Apps - Update Aps List
  14. I started installing dependencies one by one
  15. First was MuK DMS actions. Installed successfully.
  16. Now check, Settings - Users & Companies - Companies - Create ..successful creation of new company
  17. Second i installed MuK web client. Installed successfully.
  18. Check again, Settings - Users & Companies - Companies - Create ..successful creation of new company
  19. Third i installed MuK web client refresh. Installed successfully.
  20. Check again, Settings - Users & Companies - Companies - Create .. after entering company name and clicking Save, Odoo throws the error from my original post. "Odoo Server Error - access error" So i concluded that the issue with creating a new company in Multi-company mode comes from module web_client_refresh