Giter Site home page Giter Site logo

[Question] Import company invoices about edi HOT 6 CLOSED

oca avatar oca commented on July 26, 2024
[Question] Import company invoices

from edi.

Comments (6)

alexis-via avatar alexis-via commented on July 26, 2024

This is currently not possible, because the module account_invoice_import only creates supplier invoices, and you want to create customer invoices. But with some modifications it could be possible.

from edi.

booo avatar booo commented on July 26, 2024

Do you have some hints on what needs some modifications?

from edi.

booo avatar booo commented on July 26, 2024

Do you think it's enough to set the invoice type to 'invoice_out' after I imported the invoice as supplier invoice to transform it to a customer invoice?

from edi.

alexis-via avatar alexis-via commented on July 26, 2024

@booo it should work well now with my branch akretion/10-factur-x
You have an example that create a customer invoice in account_invoice_import/tests/test_invoice_import.py, method test_import_out_invoice(). It only works with "nline" invoice import methods.

from edi.

alexis-via avatar alexis-via commented on July 26, 2024

@booo Are you happy with the implementation I made in my branch, cf my PR #22 I did that for you, so I'd be glad to get your feedback.

from edi.

booo avatar booo commented on July 26, 2024

Thanks for all your work! I will try to take a closer look as soon as possible but I'm right now covered in other projects :/

In the meantime I implemented a "simple" and hackie solution with invoice2data and the xml api. I will try to post the code later on.

from edi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.