*: use getPortalObject directly

Products.CMFCore's version 2.7.0 of portal_url.getPortalObject
returns the portal in an incomplete acquisition context, which
causes issues when the site is registered as ISiteRoot utility
(the typical error being AttributeError REQUEST)

ERP5Site.getPortalObject works just fine and is used in many
places, this commit replaces all occurences of
portal_url.getPortalObject by getPortalObject.
50 jobs for fix/ISiteRoot in 0 seconds (queued for 1 second)
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-TestRunner1

01:41:34

passed ERP5.CodingStyleTest-TestRunner2

02:03:10

passed ERP5.PerformanceTest-TestRunner1

00:26:52

failed ERP5.UnitTest-TestRunner1

02:17:20

failed ERP5.UnitTest-TestRunner2

01:53:44

failed ERP5.UnitTest-Zope2-ForTestRunner1

02:37:49

failed ERP5.UnitTest-Zope2-ForTestRunner2

02:38:05

passed ERP5.CodingStyleTest-TestRunner1

02:00:02

passed ERP5.CodingStyleTest-TestRunner1

02:00:27

passed ERP5.CodingStyleTest-TestRunner1

00:41:58

passed ERP5.CodingStyleTest-TestRunner2

00:41:48

passed ERP5.CodingStyleTest-TestRunner2

01:08:41

passed ERP5.CodingStyleTest-TestRunner2

01:29:32

passed ERP5.CodingStyleTest-TestRunner2

01:10:36

passed ERP5.CodingStyleTest-TestRunner2

01:17:11

passed ERP5.CodingStyleTest-TestRunner2

01:08:56

passed ERP5.CodingStyleTest-TestRunner2

01:08:40

passed ERP5.CodingStyleTest-TestRunner2

00:55:01

failed ERP5.PerformanceTest-TestRunner1

00:26:43

passed ERP5.PerformanceTest-TestRunner1

00:26:53

failed ERP5.PerformanceTest-TestRunner1

00:29:35

failed ERP5.UnitTest-TestRunner1

01:28:51

failed ERP5.UnitTest-TestRunner1

02:00:54

failed ERP5.UnitTest-TestRunner1

01:45:33

failed ERP5.UnitTest-TestRunner1

03:51:01

failed ERP5.UnitTest-TestRunner1

01:54:42

failed ERP5.UnitTest-TestRunner1

02:00:04

failed ERP5.UnitTest-TestRunner1

02:42:45

failed ERP5.UnitTest-TestRunner2

02:07:11

failed ERP5.UnitTest-TestRunner2

02:07:16

failed ERP5.UnitTest-TestRunner2

01:49:03

passed ERP5.UnitTest-TestRunner2

01:12:09

canceled ERP5.UnitTest-TestRunner2

00:58:14

failed ERP5.UnitTest-TestRunner2

01:45:45

passed ERP5.UnitTest-TestRunner2

04:00:39

passed ERP5.UnitTest-TestRunner2

01:52:09

failed ERP5.UnitTest-Zope2-ForTestRunner1

03:33:38

failed ERP5.UnitTest-Zope2-ForTestRunner1

01:45:51

failed ERP5.UnitTest-Zope2-ForTestRunner1

02:15:52

failed ERP5.UnitTest-Zope2-ForTestRunner1

02:03:29

failed ERP5.UnitTest-Zope2-ForTestRunner1

02:34:35

failed ERP5.UnitTest-Zope2-ForTestRunner1

02:42:12

failed ERP5.UnitTest-Zope2-ForTestRunner1

02:48:32

passed ERP5.UnitTest-Zope2-ForTestRunner2

02:44:20

failed ERP5.UnitTest-Zope2-ForTestRunner2

05:12:36

failed ERP5.UnitTest-Zope2-ForTestRunner2

04:33:51

failed ERP5.UnitTest-Zope2-ForTestRunner2

failed ERP5.UnitTest-Zope2-ForTestRunner2

04:34:16

failed ERP5.UnitTest-Zope2-ForTestRunner2

03:04:26

failed ERP5.UnitTest-Zope2-ForTestRunner2

04:33:53