Giter Site home page Giter Site logo

Comments (7)

astirpe avatar astirpe commented on July 26, 2024 1

It's because module account_e-invoice_generate cannot be installed when standard module account_facturx is already installed. See https://github.com/OCA/edi/blob/12.0/account_e-invoice_generate/__manifest__.py#L15

You should uninstall account_facturx first.

from edi.

yucer avatar yucer commented on July 26, 2024 1

@astirpe Sorry for reopen.
I test this issue again by new database. it's error, when database is not install module account_facturx before.

Step to error :

1. Create new database (with demo data)

2. Install module `account_e-invoice_generate`

But when I install module account_facturx and uninstall, After that I can install module account_e-invoice_generate.
Is it step normal?

That is because the module account_facturx is installed by default in a new database (autoinstall: True)

The first time you create the database you need to uninstall it.

from edi.

Saran440 avatar Saran440 commented on July 26, 2024

@astirpe Ahh, I see. Thank you very much :)

from edi.

Saran440 avatar Saran440 commented on July 26, 2024

@astirpe Sorry for reopen.
I test this issue again by new database. it's error, when database is not install module account_facturx before.

Step to error :

  1. Create new database (with demo data)
  2. Install module account_e-invoice_generate

But when I install module account_facturx and uninstall, After that I can install module account_e-invoice_generate.
Is it step normal?

from edi.

astirpe avatar astirpe commented on July 26, 2024

I agree with you that it's not a nice behavior.
On the other hand, this is the way the 'excludes': ['account_facturx'] line is supposed to work.

I think @alexis-via had good reasons for making that change, let's see if he wants to add any comments on this.

from edi.

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

I made the change recently in this PR #169
With this change, the PDF attachment of the invoice is stored with the XML data; if attachment_use is True, when you print the invoice again, it will NOT regenerate the XML, it will give you the original PDF file with the original XML attachment.
Unfortunately, it was not possible to implement that without removing the module account_facturx of Odoo SA.

from edi.

yucer avatar yucer commented on July 26, 2024

Hello @alexis-via , but you are not using runbot or the unit tests for those PRs right ?

That change was merged without tests ? Is this problem with account_facturx the reason for that ?

I guess that some kind of exclusion should be done for the module account_facturx, because it is marked as autoinstall by Odoo.

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.