-
-
Notifications
You must be signed in to change notification settings - Fork 664
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
ported hr_webcam to 8.0 #65
Conversation
- updated __openerp__.py and hr_webcam_view.xml to reflect changes to 8.0 api - modified hr_webcam.css (wider camera viewport)
@yoyo2k You have some pep8 issues to fix:
|
Yeah.. saw those.. I just made minor adjustments to work on 8.0. The rest is unchanged. If needed I'll make the necessary changes to comply to PEP8. |
@@ -1,12 +1,12 @@ | |||
# -*- coding:utf-8 -*- | |||
#-*- coding:utf-8 -*- |
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.
Why did you changed this line?
This generate a PEP8 error:
./hr_webcam/__init__.py:1:1: E265 block comment should start with '# '
@yoyo2k As you are porting it, it is the right time to fix those PEP8 issues. BTW, some errors are due to your changes. |
# it under the terms of the GNU Affero General Public License as published | ||
# by the Free Software Foundation, either version 3 of the License, or | ||
# it under the terms of the GNU Affero General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or |
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.
Please revert this change
./hr_webcam/__init__.py:8:80: E501 line too long (80 > 79 characters)
Honest mistake/typo.. |
@@ -0,0 +1,24 @@ | |||
from openerp.osv import fields, osv |
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.
./hr_webcam/hr.py:1:1: F401 'fields' imported but unused
Could you also move description from |
There are conflicts in the PR, a rebase may be necessary |
- updated __openerp__.py and hr_webcam_view.xml to reflect changes to 8.0 api - modified hr_webcam.css (wider camera viewport)
sorry for the long delay. |
------------ | ||
|
||
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com> | ||
|
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.
Don't you want to add yourself here?
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.
It seems that this PR mixes one of my modules, so he has to remove it, not to attribute it.
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.
true.. because of the rebase..
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.
Closing this pr and opening a new one could fix this.
Travis is failing because |
and now? why is it failing? |
Not sure... |
Ok.. more than 40 days gone by. I've done everything that was asked. On my system, it works. |
|
||
|
||
class hr_employee(models.Model): | ||
_name = 'hr.employee' |
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.
Here you wanted to remove _name
and not _inherit
see https://github.com/yoyo2k/hr/commit/05296ab2269cf4397a5ef25bb3c0dd0074da28a2
@yoyo2k See my comment I think this is the commit which broke the module (and the tests) |
Changes Unknown when pulling 8d55947 on yoyo2k:8.0 into * on OCA:8.0*. |
👍 |
1 similar comment
👍 |
Needs a rebase |
* up_8.0: Add OCA as author of OCA addons
@yoyo2k fix it for your own file in
|
@yoyo2k Any news here ? Thanks for the work |
Fixed the small issue and merged manually |
just a white picture, my cam is activated but the image be white ? |
[BSSFL-124] Move line credit/debit amount calculation from amount_currency
__openerp__.py
andhr_webcam_view.xml
to reflect changes to 8.0 apihr_webcam.css
(wider camera viewport)