Giter Club home page Giter Club logo

Comments (8)

simahawk avatar simahawk commented on August 31, 2024

@conroyke56 hi, thanks for your feedback.
Can you reproduce on runboat too?
https://runboat.odoo-community.org/webui/builds.html?repo=OCA/wms&target_branch=14.0

from wms.

conroyke56 avatar conroyke56 commented on August 31, 2024

@conroyke56 hi, thanks for your feedback.

Can you reproduce on runboat too?

https://runboat.odoo-community.org/webui/builds.html?repo=OCA/wms&target_branch=14.0

I'm not actually sure how to do that.

But today I spun up a clean install of Odoo 14 from the offical repo. And Odoo 14 from OCB.

Both had the same problem regarding deleting.

Installing every single shop floor module regained some functions with demo data, but still could not delete apps.

Without demo data, had no luck at all installing shop floor examples. They would install, but not be visible or functional.

I'm wondering if there's perhaps some data in the demo that is not present on a clean database.

I'm hoping it's something simple I have overlooked.

I really want to try and build on this app.

from wms.

conroyke56 avatar conroyke56 commented on August 31, 2024

@conroyke56 hi, thanks for your feedback. Can you reproduce on runboat too? https://runboat.odoo-community.org/webui/builds.html?repo=OCA/wms&target_branch=14.0

so i think i managed to lo gin to the latest runboat.

create an app. delete the app. get the same error:
Error:
Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/opt/odoo/odoo/http.py", line 696, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo/http.py", line 370, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo/http.py", line 358, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo/http.py", line 919, in call
return self.method(*args, **kw)
File "/opt/odoo/odoo/http.py", line 544, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/addons/web/controllers/main.py", line 1370, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/addons/web/controllers/main.py", line 1362, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/api.py", line 399, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo/api.py", line 386, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo-venv/lib/python3.8/site-packages/odoo/addons/endpoint_route_handler/models/endpoint_route_sync_mixin.py", line 84, in unlink
self._unregister_controllers()
File "/opt/odoo-venv/lib/python3.8/site-packages/odoo/addons/endpoint_route_handler/models/endpoint_route_sync_mixin.py", line 101, in _unregister_controllers
self._endpoint_registry.drop_rules(self._registered_endpoint_rule_keys())
File "/mnt/data/odoo-addons-dir/shopfloor_base/models/shopfloor_app.py", line 162, in _registered_endpoint_rule_keys
return [x[0] for x in self._registered_routes()]
File "/mnt/data/odoo-addons-dir/shopfloor_base/models/shopfloor_app.py", line 162, in
return [x[0] for x in self._registered_routes()]
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/odoo/odoo/http.py", line 652, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/http.py", line 317, in _handle_exception
raise exception.with_traceback(None) from new_cause
TypeError: 'EndpointRule' object is not subscriptable

Same error occurs if trying to delete an existing app.

not sure how to test the install of the modules, to see if they all appear, as all the modules are already installed.
But if i remove all the apps, and the shopfloor, rest and endpoint modules, then reinstall the shopfloor mobile app, it appears to show the wms app in the shopfloor with demo data, but not sure how to test on a clean database.

considering the last error appears in runboat, likely clean database install will also have the issue of the apps not appearing.

from wms.

simahawk avatar simahawk commented on August 31, 2024

Ok, I'll look into it. Beside this, are you able to use the app once installed?
Bear in mind that - after installing shopfloor_mobile - you should configure profiles, menu items and authentication (user or api key require an additional module shopfloor_mobile_base_auth_*)

from wms.

conroyke56 avatar conroyke56 commented on August 31, 2024

Ok, I'll look into it. Beside this, are you able to use the app once installed? Bear in mind that - after installing shopfloor_mobile - you should configure profiles, menu items and authentication (user or api key require an additional module shopfloor_mobile_base_auth_*)

With demo data, after installing shopfloor mobile, the Shopfloor WMS (demo) | wms_demo app is visible in the shopfloor app menu.
In a clean database, the WMS (demo) | wms_demo app does not become visible in the app menu.

the same applies for the shopfloor demo and example modules.
user and api modules installed.
api key assigned.

from wms.

github-actions avatar github-actions commented on August 31, 2024

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

from wms.

conroyke56 avatar conroyke56 commented on August 31, 2024

Ok, I'll look into it. Beside this, are you able to use the app once installed? Bear in mind that - after installing shopfloor_mobile - you should configure profiles, menu items and authentication (user or api key require an additional module shopfloor_mobile_base_auth_*)

Wondering if you ever tried to replicate this issue?

from wms.

github-actions avatar github-actions commented on August 31, 2024

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

from wms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.