Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda

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
Buang
Jawaban Terbai

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 17
7060
2
Jul 25
2039
0
Sep 24
1534
1
Jun 24
1908
1
Mei 24
2028