[FIX] sale: fix SO no line break in note lines

Issue

	- Install Sale
	- Create SO
	- Add a note line with a very looong word
	- Print PDF

	No line break, table is expending out of
	the visible report.

Cause

	There is no line break CSS rule

Solution

	Use word-break: break-word; in order to
	break line without cutting words.

OPW-2195984

closes odoo/odoo#47272

X-original-commit: af8fb786a9569562cefb7d8ea63454cddc04cd44
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
This commit is contained in:
jvm-odoo
2020-03-10 10:59:05 +00:00
parent 81c283ee2a
commit bf1e8a89e7
2 changed files with 8 additions and 0 deletions
@@ -0,0 +1,3 @@
.sale_tbody .o_line_note {
word-break: break-word;
}
+5
View File
@@ -10,6 +10,11 @@
<script type="text/javascript" src="/sale/static/src/js/tours/sale.js"></script>
<script type="text/javascript" src="/sale/static/src/js/product_configurator_widget.js"/>
</xpath>
</template>
<template id="report_assets_common_inherit_sale" inherit_id="web.report_assets_common" name="Sale report common assets">
<xpath expr="link[last()]" position="after">
<link rel="stylesheet" type="text/scss" href="/sale/static/src/scss/sale_report.scss"/>
</xpath>
</template>
<template id="assets_frontend_inherit_sale" inherit_id="web.assets_frontend" name="Sale frontend assets">
<xpath expr="link[last()]" position="after">