Skip to Content
Menú
This question has been flagged

Hello,

I have been working with Odoo for about a year now, but I've encountered an issue that I can't seem to solve. I'm trying to find the definition of the "get_portal_url()" method, which is supposedly defined on the account.move model. However, I can only find its invocation in the sources, not the actual definition. Even debugging hasn't helped me uncover the method's definition. Perhaps I'm missing something obvious; any assistance would be greatly appreciated.

You can find an example of where the method is used in the account_move.py file within the addons/account/models directory on the current odoo:15 branch in the official Odoo GitHub repository, specifically around line 3474.

Thank you in advance!


Avatar
Descartar
Best Answer

Here you go https://github.com/odoo/odoo/blob/15.0/addons/portal/models/portal_mixin.py#L131

Which ide do you use, i use eclipse and all i have to is use Ctrl + H to search everything from python code, js code to xml ?

Avatar
Descartar
Best Answer

Hi Kevin Berger, 


The method get_portal_url() is defined in the following addons path :  


addons > portal > models > portal_mixin.py


In case of more help you can reach to us.


Thanks & Regards,

Email:   odoo@aktivsoftware.com           

Skype: kalpeshmaheshwari

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de des. 17
7068
2
de jul. 25
2042
0
de set. 24
1539
1
de juny 24
1911
1
de maig 24
2031