Branch
[FIX] account: correct inner function in compute_name of move line * line._origin can be empty recordset so when line._origin.name it will return False then we compare it to result of inner function get_name which will be wrong because '\n'.join(values) will return empty string '' because line is empty so values is empty also . This commit correctly set the correct return value for inner function which introduce in [1]. This will allow custom module can recompute the label by different api.depends [1]: https://github.com/odoo/odoo/pull/182136/commits/2dee061cb022e15c60539b987a87f8225cdc4881
Merge remote-tracking branch 'odoo/16.0' into 16.0 Conflicts: addons/account/i18n/vi.po addons/delivery/i18n/vi.po addons/mrp/i18n/vi.po addons/mrp_subcontracting/i18n/vi.po addons/mrp_subcontracting_dropshipping/i18n/vi.po addons/point_of_sale/i18n/vi.po addons/purchase_stock/i18n/vi.po addons/sale_purchase/i18n/vi.po addons/sale_timesheet/i18n/vi.po addons/spreadsheet_dashboard_stock_account/i18n/vi.po addons/stock/i18n/vi.po addons/stock_account/i18n/vi.po addons/stock_landed_costs/i18n/vi.po addons/stock_picking_batch/i18n/vi.po addons/stock_sms/i18n/vi.po odoo/addons/base/i18n/vi.po
[FIX] mrp: avoid traceback when leave_id on workorders is not set File "/opt/odoo/16.0/addons/mrp/models/mrp_production.py", line 1408, in _plan_workorders 'date_planned_start': min([workorder.leave_id.date_from for workorder in workorders]), TypeError: '<' not supported between instances of 'datetime.datetime' and 'bool'