[FIX] im_livechat: fix customer ratings open wrong form view
Steps: - Install project and live chart applications - In project reporting then - Customer ratings - Click on kanban card, task form view open Issue: - When we click on a Kanban card, it opens the 'project.task' form view instead of the 'rating.rating' form view Cause: - This problem occurs when you install the 'Live Chat' application because, in the 'Live Chat' application, they inherit the Kanban view from the 'rating' module and insert some actions into the inherited view. This action affects other modules where customer ratings are required, such as the project module and others. Fix: -By creating a separate view for the Live Chat customer ratings, the problem can be solved task-3522178 closes odoo/odoo#138276 X-original-commit: f50e6dbbd46bf0d16c8f522d4f1d9b10445d1065 Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
<field name="name">im_livechat.rating.rating.view.kanban</field>
|
||||
<field name="model">rating.rating</field>
|
||||
<field name="inherit_id" ref="rating.rating_rating_view_kanban"/>
|
||||
<field name="mode">primary</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//kanban" position="attributes">
|
||||
<attribute name="type">object</attribute>
|
||||
|
||||
Reference in New Issue
Block a user