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

Hello all!


I have installed odoo 13 on my pc (windows 10 Pro 64bit) and hopefully most of it are going pretty well!


I also have a domain name registered on godaddy. So I am thinking how to add my domain name to the local installed odoo? 


I tried to send out invoice email from odoo. It works! But the button link is like this [http://localhost:8069/mail/view?model=account.move&res_id............~~~~998ce3c]


Some jobs are done, like point my domain to my network IP address, set the port forwarding. But there should be some configuration in odoo itself, right? 


Could any person please instruct me how to or where to look at those settings? 


Regards from Aldo    

Avatar
Vazgeç
En İyi Yanıt

Hi Aldo,

Your PC will need to be on the internet with a static IP address that is reachable over the net for this to work.


EDIT:

You will need to configure the DNS server on GoDaddy to point to your PC's static IP address. The following link provides instructions from GoDaddy on how to set up the DNS records. Refer to the Nameservers and DNS section for the details.

https://www.godaddy.com/help/domains-1000003#nav-7


This blog article, though dated, will also be useful in understanding how things come together:

https://www.godaddy.com/garage/configuring-and-working-with-domains-dns/

Avatar
Vazgeç
Üretici En İyi Yanıt

Thanks! The DNS record has been changed and I can see it is became valid. 

However, the email sent out from odoo is still using localhost in the link. e.g. I sent out an email with invoice, in that email body, odoo generated a button to allow reader to download/view the invoice instead of attachment. 

In my case, the attachment works fine but the hyperlink from that button is with localhost still. 

Should I look into the odoo settings/configurations to change something?


Cheers!

Avatar
Vazgeç

I have edited my earlier reply and added more details.

You will need an external SMTP or IMAP server to handle the sending and receiving of emails. You can configure Odoo to send/receive email through an external server. You will find the details here:

https://www.odoo.com/documentation/user/13.0/discuss/email_servers.html#scope-of-this-documentation

Üretici

Thanks a lot!!

External email servers have been setup and sending out email works fine.

Since I am having Odoo 13 running on my local pc, how do I tell the program/database which domain it is running on? At this moment, it always use localhost. Even for the email sent out, the hyperlinks are using localhost instead the domain I have.

Go to Settings > Technical > System Parameters and update the value of the "web.base.url" parameter to your url with the domain name.

Üretici

Cool! appreciate!

En İyi Yanıt

Hi. Put in on an internter server, you can use any provider like AWS or digitaocean to do so.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ara 16
7495
0
Eki 20
4560
1
May 25
753
3
Tem 25
4131
0
May 25
831