Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

differences between dev and production server in generating sales.order emails

Subscriure's

Get notified when there's activity on this post

This question has been flagged
sales.order
2 Respostes
3762 Vistes
Avatar
Ale

When I generate a sales order(sale.order) on my dev server, I get the following log lines, and the form to write the email is correctly generated. But on the production site, for some reason, this form doesn't even appear, even if you generate it from a module, and it ends with a 504 timeout error. Here are some logs:

Dev server:

2016-03-09 19:20:03,652 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:03] "POST /web/dataset/call_button HTTP/1.0" 200 -

2016-03-09 19:20:03,932 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:03] "POST /web/dataset/call_kw/mail.compose.message/fields_view_get HTTP/1.0" 200 -

2016-03-09 19:20:04,339 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "POST /web/menu/load_needaction HTTP/1.0" 200 -

2016-03-09 19:20:04,867 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "GET /report/static/src/css/reset.min.css HTTP/1.1" 200 -

2016-03-09 19:20:04,871 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "GET /web/static/lib/bootstrap/css/bootstrap.css HTTP/1.1" 200 -

2016-03-09 19:20:04,878 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "GET /website/static/src/css/website.css HTTP/1.1" 200 -

2016-03-09 19:20:04,879 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "GET /web/static/lib/fontawesome/css/font-awesome.css HTTP/1.1" 200 -

2016-03-09 19:20:05,222 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "GET /report/static/src/js/subst.js HTTP/1.1" 200 -

2016-03-09 19:20:05,404 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "POST /web/dataset/call_kw/mail.compose.message/default_get HTTP/1.0" 200 -

2016-03-09 19:20:05,820 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "POST /web/dataset/call_kw/res.partner/search HTTP/1.0" 200 -

2016-03-09 19:20:05,888 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "POST /web/dataset/call_kw/res.partner/name_get HTTP/1.0" 200 -

2016-03-09 19:20:05,964 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "POST /web/dataset/call_kw/ir.attachment/read HTTP/1.0" 200 -

2016-03-09 19:20:06,018 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "POST /web/dataset/call_kw/email.template/name_get HTTP/1.0" 200 -

2016-03-09 19:20:06,286 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /web/static/lib/bootstrap/css/bootstrap.css HTTP/1.1" 200 -

2016-03-09 19:20:06,292 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /report/static/src/css/reset.min.css HTTP/1.1" 200 -

2016-03-09 19:20:06,295 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /website/static/src/css/website.css HTTP/1.1" 200 -

2016-03-09 19:20:06,300 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /web/static/lib/fontawesome/css/font-awesome.css HTTP/1.1" 200 -

2016-03-09 19:20:06,616 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /report/static/src/js/subst.js HTTP/1.1" 200 -

2016-03-09 19:20:06,821 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "POST /web/dataset/call_kw/mail.compose.message/onchange HTTP/1.0" 200 -

2016-03-09 19:20:07,051 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:07] "POST /web/dataset/call_kw/ir.attachment/read HTTP/1.0" 200 -

2016-03-09 19:20:13,279 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:13] "POST /web/dataset/call_kw/email.template/name_search

and the production server:

2016-03-09 19:20:03,652 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:03] "POST /web/dataset/call_button HTTP/1.0" 200 -

2016-03-09 19:20:03,932 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:03] "POST /web/dataset/call_kw/mail.compose.message/fields_view_get HTTP/1.0" 200 -

2016-03-09 19:20:04,339 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "POST /web/menu/load_needaction HTTP/1.0" 200 -

2016-03-09 19:20:04,867 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "GET /report/static/src/css/reset.min.css HTTP/1.1" 200 -

2016-03-09 19:20:04,871 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "GET /web/static/lib/bootstrap/css/bootstrap.css HTTP/1.1" 200 -

2016-03-09 19:20:04,878 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "GET /website/static/src/css/website.css HTTP/1.1" 200 -

2016-03-09 19:20:04,879 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:04] "GET /web/static/lib/fontawesome/css/font-awesome.css HTTP/1.1" 200 -

2016-03-09 19:20:05,222 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "GET /report/static/src/js/subst.js HTTP/1.1" 200 -

2016-03-09 19:20:05,404 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "POST /web/dataset/call_kw/mail.compose.message/default_get HTTP/1.0" 200 -

2016-03-09 19:20:05,820 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "POST /web/dataset/call_kw/res.partner/search HTTP/1.0" 200 -

2016-03-09 19:20:05,888 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "POST /web/dataset/call_kw/res.partner/name_get HTTP/1.0" 200 -

2016-03-09 19:20:05,964 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:05] "POST /web/dataset/call_kw/ir.attachment/read HTTP/1.0" 200 -

2016-03-09 19:20:06,018 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "POST /web/dataset/call_kw/email.template/name_get HTTP/1.0" 200 -

2016-03-09 19:20:06,286 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /web/static/lib/bootstrap/css/bootstrap.css HTTP/1.1" 200 -

2016-03-09 19:20:06,292 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /report/static/src/css/reset.min.css HTTP/1.1" 200 -

2016-03-09 19:20:06,295 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /website/static/src/css/website.css HTTP/1.1" 200 -

2016-03-09 19:20:06,300 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /web/static/lib/fontawesome/css/font-awesome.css HTTP/1.1" 200 -

2016-03-09 19:20:06,616 30759 INFO ? werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "GET /report/static/src/js/subst.js HTTP/1.1" 200 -

2016-03-09 19:20:06,821 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:06] "POST /web/dataset/call_kw/mail.compose.message/onchange HTTP/1.0" 200 -

2016-03-09 19:20:07,051 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:07] "POST /web/dataset/call_kw/ir.attachment/read HTTP/1.0" 200 -

2016-03-09 19:20:13,279 30759 INFO fairmarket_prd werkzeug: 127.0.0.1 - - [09/Mar/2016 19:20:13] "POST /web/dataset/call_kw/email.template/name_search

And then the 504 error.. Is it a problem with postfix timing out when talking to odoo? How could I investigate further?

Thanks for any help! 

0
Avatar
Descartar
Ale
Autor

it's possible to do this correctly from the head company, but not from partners in the multishop.

Avatar
Santi
Best Answer

We have resolved the issue. The problem was the production server did not resolve their own ip address and it did not load the css files.

We have added the url and ip in /etc/hosts. It's a bit annoying that Odoo did not show any notice or error in the logs.



0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Transform Quotations to sales orders or invoices in a bulk action
sales.order
Avatar
Avatar
Avatar
3
de febr. 25
3301
Orden de venta borrada por error
sales.order
Avatar
Avatar
1
de des. 24
2833
How to create a subsection in the product order line and make the main section sum the total of the subsections in Odoo? Solved
sales.order
Avatar
Avatar
2
de març 24
3207
Managing orders from repeat customers Solved
sales.order
Avatar
Avatar
Avatar
2
de març 24
3770
Sales order from customer order.
sales.order
Avatar
0
de set. 23
2153
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now