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

8.0 hr payroll analysis #150

Closed
wants to merge 11 commits into from

Conversation

saltonmassally
Copy link

No description provided.

dufresnedavid and others added 7 commits October 6, 2015 05:46
"""
for payslip in self:
for line in payslip.analysis_line_ids:
line.unlink()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you may call directly self.mapped('analytic_line_ids').unlink() with no loop at all.

@ghost
Copy link

ghost commented Oct 6, 2015

@tarzan0820 thank you very much for porting this module

@saltonmassally
Copy link
Author

@dufresnedavid thanks for the review... I have effected the changes... please review when you can

Also I noticed that most of the py files had licensing information at the top, was it right of me to remove them?

@ghost
Copy link

ghost commented Oct 7, 2015

@tarzan0820 No, don't remove the licences and let the copy right of savoir-faire linux. You may add your name to the copyrights because you contributed. This is the right way to do things as described by the gnu organisation: http://www.gnu.org/licenses/gpl-howto.en.html

@saltonmassally
Copy link
Author

I apologize for this; during my first attempt at porting a module one of the reviewers had me remove the licensing info... I will add them back

@api.multi
def payroll_analysis_open_window(self):
"""
This method returns an action that displays profitability lines
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My mistake when writing this line. I copied this from another module. profitability should be analysis

@ghost
Copy link

ghost commented Oct 14, 2015

👍 code + functional Thank you very much!

@feketemihai
Copy link
Member

The module has good intention, and a payroll analysis is needed, but is it worth it to write other code instead of adding a graph view on the hr.payslip.line and declare some grouping and filter, because you have all the fields that you declare in the code.

Opinions?

@ghost
Copy link

ghost commented Nov 12, 2015

@feketemihai I agree with you, it is not worth creating a seperate model. Could just group payslip lines.

@siewemarcelin
Copy link

hi.
I need hr_payroll_analysis for odoo version 8.

sambarros pushed a commit to sambarros/hr that referenced this pull request Jul 26, 2018
[BSSFL-169] Add module rma webhook
Mraimou pushed a commit to camptocamp/hr that referenced this pull request Nov 25, 2019
…_invoice_date_to_cron

BSIBSO-1033 Set subscription invoice date to cron run date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants