跳至内容
菜单
此问题已终结
1 回复
1229 查看

What I'm doing is choosing the "Group by" filter as the default so that when I access the list view it will automatically group, but after I save it as default, when I f5 the current page I get the following error:

In this case, I am working at "Inventory -> Operations -> Inventory Adjustments" and selecting "Group by" "location" as default.

OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)
Caused by: TypeError: Cannot read properties of undefined (reading 'quantity_from')



形象
丢弃

Do you have customer ? i search for 'quantity_from' all source code of community and didn't find anything

Custom module i type too fast :v

编写者 最佳答案

No, my custom also doesn't have a field called "quantity_from", I also got the same error when using group by in "Stock -> Operations -> Transfers", the error is

OwlError: An error occurred in the owl lifecycle (see this Error's "cause" property)

Caused by: TypeError: Cannot read properties of undefined (reading 'name')

形象
丢弃

The error said it is from js code, so the "quantity_from" i'm pretty sure at the js code of you custom module miss, to troubleshooting you will need to ask the developer of the module :v

编写者

No, the module I wrote in both xml, py, js does not have a "quantity_from" field, I also get the same error in "Stock -> Operations -> Transfers" I select "Group by" "State" and also get the error
OwlError: An error occurred in the owl lifecycle (see this Error's "cause" property)

Caused by: TypeError: Cannot read properties of undefined (reading 'name')

相关帖文 回复 查看 活动
1
7月 24
1111
1
9月 22
3610
1
3月 15
13728
2
1月 25
1069
2
11月 24
1712