'Regression test for #6755'

def test_issue_6755(self):

    r = Restaurant(serves_pizza=False)
    r.save()
    self.assertEqual(r.id, r.place_ptr_id)
    orig_id = r.id
    r = Restaurant(place_ptr_id=orig_id, serves_pizza=True)
    r.save()
    self.assertEqual(r.id, orig_id)
    self.assertEqual(r.id, r.place_ptr_id)
