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

[9.0][MIG] account_invoice_import_invoice2data and dependencies: Migration to 9.0 #11

Closed

Conversation

hbrunn
Copy link
Member

@hbrunn hbrunn commented Dec 29, 2016

No description provided.

@hbrunn hbrunn added this to the 9.0 milestone Dec 29, 2016
@pedrobaeza pedrobaeza changed the title [ADD] migration of account_invoice_import_invoice2data and dependencies [9.0][MIG] account_invoice_import_invoice2data and dependencies: Migration to 9.0 Dec 29, 2016
@hbrunn hbrunn mentioned this pull request Dec 29, 2016
21 tasks
@pedrobaeza
Copy link
Member

Can you please check Travis?

@hbrunn
Copy link
Member Author

hbrunn commented Jan 5, 2017

this will stay red until OCA/partner-contact#364 is merged

@hbrunn
Copy link
Member Author

hbrunn commented Jan 5, 2017

and then OCA/community-data-files#20

@pedrobaeza
Copy link
Member

Ouch, I have launched rebuilds...

@pedrobaeza
Copy link
Member

I have merged all the dependencies, but Travis is still red. Please check.

@alexis-via
Copy link
Contributor

The field ean13 has been renamed ; code needs to be updated accordingly

@hbrunn hbrunn force-pushed the 9.0-account_invoice_import_invoice2data branch 6 times, most recently from de3b2e2 to d03bf73 Compare January 9, 2017 11:29
@hbrunn
Copy link
Member Author

hbrunn commented Jan 9, 2017

now it's only the lacking chart of accounts. Do we have a general solution for this or should every test create accounts as necessary?

Copy link
Member

@tarteo tarteo left a comment

Choose a reason for hiding this comment

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

Hi @hbrunn,

I've some small requests. Other than that LGTM.

In account_invoice_import:

To use this module, go to the menu Accounting > Suppliers > Import Invoices and upload a PDF or XML invoice of your supplier.

This menu item does not exists. I think it should be "Invoicing -> Purchases -> Import Invoice"

Can you move the models to the models directory (e.g. partner.py to models/partner.py), please?

In account_invoice_import_invoice2data:

French users should also install the module l10n_fr_invoice_import available in the French localization, cf this PR.

The hyperlink for "This PR" can be removed; it refers to a PR for version 8.0.

In base_business_document_import:
additionnal -> additional

@hbrunn
Copy link
Member Author

hbrunn commented Mar 1, 2017

I'll look into that next time I work on this. Will take a while I guess. Next time, please use github's review feature, this makes it a lot simpler to follow up on a review because then the comments are attached to the line of code the comment talks about

@tarteo
Copy link
Member

tarteo commented Mar 1, 2017

@hbrunn I agree, but I don't know how to review lines that are not changed. :(

@alexis-via
Copy link
Contributor

@tarteo I took into account your remarks on my PR for v10

@thomaspaulb
Copy link
Contributor

@tarteo Press the little button that looks like

image

and the file will expand.

@tarteo
Copy link
Member

tarteo commented May 3, 2017

@thomaspaulb I know that button. But when I expand the file contents I still cannot review the lines that aren't changed (the + button does not appear at the line).

@hbrunn
Copy link
Member Author

hbrunn commented May 8, 2017

@tarteo done

Copy link
Member

@tarteo tarteo left a comment

Choose a reason for hiding this comment

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

@hbrunn Thanks 👍

@hbrunn hbrunn force-pushed the 9.0-account_invoice_import_invoice2data branch from 0621e65 to 39ba10d Compare May 10, 2017 08:22
@hbrunn hbrunn force-pushed the 9.0-account_invoice_import_invoice2data branch from 1f19223 to ebc3d9f Compare May 10, 2017 15:01
@@ -24,6 +24,7 @@ addons:
# Search your packages here:
# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
- wkhtmltopdf # only add if needed and check the before_install section below
- poppler-utils # for invoice2data
Copy link
Member Author

Choose a reason for hiding this comment

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

@alexis-via I was doubting my sanity because for the life of me, I couldn't get the tests work. Then I got the suspicion that pdftotext parses the test invoice incorrectly, and that;s the case, see https://travis-ci.org/OCA/edi/jobs/230782037 - check the install phase, there I first print the output of standard pdftotext on travis, then the version you install. As you see, the total line is botched in the second version. I guess you needed the private version because back then travis had an ancient version only? Any objections to do it the way I propose? And I guess that's also the reason why this still runs on the sudo infrastructure, any objections to change this to the current OCA standard?

@coveralls
Copy link

Coverage Status

Coverage remained the same at 66.667% when pulling ebc3d9f on hbrunn:9.0-account_invoice_import_invoice2data into 1802e81 on OCA:9.0.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 66.667% when pulling ebc3d9f on hbrunn:9.0-account_invoice_import_invoice2data into 1802e81 on OCA:9.0.

@hbrunn
Copy link
Member Author

hbrunn commented May 10, 2017

@alexis-via @pedrobaeza it's green finally :-)

@hbrunn
Copy link
Member Author

hbrunn commented Jun 29, 2017

@alexis-via can we merge this?

@hbrunn
Copy link
Member Author

hbrunn commented Aug 31, 2017

@alexis-via can we merge in order to avoid duplicated efforts as in #23 ?

@github-actions
Copy link

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 Oct 24, 2021
@github-actions github-actions bot closed this Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review 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.

6 participants