[FIX] website: perf - don't force homepage on website in data
Let the homepage being set in bootstraping Without this, any -i will set generic homepage as website homepage_id. This is not really an issue for enduser as they probably don't do -i once website is already installed. But this code was useless anyway, as the homepage_id set in XML would be overriden during bootstraping of the homepage in website create() override. Note that this is important to have the correct homepage_id in DB, otherwise it has to prefetch the generic homepage. Related to #47257 task-2211013 X-original-commit: 385203d7632daeaab762c57319cc93b8312cc043
This commit is contained in:
@@ -278,7 +278,7 @@
|
||||
<field name="domain"></field>
|
||||
<field name="company_id" ref="base.main_company"/>
|
||||
<field name="user_id" ref="base.public_user"/>
|
||||
<field name="homepage_id" ref="homepage_page"/>
|
||||
<!-- Correct homepage will be set during bootstraping -->
|
||||
</record>
|
||||
|
||||
<!-- Open website on install -->
|
||||
|
||||
Reference in New Issue
Block a user