I am trying to follow the instructions in this post: https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-display-needaction-count-only-in-one-menu-90925
If I code it in new api, I receive the error: AttributeError: 'ir.actions.server' object has no attribute 'context'
If I code it in old api, I receive the error: act_ctx = dict(context, **menu.action.context) TypeError: type object argument after ** must be a mapping, not unicode
This leads me to believe that context does not exist for menu.action. What am I doing wrong?