Error on Statement Posting due to account_receivable_rule
When I click Post on statement, I got the below error.
Traceback (most recent call last):
File "/usr/local/lib/python39/dist-packages/trytond/wsgipy", line 109, in dispatch_request
return endpoint(request, **requestview_args)
File "/usr/local/lib/python39/dist-packages/trytond/protocols/dispatcherpy", line 43, in rpc
return methodsget(requestrpc_method, _dispatch)(
File "/usr/local/lib/python39/dist-packages/trytond/wsgipy", line 75, in wrapper
return func(request, *args, **kwargs)
File "/usr/local/lib/python39/dist-packages/trytond/protocols/wrapperspy", line 197, in wrapper
return func(request, pool, *args, **kwargs)
File "/usr/local/lib/python39/dist-packages/trytond/protocols/dispatcherpy", line 204, in _dispatch
result = rpcresult(meth(*c_args, **c_kwargs))
File "/usr/local/lib/python39/dist-packages/trytond/model/modelviewpy", line 720, in wrapper
return func(cls, records, *args, **kwargs)
File "/usr/local/lib/python39/dist-packages/trytond/model/workflowpy", line 37, in wrapper
result = func(cls, filtered, *args, **kwargs)
File "/usr/local/lib/python39/dist-packages/trytond/modules/account_receivable_rule/accountpy", line 412, in post
Rule = poolget('accountaccountreceivablerules')
File "/usr/local/lib/python39/dist-packages/trytond/poolpy", line 190, in get
return self_pool[selfdatabase_name][type][name]
KeyError: 'accountaccountreceivablerules'