[REF] mass_mailing, project: remove deprecated '_period_number' attribute

This parameter declared on mailing and project classes is not used anymore.
Let us remove it to clean model definitions.

closes odoo/odoo#39401

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
oco-odoo
2020-02-10 11:11:55 +00:00
committed by Thibault Delavallée
parent 53dc9208e0
commit 5b74306a17
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -40,8 +40,6 @@ class MassMailing(models.Model):
_name = 'mailing.mailing'
_description = 'Mass Mailing'
_inherit = ['mail.thread', 'mail.activity.mixin', 'mail.render.mixin']
# number of periods for tracking mail_mail statistics
_period_number = 6
_order = 'sent_date DESC'
_inherits = {'utm.source': 'source_id'}
_rec_name = "subject"
-1
View File
@@ -66,7 +66,6 @@ class Project(models.Model):
_description = "Project"
_inherit = ['portal.mixin', 'mail.alias.mixin', 'mail.thread', 'rating.parent.mixin']
_order = "sequence, name, id"
_period_number = 5
_rating_satisfaction_days = False # takes all existing ratings
_check_company_auto = True