diff --git a/addons/crm/crm_lead.py b/addons/crm/crm_lead.py index a209bba4890..db9de6a9f0c 100644 --- a/addons/crm/crm_lead.py +++ b/addons/crm/crm_lead.py @@ -376,7 +376,6 @@ class crm_lead(format_address, osv.osv): def case_mark_lost(self, cr, uid, ids, context=None): """ Mark the case as lost: state=cancel and probability=0 - :deprecated: this method will be removed in OpenERP v8. """ stages_leads = {} for lead in self.browse(cr, uid, ids, context=context): @@ -397,7 +396,6 @@ class crm_lead(format_address, osv.osv): def case_mark_won(self, cr, uid, ids, context=None): """ Mark the case as won: state=done and probability=100 - :deprecated: this method will be removed in OpenERP v8. """ stages_leads = {} for lead in self.browse(cr, uid, ids, context=context): diff --git a/addons/hr_recruitment/res_config.py b/addons/hr_recruitment/res_config.py index 09d818d3ff2..731c0683481 100644 --- a/addons/hr_recruitment/res_config.py +++ b/addons/hr_recruitment/res_config.py @@ -31,11 +31,6 @@ class hr_applicant_settings(osv.TransientModel): 'module_document': fields.boolean('Allow the automatic indexation of resumes', help='Manage your CV\'s and motivation letter related to all applicants.\n' '-This installs the module document_ftp. This will install the knowledge management module in order to allow you to search using specific keywords through the content of all documents (PDF, .DOCx...)'), - 'fetchmail_applicants': fields.boolean('Create applicants from an incoming email account', - fetchmail_model='hr.applicant', fetchmail_name='Incoming HR Applications', - help='Allow applicants to send their job application to an email address (jobs@mycompany.com), ' - 'and create automatically application documents in the system.', - deprecated='Will be removed with OpenERP v8, not applicable anymore. Use aliases instead.'), 'alias_prefix': fields.char('Default Alias Name for Jobs'), 'alias_domain': fields.char('Alias Domain'), } diff --git a/addons/mail/mail_thread.py b/addons/mail/mail_thread.py index 36d6ecbf630..55a566880b8 100644 --- a/addons/mail/mail_thread.py +++ b/addons/mail/mail_thread.py @@ -1318,14 +1318,6 @@ class mail_thread(osv.AbstractModel): # Note specific #------------------------------------------------------ - def log(self, cr, uid, id, message, secondary=False, context=None): - _logger.warning("log() is deprecated. As this module inherit from "\ - "mail.thread, the message will be managed by this "\ - "module instead of by the res.log mechanism. Please "\ - "use mail_thread.message_post() instead of the "\ - "now deprecated res.log.") - self.message_post(cr, uid, [id], message, context=context) - def _message_add_suggested_recipient(self, cr, uid, result, obj, partner=None, email=None, reason='', context=None): """ Called by message_get_suggested_recipients, to add a suggested recipient in the result dictionary. The form is : diff --git a/addons/project/project.py b/addons/project/project.py index 2249cf07dd5..d98b9b03e94 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -228,9 +228,6 @@ class project(osv.osv): 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the project without removing it."), 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of Projects."), 'analytic_account_id': fields.many2one('account.analytic.account', 'Contract/Analytic', help="Link this project to an analytic account if you need financial management on projects. It enables you to connect projects with budgets, planning, cost and revenue analysis, timesheets on projects, etc.", ondelete="cascade", required=True), - 'priority': fields.integer('Sequence (deprecated)', - deprecated='Will be removed with OpenERP v8; use sequence field instead', - help="Gives the sequence order when displaying the list of projects"), 'members': fields.many2many('res.users', 'project_user_rel', 'project_id', 'uid', 'Project Members', help="Project's members are users who can have an access to the tasks related to this project.", states={'close':[('readonly',True)], 'cancelled':[('readonly',True)]}), 'tasks': fields.one2many('project.task', 'project_id', "Task Activities"), diff --git a/addons/website_blog/models/website_blog.py b/addons/website_blog/models/website_blog.py index 37678e94aba..47c6df94a6b 100644 --- a/addons/website_blog/models/website_blog.py +++ b/addons/website_blog/models/website_blog.py @@ -74,7 +74,6 @@ class BlogPost(osv.Model): 'history_ids': fields.one2many( 'blog.post.history', 'post_id', 'History', help='Last post modifications', - deprecated='This field will be removed for OpenERP v9.' ), # creation / update stuff 'create_date': fields.datetime( diff --git a/openerp/addons/base/res/res_partner.py b/openerp/addons/base/res/res_partner.py index c7af837aff1..b2792fb254b 100644 --- a/openerp/addons/base/res/res_partner.py +++ b/openerp/addons/base/res/res_partner.py @@ -266,8 +266,6 @@ class res_partner(osv.osv, format_address): 'city': fields.char('City', size=128), 'state_id': fields.many2one("res.country.state", 'State', ondelete='restrict'), 'country_id': fields.many2one('res.country', 'Country', ondelete='restrict'), - 'country': fields.related('country_id', type='many2one', relation='res.country', string='Country', - deprecated="This field will be removed as of OpenERP 7.1, use country_id instead"), 'email': fields.char('Email', size=240), 'phone': fields.char('Phone', size=64), 'fax': fields.char('Fax', size=64), diff --git a/openerp/addons/base/res/res_partner_view.xml b/openerp/addons/base/res/res_partner_view.xml index 50045aaf270..a419f1157be 100644 --- a/openerp/addons/base/res/res_partner_view.xml +++ b/openerp/addons/base/res/res_partner_view.xml @@ -83,7 +83,6 @@ - @@ -399,9 +398,9 @@
  • at
  • -
  • -
  • -
  • ,
  • +
  • +
  • +
  • ,
  • diff --git a/openerp/addons/base/res/res_users.py b/openerp/addons/base/res/res_users.py index b0731791ae0..8505be0e59e 100644 --- a/openerp/addons/base/res/res_users.py +++ b/openerp/addons/base/res/res_users.py @@ -182,9 +182,6 @@ class res_users(osv.osv): 'company_id': fields.many2one('res.company', 'Company', required=True, help='The company this user is currently working for.', context={'user_preference': True}), 'company_ids':fields.many2many('res.company','res_company_users_rel','user_id','cid','Companies'), - # backward compatibility fields - 'user_email': fields.related('email', type='char', - deprecated='Use the email field instead of user_email. This field will be removed with OpenERP 7.1.'), } def on_change_login(self, cr, uid, ids, login, context=None):