Calendar view doesn't show all items (Month/week and day)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web Client |
Fix Released
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
If you create a manufacturing production order for some routes, it doesn't show in the calendar view.
More specifically, looking at the code, the calendar view only shows orders for the first 10 groupings (line 253 - 267 of addons/
We have around 380 routes currently set up with around 20 actively used (in future we may do a data cleanup).
Our first 10 routes aren't used often, meaning 99% of the time we cannot see any manufacturing orders in any of the calendar views.
The hard coded filter of 10 needs to be removed or a mechanism needs to be developed to allow changing the filter.
This bug will effect any user that have more than 10 groupings that he wants to view in a calendar.
Steps to reproduce:
1. Manually add routes so the total number of routes are more than 10. Example route1 to route15.
2. Add a manufacturing order and allocate it to a route that is not in the first 10 routes in the system, example route15.
3. Get the order ready to be produced.
4. View the manufacturing calender in the planning menu. The order will not be displayed.
As a test I replaced line 264 (note I replaced search_limit with 0. It is hard coded to 10 in the source):
clr_field = rpc.RPCProxy(
with
clr_field = rpc.RPCProxy(
when I did that, all my orders displayed, regardless of the route I choose.
Having a look at the client GTK code, it doesn't have a hard coded filter value and it correctly displays all entries.
description: | updated |
Changed in openobject-client-web: | |
status: | Confirmed → In Progress |
Changed in openobject-client-web: | |
status: | Fix Committed → Fix Released |
Hello,
I have your checked your issue and have faced the same problem. So I am confirming this issue.
Please refer the video which I have attached.
Thank you.