تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4 الردود
11540 أدوات العرض

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    

الصورة الرمزية
إهمال
أفضل إجابة

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/

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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!

الصورة الرمزية
إهمال

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

الكاتب

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.

الكاتب

Cool! appreciate!

أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 16
7222
0
أكتوبر 20
4335
1
مايو 25
353
3
مايو 25
3195
0
مايو 25
466