[ADD] hr_payroll_document_queue#252
Conversation
If multiple wizards are sending payrolls at the same time, every wizard acts in their own folder. Also add display name.
|
Hi @peluko00, |
quirino95
left a comment
There was a problem hiding this comment.
Code and functional review: LGTM
Suggestion (non-blocking): What do you think about keeping just the "Send" button instead of two? Of course, in this case, "Send" will do an asynchronous call. I think this is better for the user experience.
anusriNPS
left a comment
There was a problem hiding this comment.
Code and Functional Review: LGTM.
Observation: After emails sent, could not check notifications in Odoo chatter box about emails.
|
This PR has the |
|
Thanks both for your reviews!
@quirino95 I prefer to show explicitly what's going to happen, one button or the other can be hidden for specific users adding user groups.
@anusriNPS we already talked about this and that was because jobs weren't starting, is this still happening? |
I was able to verify email notification from |
I think we are mixing up the 2 types of notifications that the user can select: If they want Odoo notifications, then in the chatter there will be a message with the same subject of the sent payrolls I agree that it could be improved but if you have a look at the code, I simply tell Odoo to notify the user with |
Thank you for the detailed response. It helped to understand different notifications sent as per configuration. Agree, we are following standard flow here. Discussion was helpful to understand the module better. |








Add a new module to process the payslips asynchronously.
I have also included a small improvement to allow multiple wizards to be processed at the same time without conflicts.
A more elaborate solution could be implemented (like using https://docs.python.org/3/library/tempfile.html) but that would require more refactoring.
Let me know what you think!