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

[10.0] Pingen migration #114

Closed
wants to merge 5 commits into from

Conversation

abaghirli
Copy link

No description provided.

# Author: Guewen Baconnier
# Copyright 2012 Camptocamp SA
# Author: Anar Baghirli
# Copyright 2017 Camptocamp SA
Copy link
Member

Choose a reason for hiding this comment

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

  1. 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.

  2. Dates shouldn't be erased, it should list the years of edition in this case 2012, 2017

  3. Use the following format for headers:
    https://github.com/OCA/maintainer-tools/blob/master/template/module/__openerp__.py#L1-L3

@yvaucher
Copy link
Member

Please do a git rebase -i to clean up the commits

elif attachment.type == 'url':
response = requests.get(attachment.url)
if self.type == 'binary':
decoded_document = self.datas
Copy link
Member

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.

Copy link
Author

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.

Copy link
Author

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
@yvaucher yvaucher changed the title Pingen migration to v 10.0 BSIN7-219 [10.0] Pingen migration Nov 28, 2017
@grindtildeath grindtildeath mentioned this pull request Jan 11, 2018
@max3903 max3903 added this to the 10.0 milestone Jun 12, 2018
@github-actions
Copy link

github-actions bot commented Nov 7, 2021

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Nov 7, 2021
@github-actions github-actions bot closed this Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants