summaryrefslogtreecommitdiff
path: root/doc/howtos/backend/exercise-constraint-python
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2016-10-11 11:11:52 +0200
committerMartin Trigaux <mat@odoo.com>2016-10-11 12:09:27 +0200
commit95280245367da42fead8be9892079a5795171fd0 (patch)
tree072b5191d1ee1e30e8b5fa1cf23f8e5353a3c06e /doc/howtos/backend/exercise-constraint-python
parentacaf0f1e190326775e5bcd93daf4146e320e27e5 (diff)
[FIX] doc: building correctly autoclass references
Diffstat (limited to 'doc/howtos/backend/exercise-constraint-python')
-rw-r--r--doc/howtos/backend/exercise-constraint-python4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/howtos/backend/exercise-constraint-python b/doc/howtos/backend/exercise-constraint-python
index 290e09aa5a1..144a64e0325 100644
--- a/doc/howtos/backend/exercise-constraint-python
+++ b/doc/howtos/backend/exercise-constraint-python
@@ -8,8 +8,8 @@ diff --git a/openacademy/models.py b/openacademy/models.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
--from openerp import models, fields, api
-+from openerp import models, fields, api, exceptions
+-from odoo import models, fields, api
++from odoo import models, fields, api, exceptions
class Course(models.Model):
_name = 'openacademy.course'