[FIX] l10n_ru_upd_xml: hotfix move.py
This commit is contained in:
parent
c8aafdf7fd
commit
2e360eff26
@ -26,10 +26,7 @@ class Users(models.Model):
|
||||
if mes != "":
|
||||
raise UserError(u"Не удалось сформировать УПД. Выявлены следующие ошибки:\n{}".format(mes))
|
||||
else:
|
||||
# pdf = \
|
||||
return self.env.ref('upd_xml.upd_xml_report').sudo().report_action(s.id) # render_qweb_xml(s.id)
|
||||
# pdfhttpheaders = [('Content-Type', 'application/pdf'), ('Content-Length', len(pdf)), ]
|
||||
# return request.make_response(pdf, headers=pdfhttpheaders)
|
||||
return self.env.ref('l10n_ru_upd_xml.upd_xml_report').sudo().report_action(s.id)
|
||||
|
||||
def check_correct_upd(self, manually=True):
|
||||
for s in self:
|
||||
|
Loading…
x
Reference in New Issue
Block a user