Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

11.0 fix report #31150

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/account/views/report_invoice.xml
Expand Up @@ -3,7 +3,7 @@
<data>
<template id="report_invoice_document">
<t t-call="web.external_layout">
<t t-set="o" t-value="o.with_context({'lang':o.partner_id.lang})" />
<t t-set="o" t-value="o.with_context(lang=o.partner_id.lang)" />
<div class="page">
<div class="row">
<div name="invoice_address" class="col-xs-5 col-xs-offset-7">
Expand Down
Expand Up @@ -4,7 +4,7 @@
<template id="report_mrprepairorder">
<t t-set="o" t-value="doc"/>
<t t-call="web.external_layout">
<t t-set="o" t-value="o.with_context({'lang': o.partner_id.lang})" />
<t t-set="o" t-value="o.with_context(lang=o.partner_id.lang)" />
<div class="page">
<div class="oe_structure"/>

Expand Down
2 changes: 1 addition & 1 deletion addons/purchase/report/purchase_order_templates.xml
Expand Up @@ -2,7 +2,7 @@
<odoo>
<template id="report_purchaseorder_document">
<t t-call="web.external_layout">
<t t-set="o" t-value="o.with_context({'lang':o.partner_id.lang})"/>
<t t-set="o" t-value="o.with_context(lang=o.partner_id.lang)"/>
<div class="page">
<div class="oe_structure"/>
<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion addons/purchase/report/purchase_quotation_templates.xml
Expand Up @@ -2,7 +2,7 @@
<odoo>
<template id="report_purchasequotation_document">
<t t-call="web.external_layout">
<t t-set="o" t-value="o.with_context({'lang':o.partner_id.lang})"/>
<t t-set="o" t-value="o.with_context(lang=o.partner_id.lang)"/>
<div class="page">
<div class="oe_structure"/>

Expand Down
2 changes: 1 addition & 1 deletion addons/sale/report/sale_report_templates.xml
Expand Up @@ -2,7 +2,7 @@
<odoo>
<template id="report_saleorder_document">
<t t-call="web.external_layout">
<t t-set="doc" t-value="doc.with_context({'lang':doc.partner_id.lang})" />
<t t-set="doc" t-value="doc.with_context(lang=doc.partner_id.lang)" />
<div class="page">
<div class="oe_structure"/>
<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion addons/stock/report/report_deliveryslip.xml
Expand Up @@ -4,7 +4,7 @@
<template id="report_delivery_document">
<t t-call="web.html_container">
<t t-call="web.external_layout">
<t t-set="o" t-value="o.with_context({'lang':o.partner_id.lang})" />
<t t-set="o" t-value="o.with_context(lang=o.partner_id.lang)" />
<div class="page">
<div class="row" name="customer_address">
<div class="col-xs-4 pull-right">
Expand Down
2 changes: 1 addition & 1 deletion addons/stock/report/report_stockpicking_operations.xml
Expand Up @@ -166,7 +166,7 @@
</thead>
<tbody>
<tr t-foreach="o.entire_package_ids.sorted(key=lambda p: p.name)" t-as="package">
<t t-set="package" t-value="package.with_context({'picking_id':o.id})" />
<t t-set="package" t-value="package.with_context(picking_id=o.id)" />
<td><span t-field="package.name"/></td>
<td><img t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('Code128', package.name, 600, 100)" style="width:300px ;height:50px"/></td>
<td><span t-field="package.current_source_location_id"/></td>
Expand Down