-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
[10.0] Pingen migration #114
Conversation
pingen/__init__.py
Outdated
# Author: Guewen Baconnier | ||
# Copyright 2012 Camptocamp SA | ||
# Author: Anar Baghirli | ||
# Copyright 2017 Camptocamp SA |
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 change the author, you are not the original author of that module.
You can add your name as contributor in the README.rst
It's probably not what you meant to do but this is like stealing the work of someone else.
Add only your name as author if you are adding a functionnality or a major work in the code. -
Dates shouldn't be erased, it should list the years of edition in this case 2012, 2017
-
Use the following format for headers:
https://github.com/OCA/maintainer-tools/blob/master/template/module/__openerp__.py#L1-L3
Please do a |
b47ed0e
to
ac0e9d1
Compare
pingen/ir_attachment.py
Outdated
elif attachment.type == 'url': | ||
response = requests.get(attachment.url) | ||
if self.type == 'binary': | ||
decoded_document = self.datas |
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.
Can you explain why this should no longer be decoded? BTW the method name is _decoded_content
so it isn't consistent.
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 should be decoded. but not by base64.decodestring. that was the reason i got unreadable document.
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.
attachment_id not needed Pingen get_pingen_session fixed
643db4f
to
078832c
Compare
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
No description provided.