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!
it's possible to do this correctly from the head company, but not from partners in the multishop.