How to print report from website in odoo11?
I want to print report by clicking on print button on website.
But it shows some error:
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 829, in dispatch
r = self._call_function(**self.params)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 1442, in update_quotation
res = self.print_quotation_software_report(data, int(quotation_id))
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2699, in print_quotation_software_report
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').report_action(self, data=data, config=False)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/addons/base/ir/ir_actions_report.py", line 703, in report_action
context = dict(self.env.context, active_ids=active_ids)
UnboundLocalError: local variable 'active_ids' referenced before assignment
My js code:
$(document).on('click', Quotation.elements.print_quotation_software_selector, function() {
var self = $(this);
var data = {
'xpath': null,
'cmd': 'print_quotation_software_report'
};
Quotation.methods.xhr(data, function(r) {
});
});
My Python code:
def print_quotation_software_report(self,data,quotation_id):
order_id = quotation_id
if quotation_id:
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').report_action(self, data=data, config=False)
pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', len(pdf))]
return request.make_response(pdf, headers=pdfhttpheaders)
Here,
rpg_quotation
is the module name and rpg_quotation_software_setwise__report
is report id.
odoo-11
add a comment |
I want to print report by clicking on print button on website.
But it shows some error:
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 829, in dispatch
r = self._call_function(**self.params)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 1442, in update_quotation
res = self.print_quotation_software_report(data, int(quotation_id))
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2699, in print_quotation_software_report
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').report_action(self, data=data, config=False)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/addons/base/ir/ir_actions_report.py", line 703, in report_action
context = dict(self.env.context, active_ids=active_ids)
UnboundLocalError: local variable 'active_ids' referenced before assignment
My js code:
$(document).on('click', Quotation.elements.print_quotation_software_selector, function() {
var self = $(this);
var data = {
'xpath': null,
'cmd': 'print_quotation_software_report'
};
Quotation.methods.xhr(data, function(r) {
});
});
My Python code:
def print_quotation_software_report(self,data,quotation_id):
order_id = quotation_id
if quotation_id:
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').report_action(self, data=data, config=False)
pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', len(pdf))]
return request.make_response(pdf, headers=pdfhttpheaders)
Here,
rpg_quotation
is the module name and rpg_quotation_software_setwise__report
is report id.
odoo-11
add a comment |
I want to print report by clicking on print button on website.
But it shows some error:
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 829, in dispatch
r = self._call_function(**self.params)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 1442, in update_quotation
res = self.print_quotation_software_report(data, int(quotation_id))
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2699, in print_quotation_software_report
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').report_action(self, data=data, config=False)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/addons/base/ir/ir_actions_report.py", line 703, in report_action
context = dict(self.env.context, active_ids=active_ids)
UnboundLocalError: local variable 'active_ids' referenced before assignment
My js code:
$(document).on('click', Quotation.elements.print_quotation_software_selector, function() {
var self = $(this);
var data = {
'xpath': null,
'cmd': 'print_quotation_software_report'
};
Quotation.methods.xhr(data, function(r) {
});
});
My Python code:
def print_quotation_software_report(self,data,quotation_id):
order_id = quotation_id
if quotation_id:
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').report_action(self, data=data, config=False)
pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', len(pdf))]
return request.make_response(pdf, headers=pdfhttpheaders)
Here,
rpg_quotation
is the module name and rpg_quotation_software_setwise__report
is report id.
odoo-11
I want to print report by clicking on print button on website.
But it shows some error:
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 829, in dispatch
r = self._call_function(**self.params)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 1442, in update_quotation
res = self.print_quotation_software_report(data, int(quotation_id))
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2699, in print_quotation_software_report
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').report_action(self, data=data, config=False)
File "/home/priya/workspace/ODOO11/odoo-11.0/odoo/addons/base/ir/ir_actions_report.py", line 703, in report_action
context = dict(self.env.context, active_ids=active_ids)
UnboundLocalError: local variable 'active_ids' referenced before assignment
My js code:
$(document).on('click', Quotation.elements.print_quotation_software_selector, function() {
var self = $(this);
var data = {
'xpath': null,
'cmd': 'print_quotation_software_report'
};
Quotation.methods.xhr(data, function(r) {
});
});
My Python code:
def print_quotation_software_report(self,data,quotation_id):
order_id = quotation_id
if quotation_id:
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').report_action(self, data=data, config=False)
pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', len(pdf))]
return request.make_response(pdf, headers=pdfhttpheaders)
Here,
rpg_quotation
is the module name and rpg_quotation_software_setwise__report
is report id.
odoo-11
odoo-11
edited Nov 22 '18 at 7:07
KbiR
2,37011337
2,37011337
asked Oct 16 '18 at 7:04
PriyaPriya
4412
4412
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Maybe it's because you are passing self as the value for docids positional argument for the report_action
method call instead of quotation_id
to remove your actual error.
But that report_action
method call will not return the pdf file data. You will need to change it to:
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([quotation_id])[0]
See an example at:
https://github.com/odoo/odoo/blob/b29b545fe8464610ce04ac8be11e0356962d10d9/addons/sale/controllers/portal.py#L196
Thanks error resolved but report not printed.
– Priya
Oct 16 '18 at 8:05
My Xml code: <a t-attf-href= "'/report/pdf/rpg_quotation.rpg_quotation_software_set_report/rpg_quotation_software_setwise__report'"> <button type="submit" class="btn green" id="print_quotation_software" style="display:none;" data-translate="print_report">Print Report</button> </a>
– Priya
Oct 16 '18 at 8:54
I have edited my answer to provide you a solution to the render of the pdf
– Axel Mendoza
Oct 16 '18 at 14:42
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2700, in print_quotation_software_report pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id])[0] ValueError: too many values to unpack
– Priya
Oct 17 '18 at 4:10
If i write python code as : def print_quotation_software_report(self,data,quotation_id): order_id = quotation_id if order_id: pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id]) pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', u'%s' % len(pdf))] return json.dumps({'pdf': pdf, 'pdfhttpheaders':pdfhttpheaders}) else: return request.redirect('/') Then error comes:
– Priya
Oct 17 '18 at 4:27
|
show 5 more comments
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52829692%2fhow-to-print-report-from-website-in-odoo11%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Maybe it's because you are passing self as the value for docids positional argument for the report_action
method call instead of quotation_id
to remove your actual error.
But that report_action
method call will not return the pdf file data. You will need to change it to:
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([quotation_id])[0]
See an example at:
https://github.com/odoo/odoo/blob/b29b545fe8464610ce04ac8be11e0356962d10d9/addons/sale/controllers/portal.py#L196
Thanks error resolved but report not printed.
– Priya
Oct 16 '18 at 8:05
My Xml code: <a t-attf-href= "'/report/pdf/rpg_quotation.rpg_quotation_software_set_report/rpg_quotation_software_setwise__report'"> <button type="submit" class="btn green" id="print_quotation_software" style="display:none;" data-translate="print_report">Print Report</button> </a>
– Priya
Oct 16 '18 at 8:54
I have edited my answer to provide you a solution to the render of the pdf
– Axel Mendoza
Oct 16 '18 at 14:42
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2700, in print_quotation_software_report pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id])[0] ValueError: too many values to unpack
– Priya
Oct 17 '18 at 4:10
If i write python code as : def print_quotation_software_report(self,data,quotation_id): order_id = quotation_id if order_id: pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id]) pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', u'%s' % len(pdf))] return json.dumps({'pdf': pdf, 'pdfhttpheaders':pdfhttpheaders}) else: return request.redirect('/') Then error comes:
– Priya
Oct 17 '18 at 4:27
|
show 5 more comments
Maybe it's because you are passing self as the value for docids positional argument for the report_action
method call instead of quotation_id
to remove your actual error.
But that report_action
method call will not return the pdf file data. You will need to change it to:
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([quotation_id])[0]
See an example at:
https://github.com/odoo/odoo/blob/b29b545fe8464610ce04ac8be11e0356962d10d9/addons/sale/controllers/portal.py#L196
Thanks error resolved but report not printed.
– Priya
Oct 16 '18 at 8:05
My Xml code: <a t-attf-href= "'/report/pdf/rpg_quotation.rpg_quotation_software_set_report/rpg_quotation_software_setwise__report'"> <button type="submit" class="btn green" id="print_quotation_software" style="display:none;" data-translate="print_report">Print Report</button> </a>
– Priya
Oct 16 '18 at 8:54
I have edited my answer to provide you a solution to the render of the pdf
– Axel Mendoza
Oct 16 '18 at 14:42
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2700, in print_quotation_software_report pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id])[0] ValueError: too many values to unpack
– Priya
Oct 17 '18 at 4:10
If i write python code as : def print_quotation_software_report(self,data,quotation_id): order_id = quotation_id if order_id: pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id]) pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', u'%s' % len(pdf))] return json.dumps({'pdf': pdf, 'pdfhttpheaders':pdfhttpheaders}) else: return request.redirect('/') Then error comes:
– Priya
Oct 17 '18 at 4:27
|
show 5 more comments
Maybe it's because you are passing self as the value for docids positional argument for the report_action
method call instead of quotation_id
to remove your actual error.
But that report_action
method call will not return the pdf file data. You will need to change it to:
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([quotation_id])[0]
See an example at:
https://github.com/odoo/odoo/blob/b29b545fe8464610ce04ac8be11e0356962d10d9/addons/sale/controllers/portal.py#L196
Maybe it's because you are passing self as the value for docids positional argument for the report_action
method call instead of quotation_id
to remove your actual error.
But that report_action
method call will not return the pdf file data. You will need to change it to:
pdf = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([quotation_id])[0]
See an example at:
https://github.com/odoo/odoo/blob/b29b545fe8464610ce04ac8be11e0356962d10d9/addons/sale/controllers/portal.py#L196
edited Nov 22 '18 at 7:08
KbiR
2,37011337
2,37011337
answered Oct 16 '18 at 7:49
Axel MendozaAxel Mendoza
1,731714
1,731714
Thanks error resolved but report not printed.
– Priya
Oct 16 '18 at 8:05
My Xml code: <a t-attf-href= "'/report/pdf/rpg_quotation.rpg_quotation_software_set_report/rpg_quotation_software_setwise__report'"> <button type="submit" class="btn green" id="print_quotation_software" style="display:none;" data-translate="print_report">Print Report</button> </a>
– Priya
Oct 16 '18 at 8:54
I have edited my answer to provide you a solution to the render of the pdf
– Axel Mendoza
Oct 16 '18 at 14:42
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2700, in print_quotation_software_report pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id])[0] ValueError: too many values to unpack
– Priya
Oct 17 '18 at 4:10
If i write python code as : def print_quotation_software_report(self,data,quotation_id): order_id = quotation_id if order_id: pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id]) pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', u'%s' % len(pdf))] return json.dumps({'pdf': pdf, 'pdfhttpheaders':pdfhttpheaders}) else: return request.redirect('/') Then error comes:
– Priya
Oct 17 '18 at 4:27
|
show 5 more comments
Thanks error resolved but report not printed.
– Priya
Oct 16 '18 at 8:05
My Xml code: <a t-attf-href= "'/report/pdf/rpg_quotation.rpg_quotation_software_set_report/rpg_quotation_software_setwise__report'"> <button type="submit" class="btn green" id="print_quotation_software" style="display:none;" data-translate="print_report">Print Report</button> </a>
– Priya
Oct 16 '18 at 8:54
I have edited my answer to provide you a solution to the render of the pdf
– Axel Mendoza
Oct 16 '18 at 14:42
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2700, in print_quotation_software_report pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id])[0] ValueError: too many values to unpack
– Priya
Oct 17 '18 at 4:10
If i write python code as : def print_quotation_software_report(self,data,quotation_id): order_id = quotation_id if order_id: pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id]) pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', u'%s' % len(pdf))] return json.dumps({'pdf': pdf, 'pdfhttpheaders':pdfhttpheaders}) else: return request.redirect('/') Then error comes:
– Priya
Oct 17 '18 at 4:27
Thanks error resolved but report not printed.
– Priya
Oct 16 '18 at 8:05
Thanks error resolved but report not printed.
– Priya
Oct 16 '18 at 8:05
My Xml code: <a t-attf-href= "'/report/pdf/rpg_quotation.rpg_quotation_software_set_report/rpg_quotation_software_setwise__report'"> <button type="submit" class="btn green" id="print_quotation_software" style="display:none;" data-translate="print_report">Print Report</button> </a>
– Priya
Oct 16 '18 at 8:54
My Xml code: <a t-attf-href= "'/report/pdf/rpg_quotation.rpg_quotation_software_set_report/rpg_quotation_software_setwise__report'"> <button type="submit" class="btn green" id="print_quotation_software" style="display:none;" data-translate="print_report">Print Report</button> </a>
– Priya
Oct 16 '18 at 8:54
I have edited my answer to provide you a solution to the render of the pdf
– Axel Mendoza
Oct 16 '18 at 14:42
I have edited my answer to provide you a solution to the render of the pdf
– Axel Mendoza
Oct 16 '18 at 14:42
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2700, in print_quotation_software_report pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id])[0] ValueError: too many values to unpack
– Priya
Oct 17 '18 at 4:10
File "/home/priya/repo/rp-group/rpg_quotation/controllers/web_page.py", line 2700, in print_quotation_software_report pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id])[0] ValueError: too many values to unpack
– Priya
Oct 17 '18 at 4:10
If i write python code as : def print_quotation_software_report(self,data,quotation_id): order_id = quotation_id if order_id: pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id]) pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', u'%s' % len(pdf))] return json.dumps({'pdf': pdf, 'pdfhttpheaders':pdfhttpheaders}) else: return request.redirect('/') Then error comes:
– Priya
Oct 17 '18 at 4:27
If i write python code as : def print_quotation_software_report(self,data,quotation_id): order_id = quotation_id if order_id: pdf, _ = request.env.ref('rpg_quotation.rpg_quotation_software_setwise__report').sudo().render_qweb_pdf([order_id]) pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', u'%s' % len(pdf))] return json.dumps({'pdf': pdf, 'pdfhttpheaders':pdfhttpheaders}) else: return request.redirect('/') Then error comes:
– Priya
Oct 17 '18 at 4:27
|
show 5 more comments
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52829692%2fhow-to-print-report-from-website-in-odoo11%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown