Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2310 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 17
7065
2
čvc 25
2041
0
zář 24
1538
1
čvn 24
1910
1
kvě 24
2029