Hello, any one knows how can i hide duplicate button from FormView in odoo 9 i tried a lot but i couldn't do it
please Help me.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
Only way is to override copy method:
from openerp.osv import osvfrom openerp.tools.translate import _
def copy(self, cr, uid, id, default=None, context=None):
raise osv.except_osv(_('Forbbiden to duplicate'), _('It is not possible to duplicate the record, please try to create a new one.'))
Take a look at this
https://www.odoo.com/fr_FR/forum/aide-1/question/remove-duplicate-link-from-more-dropdown-in-form-view-40601
Take a look at this blog
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
ธ.ค. 24
|
5637 | ||
how to know the odoo master password?
แก้ไขแล้ว
|
|
4
ก.ค. 24
|
40609 | |
Default value in form view
แก้ไขแล้ว
|
|
5
เม.ย. 23
|
97513 | |
|
3
พ.ย. 22
|
3871 | ||
|
3
ส.ค. 22
|
3912 |
The Dynamic Duplicate Menu Hider for Odoo is an essential tool for enhancing your Odoo instance's user interface by dynamically managing the visibility of the duplicate action menu button in both list (tree) and form views. This app allows administrators to configure the visibility of the duplicate action menu button based on user groups and specific model configurations, ensuring a streamlined and customized user experience. With an easy-to-use configuration panel, you can quickly toggle the visibility of the duplicate menu for selected models, empowering you to maintain a cleaner and more controlled interface. Integration is achieved through the use of the js_class attribute in both list (tree) and form views.
https://apps.odoo.com/apps/modules/17.0/mh_hide_duplicate_menu_with_js_class