Search 1.9 billion lines of Odoo code on GitHub

oemetasl

Author: XCG Consulting
License: no license
Branch: master
Repository: xcgd/oemetasl
Dependencies: base
Languages: PO File (20, 27.8%), Python (35, 48.6%), and reStructuredText (17, 23.6%)
Other repositories: MariLAK/oemetasl

<p>### README ###</p> <p>### Oemetaslfor Odoo/OpenERP ###</p> <p>This module handles methods and MetaClass to modify OpenERP base methods. For Exemple, we override copy method to restrict the copy in Odoo/OpenERP. But you can implement the method you need.</p> <a name="how-to"></a> <h2>How to</h2> <pre> <code># In an Openerp Module: from oemetasl import OEMetaSL class oetest(osv.Model): __metaclass__ = OEMetaSL # Functions defined in OEMetaSL will be automatically added if they are not # implemented in the osv.Model class</code> </pre>