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

hr_worked_days_from_timesheet migrate and re-factored to Odoo 8.0 #189

Closed
wants to merge 12 commits into from
Closed

hr_worked_days_from_timesheet migrate and re-factored to Odoo 8.0 #189

wants to merge 12 commits into from

Conversation

acysos
Copy link
Member

@acysos acysos commented Nov 6, 2015

Hello,

I have migrate and re-factored this module. Less code and improved for inherit.

Greetings,
Ignacio Ibeas

@acysos
Copy link
Member Author

acysos commented Nov 7, 2015

Hello,

I don't understand the travis fail, in the my test repository, pass all test.
https://travis-ci.org/acysos/test-addons/builds/89748588

Greetings

wd_model = self.env['hr.payslip.worked_days']
for ts_sheet in timesheet_sheets:
# Get formated date from the timesheet sheet
date_from_formated = datetime.strptime(
Copy link
Member

Choose a reason for hiding this comment

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

You could use fields.Datetime.from_string and fields.Date.to_string functions available in new api.

@max3903 max3903 mentioned this pull request Nov 13, 2015
58 tasks
@dreispt dreispt added this to the 7.0 milestone Nov 13, 2015
@acysos
Copy link
Member Author

acysos commented Nov 15, 2015

Hello,

Changes done.

Greetings

'website': 'https://www.savoirfairelinux.com/',
'depends': [
'hr_payroll',
'hr_timesheet_sheet',
],
'data': [
'hr_payslip_view.xml'
'views/hr_payslip_view.xml'
],
'test': [
'test/worked_days_from_timesheet_test.yml'
],
'demo': [],
Copy link
Member

Choose a reason for hiding this comment

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

Please remove empty key: demo

@andhit-r
Copy link
Member

andhit-r commented Feb 6, 2016

Any news on this? May i offer help to finish it?

@acysos
Copy link
Member Author

acysos commented Feb 9, 2016

Hello,

I need to pass to test to unittest to finish it.

Greetings

@andhit-r
Copy link
Member

@acysos I have added unittest for this module. I created PR to your branch (https://github.com/acysos/hr/tree/8.0-hr_worked_days_from_timesheet) and OCA/hr ( #201 ) just to test.

There are some errors but i think it's not related to this module

@andhit-r
Copy link
Member

@acysos i need this module migrated to 8.0 soon and willing to finish your work. May i offer help to finish this? I will create new PR for this module and retain commit history from your work.

Any thought @feketemihai @dufresnedavid @dreispt @max3903 ?

@acysos
Copy link
Member Author

acysos commented Feb 18, 2016

@andhit-r The module is working, I have in one of my clients. I have merge you PR.

Thank you

@dreispt dreispt added this to the 8.0 milestone Feb 18, 2016
@dreispt dreispt removed this from the 7.0 milestone Feb 18, 2016
@andhit-r
Copy link
Member

Thanks @acysos. Travis and runbot still failing though. It seems cause by test on partner_firstname module. Anyone could give advice to make both test green?

@feketemihai
Copy link
Member

That are solved in #194 but there are not merged yet...

@andhit-r
Copy link
Member

@acysos @dufresnedavid @dreispt I have confirmed @feketemihai latest comment. #194 will solve travis issues, and hopefully runbot. Would someone review #194 ?

@acysos
Copy link
Member Author

acysos commented Feb 22, 2016

@feketemihai The merge is to the OCA principal branch, so I can't merge it. I can add the changes to this branch or you can send a PR.

@andhit-r
Copy link
Member

@acysos maybe you can review #194 and give your vote. Then you can rebase If #194 merged.

@andhit-r
Copy link
Member

Any news on this?

@feketemihai
Copy link
Member

Closed since work will continue in #218 .

ghost pushed a commit that referenced this pull request Apr 28, 2016
[8.0][hr_worked_days_from_timesheet] Update from #189. Rebased + Squash
sambarros pushed a commit to sambarros/hr that referenced this pull request Jul 26, 2018
[BSSFL-293] Add purchase order date confirmed
Mraimou pushed a commit to camptocamp/hr that referenced this pull request Nov 25, 2019
add mailchimp3 lib as requirement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants