From 1a498a506c1fabcc0f9fb1aad73ddf07e766d007 Mon Sep 17 00:00:00 2001
From: jvm-odoo <jvm@odoo.com>
Date: Tue, 29 Oct 2019 11:05:26 +0000
Subject: [PATCH] [FIX] base: fix merge partner wizard

In the contacts app, you can select 2 partners and merge them.

Before this commit:

    - If a partner was added by a SQL query and not directly on Odoo,
      the create_date will be empty. This causes a crash because the
      merge wizard try to sort the partners by date

After this commit:

    - If a partner do not have a create_date, it will be considered
      as 01/01/1970. The merge wizard will sort the partners by IDs too.

OPW-2091925

closes odoo/odoo#39758

X-original-commit: df09f2f73ddf917304906e98725324319c309939
Signed-off-by: Jason Van Malder <jasonvanmalder@users.noreply.github.com>
-- 
GitLab