콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
3236 화면

When you click on Sales | Sales | Customers, you get a Kanban view of your customers.   My goal is to default that to the list view of my customers.    The first attempt I modified the order of the buttons and put List View first.   That worked until I updated Odoo and it reverted my changes.

My second attempt was to create a brand new Customer menu item, which worked, but now after an update, I have two Customers menu items, one that is the Kanban View.    The other is my new List View.

What is the right way to modify the menu so that it'll survive an update of Odoo?    Do I have to create a module that'll run automatically after update to replace all my changes?

아바타
취소
베스트 답변

http://ursainfosystems.com/homesite/upgrade-safe-changes-to-odoo-views/ 


For menus:


1. Create a new group - NOBODY - with no users in it.

2. Duplicate the menu, so you have your 'own' copy.

3. Set the permissions of the original to NOBODY.

아바타
취소
작성자

Excellent. I know how to extend views, just didn't know about menus. The "NOBODY" group seems like a very easy fix.