Created
August 13, 2019 10:39
-
-
Save cmorisse/6fd5d3ede6bd587c48ca26eb7d84ae7d to your computer and use it in GitHub Desktop.
to allow vscode debugger to run on odoo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/odoo/fields.py b/odoo/fields.py | |
index e4b153f3982..76caf1f38c5 100644 | |
--- a/odoo/fields.py | |
+++ b/odoo/fields.py | |
@@ -333,6 +333,7 @@ class Field(MetaField('DummyField', (object,), {})): | |
def __getattr__(self, name): | |
""" Access non-slot field attribute. """ | |
+ print(name) | |
try: | |
return self._attrs[name] | |
except KeyError: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment