0
美好的一天!我有這個問題我已經在我的Odoo網站網站招聘Odoo-8動態添加URL地址
創建一個鏈接與URL鏈接
str_url = 'http://localhost:8069'+'/web/binary/saveas?model=ir.attachment&field=datas&filename_field=name&id='+str(attachment.id)
但我想在「http://localhost:8069」是確切的URL地址。因爲當我在其他機器上運行此代碼它會引發一個錯誤。
有沒有辦法得到確切的URL地址?
再次感謝。