Skip to content

Conversation

@houzefa-abba
Copy link
Member

This module helps providing methods that override base Odoo model ones.
It is implemented via a nifty meta-class.
Check out its README file for use examples.

@houzefa-abba
Copy link
Member Author

Hey,

This is the beginning of work done at the PyconFR 2015 to merge some XCG Odoo addons into OCA.

We are going to start with analytic management; that starts with this base meta-class module, which our other addons make use of.

@@ -0,0 +1,26 @@
### README ###
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use OCA's readme template here



This module handles methods and MetaClass to modify OpenERP base methods.
For Exemple, we override copy method to restrict the copy in Odoo/OpenERP.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exAmple



def get_overrides():
overrides = {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be global for all databases running on the server. Shouldn't this be per database (as in: Set up the data structure in _register_hook and keep it per registry)?

@github-actions
Copy link

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 31, 2021
@github-actions github-actions bot closed this Dec 5, 2021
SiesslPhillip pushed a commit to grueneerde/OCA-server-tools that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/server-tools (9.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants