Commit 66bdebd2 by Odoo

Add unsubscribed to admitted value of working_state

parent 7bfade61
...@@ -35,7 +35,7 @@ EXTRA_COOPERATIVE_STATE_SELECTION = [ ...@@ -35,7 +35,7 @@ EXTRA_COOPERATIVE_STATE_SELECTION = [
class ResPartner(models.Model): class ResPartner(models.Model):
_inherit = 'res.partner' _inherit = 'res.partner'
COOPERATIVE_STATE_CUSTOMER = ['up_to_date', 'alert', 'delay', 'exempted', 'gone', 'associated'] COOPERATIVE_STATE_CUSTOMER = ['up_to_date', 'alert', 'delay', 'exempted', 'unsubscribed', 'gone', 'associated']
SEX_SELECTION = [ SEX_SELECTION = [
('m', 'male'), ('m', 'male'),
......
...@@ -45,6 +45,7 @@ class ResPartner(models.Model): ...@@ -45,6 +45,7 @@ class ResPartner(models.Model):
('up_to_date', 'Up to date'), ('up_to_date', 'Up to date'),
('alert', 'Alert'), ('alert', 'Alert'),
('suspended', 'Suspended'), ('suspended', 'Suspended'),
('unsubscribed', 'Unsubscribed'),
('delay', 'Delay'), ('delay', 'Delay'),
('blocked', 'Blocked'), ('blocked', 'Blocked'),
('gone', 'Gone'), # Used by La Cagette and followers ('gone', 'Gone'), # Used by La Cagette and followers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment