Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

disable drag and drop on stage column in CRM

形象
丢弃
2 答案
0
形象
odoo
最佳答案

Hi,


Please add records_draggable="0" into the kanban tag of kanban view to disable drag and drop the records.


Try with the following

<kanban default_group_by="stage_id" class="o_kanban_small_column o_opportunity_kanban" on_create="quick_create" quick_create_view="crm.quick_create_opportunity_form" archivable="false" sample="1" records_draggable="0">


Reference:


https://www.odoo.com/sl_SI/forum/pomoc-1/disable-drag-and-drop-in-kanban-view-in-odoo-15-212231


https://www.odoo.com/sl_SI/forum/pomoc-1/how-to-restrict-dragging-of-kanban-stages-127256#:~:text=To disable drag drop and,into the tag


Hope it helps

形象
丢弃
0
形象
odoo
最佳答案
Hi Aprilia,

Try making the stage_id field readonly.

<xpath expr="//kanban/field[@name='stage_id']" position="attributes">
<attribute name="readonly">True</attribute>
</xpath>

Hope this helps.
形象
丢弃