Skip to Content
Menu
This question has been flagged
1 Reply
2809 Views

class IrValuesExt(models.Model):

    _inherit = 'ir.values'


    @api.model

    @tools.ormcache_context('self._uid', 'action_slot', 'model', 'res_id', keys=('lang',))

    def get_actions(self, action_slot, model, res_id=False):

                .......................


There is no model 'ir.values' in V11 and get_actions function. Any body know which model is the replacement for this model and function ?

Avatar
Discard
Best Answer

Hi,

You  can have a look at this link: Migration to version 11.0





Thanks

Avatar
Discard
Author

Thanks for your answer. I need to add a action menu under every model like delete or duplicate (except 2 model). How this is possible ?

Related Posts Replies Views Activity
0
Aug 24
328
2
Jul 24
13934
0
Nov 23
757
0
Sep 23
448
2
Sep 23
6682