-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
7.0 travel purchase alert #21
Conversation
* Send an email alert when travel is opened * Send an email alert when reservation is confirmed * Add possibility to configure alert recipients
res = {} | ||
|
||
for purchase in self.browse(cr, uid, ids, context=context): | ||
if purchase.state == 'approved' and purchase.travel_id is not False: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is too long
@bwrsandman the problem is that it depends on #20 and it was not merged yet. |
29b8cac
to
cf7a7eb
Compare
08121e9
to
b9d060a
Compare
bf041bb
to
56028e6
Compare
56028e6
to
8dfa9b0
Compare
8dfa9b0
to
2124294
Compare
2124294
to
312e228
Compare
c2bbc82
to
ce190db
Compare
👍 |
ce190db
to
9221cee
Compare
Conflicts: travel/i18n/fr.po travel/i18n/travel.pot travel/travel.py
If you don't put user_id, this default value will be the id of administrator and the others users cannot use the filter. We get an Acl error saying: 'Access denied for ir_filters models'. Definition of this field: user_id': fields.many2one('res.users', 'User', ondelete='cascade', help='The user this filter is private to. When left empty the filter is public' 'and available to all users.)
9221cee
to
8a21867
Compare
#, python-format | ||
msgid "Only draft travels can be unlinked" | ||
msgstr "Seuls les déplacements en mode brouillon peuvent être supprimés" | ||
|
||
#. module: travel | ||
#: code:addons/travel/travel.py:91 | ||
#: help:travel.passenger,message_unread:0 help:travel.travel,message_unread:0 | ||
msgid "If checked new messages require your attention." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correction : "If checked new messages will require your attention"
As Travis is red and no fix, I close. Feel free to reopen in case there's interest. |
Send alert when a PO linked to the travel is opened
Depends on #20