Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2316 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
dec. 17
7069
2
jul. 25
2042
0
sep. 24
1539
1
jun. 24
1911
1
mei 24
2031