mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-21 11:22:06 +02:00
19.0 vanilla
This commit is contained in:
parent
5df8c07b59
commit
daa394e8b0
2114 changed files with 564841 additions and 299642 deletions
|
|
@ -0,0 +1,15 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class MailingSubscriptionOptout(models.Model):
|
||||
""" Reason for opting out of mailing lists or for blacklisting. """
|
||||
_name = 'mailing.subscription.optout'
|
||||
_description = 'Mailing Subscription Reason'
|
||||
_order = 'sequence ASC, create_date DESC, id DESC'
|
||||
|
||||
name = fields.Char(string='Reason', translate=True)
|
||||
sequence = fields.Integer(string='Sequence', default=10)
|
||||
is_feedback = fields.Boolean(string='Ask For Feedback')
|
||||
Loading…
Add table
Add a link
Reference in a new issue