In compute method _compute_expected_date() all PO lines are processed to get expected date, but in note and section line we dont have date_planned, it generates error. filtered the PO line to process if only they are not having display_type. Fixes-2234053 closes odoo/odoo#49433 X-original-commit: 2163c6a05476ddfbf899e46eac565b7f5cc5f46e Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>