Issue 10205

Title
Displaying "Inventory - Moves"
Priority
bug
Status
chatting
Nosy list
Marc, pokoli
Assigned to
Keywords

Created on 2021-03-17.14:13:53 by Marc, last changed 3 weeks ago by Marc.

Files

File name Uploaded Type Details
stock_move.xlsx Marc, 2021-03-19.18:10:47 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet view

Messages

Author: [hidden] (Marc)
Date: 2021-03-20.10:54:54

A wise decision I believe. In the past, I have seen those situations eventually complemented by such user message as "The system as recovered itself about ... " and/or "a system event logging". But that is dependent on your design policy.

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2021-03-19.20:18:54

Yes, the stock move with id 14 has an origin pointing to itself, and this causes the infinite loop.
I think we should return None in this case to avoid the infinite loop.

Author: [hidden] (Marc)
Date: 2021-03-19.18:10:47
  1. This occurred in test conditions pertaining to the purchase cycle
  2. I do not use the concept of "secondary_unit" for the time being
  3. I nevertheless saved the database if required
  4. I then deleted 3 records from the "stock_move" table. These are the ones marked yellow in the "stock_move.xlsx" file. That deletion made the exception to disappear.
  5. So I assume one of the fields in one of these 3 records contains "incorrect" data that causes the loop.
  6. I probably am not in a position to explain why one of the 3 records contains some wrong "info". Of course I might have positioned the "secondary_unit" data without noticing.

As I am heavily testing the system, I will try to hit the same condition again and then report.

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2021-03-19.12:48:56

It seems the problem is related to stock_secondary_unit which tries to read the secondary unit for the origin move and this causes an infinite loop.

Did you have a move which origin is set to itself?

Author: [hidden] (Marc)
Date: 2021-03-17.16:29:10

Additional info about Moves exception : Exception only occurs with "All" selection

Author: [hidden] (Marc)
Date: 2021-03-17.14:20:32

Context :

V 5.8
Performing an Internal Shipment for goods in Input Store following Purchase Order
Upon selection of "Moves" : Origin "Stock Lines" - Displaying all Stock Lines
Several times clearing then reselecting a given stock line
Suddenly got the trace stack
Finally exited the Internal Shipment w/o storing
Then displayed "Inventory - Moves" to find out whether anything wrong there
Got stack trace as well now consistently

Author: [hidden] (Marc)
Date: 2021-03-17.14:13:53
Traceback (most recent call last):
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 116, in dispatch_request
    return endpoint(request, **requestview_args)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 48, in rpc
    request, database_name, *requestrpc_params)
  File "/usr/local/lib/python37/dist-packages/trytond/wsgipy", line 83, in auth_required
    return wrapped(*args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/wrapperspy", line 131, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/usr/local/lib/python37/dist-packages/trytond/protocols/dispatcherpy", line 181, in _dispatch
    result = rpcresult(meth(*c_args, **c_kwargs))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 859, in read
    getter_results = fieldget(ids, cls, field_list, values=result)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in get
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 106, in <genexpr>
    return dict((name, call(name)) for name in names)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in call
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 101, in <genexpr>
    return dict((rid, method(r, name)) for r in records)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/sale_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/purchase_secondary_unit/stockpy", line 13, in get_product_secondary_uom_category
    category = super()get_product_secondary_uom_category(name)
  File "/usr/local/lib/python37/dist-packages/trytond/modules/stock_secondary_unit/stockpy", line 118, in get_product_secondary_uom_category
    if selforiginproduct_secondary_uom_category:
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/functionpy", line 130, in __get__
    return super()__get__(inst, cls)
  File "/usr/local/lib/python37/dist-packages/trytond/model/fields/fieldpy", line 339, in __get__
    return inst__getattr__(selfname)
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelstoragepy", line 1586, in __getattr__
    read_data = selfread(list(indexkeys()), list(ffieldskeys()))
  File "/usr/local/lib/python37/dist-packages/trytond/model/modelsqlpy", line 781, in read
    order_by=history_order, limit=history_limit))
  File "/usr/local/lib/python37/dist-packages/sql/__init__py", line 203, in __iter__
    yield str(self)
  File "/usr/local/lib/python37/dist-packages/sql/__init__py", line 617, in __str__
    where = ' WHERE ' + str(selfwhere)
  File "/usr/local/lib/python37/dist-packages/sql/operatorspy", line 149, in __str__
    return '(' + (' %s ' % self_operator)join(map(str, self)) + ')'
  File "/usr/local/lib/python37/dist-packages/sql/operatorspy", line 149, in __str__
    return '(' + (' %s ' % self_operator)join(map(str, self)) + ')'
  File "/usr/local/lib/python37/dist-packages/sql/operatorspy", line 149, in __str__
    return '(' + (' %s ' % self_operator)join(map(str, self)) + ')'
  File "/usr/local/lib/python37/dist-packages/sql/operatorspy", line 214, in __str__
    return super(Equal, self)__str__()
  File "/usr/local/lib/python37/dist-packages/sql/operatorspy", line 133, in __str__
    return '(%s %s %s)' % (self_format(left), self_operator,
  File "/usr/local/lib/python37/dist-packages/sql/operatorspy", line 77, in _format
    return str(operand)
  File "/usr/local/lib/python37/dist-packages/sql/__init__py", line 1357, in __str__
    if self_name == '*':
RecursionError: maximum recursion depth exceeded in comparison
History
Date User Action Args
2021-03-20 10:54:54Marcsetmessages: + msg65691
2021-03-19 20:18:54pokolisetmessages: + msg65687
2021-03-19 18:10:47Marcsetfiles: + stock_move.xlsx
messages: + msg65680
2021-03-19 17:54:56Marcsetfiles: - stock_move.xlsx
2021-03-19 12:48:56pokolisetcomponent: + stock_secondary_unit
messages: + msg65670
nosy: + pokoli
status: unread -> chatting
2021-03-17 16:29:10Marcsetmessages: + msg65600
2021-03-17 14:20:32Marcsetmessages: + msg65592
2021-03-17 14:13:53Marccreate

Showing 10 items. Show all history (warning: this could be VERY long)