Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
odoo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-foodcoops
odoo
Commits
66bdebd2
Commit
66bdebd2
authored
Jun 07, 2024
by
Odoo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add unsubscribed to admitted value of working_state
parent
7bfade61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
res_partner.py
intercoop_addons/coop_membership/models/res_partner.py
+1
-1
res_partner.py
intercoop_addons/coop_shift/model/res_partner.py
+1
-0
No files found.
intercoop_addons/coop_membership/models/res_partner.py
View file @
66bdebd2
...
...
@@ -35,7 +35,7 @@ EXTRA_COOPERATIVE_STATE_SELECTION = [
class
ResPartner
(
models
.
Model
):
_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
=
[
(
'm'
,
'male'
),
...
...
intercoop_addons/coop_shift/model/res_partner.py
View file @
66bdebd2
...
...
@@ -45,6 +45,7 @@ class ResPartner(models.Model):
(
'up_to_date'
,
'Up to date'
),
(
'alert'
,
'Alert'
),
(
'suspended'
,
'Suspended'
),
(
'unsubscribed'
,
'Unsubscribed'
),
(
'delay'
,
'Delay'
),
(
'blocked'
,
'Blocked'
),
(
'gone'
,
'Gone'
),
# Used by La Cagette and followers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment