[IMP] mrp, (sale_)stock: remove unused imports
Removing some unused imports noticed while working on task: 2359317
This commit is contained in:
@@ -8,7 +8,6 @@ import re
|
||||
|
||||
from collections import defaultdict
|
||||
from dateutil.relativedelta import relativedelta
|
||||
from itertools import groupby
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
from odoo.exceptions import AccessError, UserError
|
||||
|
||||
@@ -3,13 +3,11 @@
|
||||
|
||||
import json
|
||||
import logging
|
||||
from datetime import datetime, timedelta
|
||||
from datetime import timedelta
|
||||
from collections import defaultdict
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
from odoo.tools import DEFAULT_SERVER_DATETIME_FORMAT, float_compare, float_round
|
||||
from odoo.tools.float_utils import float_repr
|
||||
from odoo.tools.misc import format_date
|
||||
from odoo.tools import float_compare, float_round
|
||||
from odoo.exceptions import UserError
|
||||
|
||||
|
||||
|
||||
@@ -1,22 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
import json
|
||||
|
||||
from collections import defaultdict
|
||||
from datetime import datetime, timedelta
|
||||
from datetime import timedelta
|
||||
from itertools import groupby
|
||||
from operator import itemgetter
|
||||
from re import findall as regex_findall
|
||||
from re import split as regex_split
|
||||
|
||||
from dateutil import relativedelta
|
||||
|
||||
from odoo import SUPERUSER_ID, _, api, fields, models
|
||||
from odoo import _, api, fields, models
|
||||
from odoo.exceptions import UserError
|
||||
from odoo.osv import expression
|
||||
from odoo.tools import OrderedSet
|
||||
from odoo.tools.float_utils import float_compare, float_is_zero, float_repr, float_round
|
||||
from odoo.tools.misc import format_date, OrderedSet
|
||||
from odoo.tools.float_utils import float_compare, float_is_zero, float_round
|
||||
from odoo.tools.misc import OrderedSet
|
||||
|
||||
PROCUREMENT_PRIORITIES = [('0', 'Normal'), ('1', 'Urgent')]
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
import json
|
||||
import time
|
||||
from ast import literal_eval
|
||||
from collections import defaultdict
|
||||
from datetime import date, timedelta
|
||||
from itertools import groupby
|
||||
from operator import itemgetter
|
||||
|
||||
Reference in New Issue
Block a user