[FIX] website_forum: traceback on clicking publish/unpublish

before this commit, on clicking the publish/unpublish
buttons from the tree view of the forum post, is showing
traceback due to missing is_published field in the
forum.post model.

publish/unpublish buttons in the action menu is added
by the js class website_pages_list.

after this commit, the js class is removed from the
tree and thus no publish/unpublish button is shown
in the action menu.

closes odoo/odoo#128540

X-original-commit: ada177c9a840347330942a8e1db2204bf0c280e0
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
niyasraphy
2023-07-15 12:00:47 +02:00
parent e95a9dfbe7
commit 9bacc4e25d
@@ -110,7 +110,7 @@
<field name="model">forum.post</field>
<field name="priority">99</field>
<field name="arch" type="xml">
<tree js_class="website_pages_list" create="false" type="object" action="go_to_website">
<tree create="false" type="object" action="go_to_website">
<field name="active" invisible="1"/>
<field name="name"/>
<field name="website_url"/>