İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
2309 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ara 17
7065
2
Tem 25
2041
0
Eyl 24
1538
1
Haz 24
1910
1
May 24
2029