Browse Source

beesdoo_base module : migration to version 10.0

pull/105/head
Elouan 5 years ago
parent
commit
101abfd8f3
  1. 0
      beesdoo_base/__manifest__.py
  2. 10
      beesdoo_base/controllers/report.py
  3. 2
      beesdoo_base/models/membercard.py
  4. 4
      beesdoo_base/models/partner.py
  5. 2
      beesdoo_base/wizard/member_card.py
  6. 2
      beesdoo_base/wizard/partner.py
  7. 4
      beesdoo_base/wizard/portal_wizard.py

0
beesdoo_base/__openerp__.py → beesdoo_base/__manifest__.py

10
beesdoo_base/controllers/report.py

@ -1,9 +1,9 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details. # Part of Odoo. See LICENSE file for full copyright and licensing details.
from openerp.addons.web.http import Controller, route, request
from openerp.addons.web.controllers.main import _serialize_exception, content_disposition
from openerp.tools import html_escape
from odoo.addons.web.http import Controller, route, request
from odoo.addons.web.controllers.main import _serialize_exception, content_disposition
from odoo.tools import html_escape
import json import json
import time import time
@ -12,8 +12,8 @@ from werkzeug.test import Client
from werkzeug.wrappers import BaseResponse from werkzeug.wrappers import BaseResponse
from werkzeug.datastructures import Headers from werkzeug.datastructures import Headers
from openerp.addons.report.controllers.main import ReportController
from openerp.tools.safe_eval import safe_eval
from odoo.addons.report.controllers.main import ReportController
from odoo.tools.safe_eval import safe_eval
class ReportCustom(ReportController): class ReportCustom(ReportController):

2
beesdoo_base/models/membercard.py

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from openerp import models, fields, api
from odoo import models, fields, api
import uuid import uuid
class MemberCard(models.Model): class MemberCard(models.Model):

4
beesdoo_base/models/partner.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from openerp import models, fields, api, _
from openerp.exceptions import ValidationError
from odoo import models, fields, api, _
from odoo.exceptions import ValidationError
class Partner(models.Model): class Partner(models.Model):

2
beesdoo_base/wizard/member_card.py

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from openerp import models, fields, api
from odoo import models, fields, api
class NewMemberCardWizard(models.TransientModel): class NewMemberCardWizard(models.TransientModel):
""" """

2
beesdoo_base/wizard/partner.py

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from openerp import models, fields, api
from odoo import models, fields, api
class NewEaterWizard(models.TransientModel): class NewEaterWizard(models.TransientModel):
""" """

4
beesdoo_base/wizard/portal_wizard.py

@ -1,5 +1,5 @@
from openerp import models, fields, api
from openerp import SUPERUSER_ID
from odoo import models, fields, api
from odoo import SUPERUSER_ID
class BeesdooWizard(models.TransientModel): class BeesdooWizard(models.TransientModel):

Loading…
Cancel
Save