How to override @property?

I need to override @property agent_plans_used from commission module.
I have tried it in different ways without success.

some clue?

Like any method but without calling:

class InvoiceLine(metaclass=PoolMeta):
   __name__ = 'account.invoice.line'

   @property
   def agent_plans_used(self):
       plan = super().agent_plans_used
       if …:
           plan = …
       return plan

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.