Skip to content Skip to sidebar Skip to footer
Showing posts with the label Abstract Class

How To Inherit Mail.thread Abstractmodel And Override Function From This Class In Odoo?

I would like to change something from mail.thread abstract class. So I inherited mail.thread and wr… Read more How To Inherit Mail.thread Abstractmodel And Override Function From This Class In Odoo?

Strange Behaviour When Mixing Abstractmethod, Classmethod And Property Decorators

I've been trying to see whether one can create an abstract class property by mixing the three d… Read more Strange Behaviour When Mixing Abstractmethod, Classmethod And Property Decorators

Python Abstract Attribute

I will only have a single Abstract Class in this particular module and so I'm trying to avoid i… Read more Python Abstract Attribute

Can I Prevent Class Definition Unless A Method Is Implemented?

I'm trying to figure out how to provide a base class to plugin writers so that they provide def… Read more Can I Prevent Class Definition Unless A Method Is Implemented?