Problems with get_mapped_doc

Have a great day collegues:

I am trying to use get_mapped_doc but alway I got this error, any of you can guide me to solve it please

image

this is my .py

and this is my .js
Captura3

1 Like

Well, i solved it. I want to share with the community to avoid you loses your time.

2 Likes

What was the error?

Well, I had a lot of mistakes, but if you see in the last lines I added some methods used by get_mapped_doc and the biggest trouble was I did not run bench migrate in every single change I made so changes did not take effect on the server. Now I trying new installation to verify this inconvenience.

PD: Also be careful with the imports…!!

1 Like