[FIX] stock: Internal note displayed in Delivery slip

Steps to reproduce the bug:

- Let's consider a consumable product P with an internal note IN
- Create a SO with P and confirm it
- Print the delivery slip

Bug:

The internal note NI was displayed on the delivery slip.

opw:2227613

closes odoo/odoo#49277

X-original-commit: 038221f3180a7a8888503553dbb5eb57875ef3a6
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
This commit is contained in:
Goffin Simon
2020-04-09 08:05:01 +00:00
parent 30113e1197
commit 17b5476d54
+1 -1
View File
@@ -44,7 +44,7 @@
<tr t-foreach="lines" t-as="move">
<td>
<span t-field="move.product_id"/>
<p t-if="move.description_picking != move.product_id.name">
<p t-if="move.description_picking != move.product_id.description">
<span t-field="move.description_picking"/>
</p>
</td>