Odoo Help


How to hide duplicate button inside form view Odoo 9

Ahmad Aldaker
on 10/28/16, 12:00 AM 516 views

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.


Ameera PP

--Ameera PP--
| 5 4 7
Bangalore, India
--Ameera PP--

Ameera PP
On 10/28/16, 5:18 AM

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.'))

reda rouichi
On 10/28/16, 12:23 PM

Take a look at this 


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/28/16, 12:00 AM
Seen: 516 times
Last updated: 10/28/16, 12:23 PM