Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix publication preferences for CC Contacts #343

Merged
merged 2 commits into from
Nov 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Changelog

**Fixed**

- #343 Fix publication preferences for CC Contacts
- #340 Fix TypeError: "Can't pickle objects in acquisition wrappers" (Calculation)
- #330 Show action buttons when sorting by column in listings
- #280 Integration of PR-2271. Setting 2 or more CCContacts in AR view produces a Traceback on Save
Expand Down
2 changes: 1 addition & 1 deletion bika/lims/browser/analysisrequest/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def get_recipients(self, ar):
for cc in ar.getCCContact():
recips.append({'title': to_utf8(cc.Title()),
'email': cc.getEmailAddress(),
'pubpref': contact.getPublicationPreference()})
'pubpref': cc.getPublicationPreference()})

return recips

Expand Down