Browse Source

[REFACT] remove unused import

pull/1/head
houssine 6 years ago
parent
commit
e4547d6f49
  1. 1
      easy_my_coop/models/account_invoice.py
  2. 2
      easy_my_coop/models/account_journal.py
  3. 2
      easy_my_coop/models/company.py
  4. 3
      easy_my_coop/models/operation_request.py
  5. 4
      easy_my_coop/models/partner.py
  6. 3
      easy_my_coop/models/product.py
  7. 3
      easy_my_coop/models/res_partner_bank.py

1
easy_my_coop/models/account_invoice.py

@ -1,6 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from datetime import datetime from datetime import datetime
from openerp import api, fields, models from openerp import api, fields, models

2
easy_my_coop/models/account_journal.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from openerp import api, fields, models, _
from openerp import fields, models
class AccountJournal(models.Model): class AccountJournal(models.Model):
_inherit = "account.journal" _inherit = "account.journal"

2
easy_my_coop/models/company.py

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from openerp import api, fields, models, _
from openerp import fields, models
class ResCompany(models.Model): class ResCompany(models.Model):
_inherit = 'res.company' _inherit = 'res.company'

3
easy_my_coop/models/operation_request.py

@ -2,8 +2,7 @@
from datetime import datetime from datetime import datetime
from openerp import api, fields, models, _ from openerp import api, fields, models, _
from openerp.addons.base_iban import base_iban
from openerp.exceptions import UserError, ValidationError
from openerp.exceptions import ValidationError
class operation_request(models.Model): class operation_request(models.Model):
_name = 'operation.request' _name = 'operation.request'

4
easy_my_coop/models/partner.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from openerp import api, fields, models, _
from datetime import date
from openerp import api, fields, models
class ResPartner(models.Model): class ResPartner(models.Model):
_inherit = 'res.partner' _inherit = 'res.partner'

3
easy_my_coop/models/product.py

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from openerp import api, fields, models, _
from openerp import api, fields, models
class ProductTemplate(models.Model): class ProductTemplate(models.Model):
_inherit = 'product.template' _inherit = 'product.template'

3
easy_my_coop/models/res_partner_bank.py

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from openerp import models, _
from openerp import models
class ResPartnerBank(models.Model): class ResPartnerBank(models.Model):
_inherit = 'res.partner.bank' _inherit = 'res.partner.bank'

Loading…
Cancel
Save