[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:
@@ -0,0 +1,3 @@
|
||||
.sale_tbody .o_line_note {
|
||||
word-break: break-word;
|
||||
}
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user