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

[12.0] Can't install module account_e-invoice_generate #175

Closed
Saran440 opened this issue Feb 25, 2020 · 7 comments
Closed

[12.0] Can't install module account_e-invoice_generate #175

Saran440 opened this issue Feb 25, 2020 · 7 comments

Comments

@Saran440
Copy link
Member

Saran440 commented Feb 25, 2020

Hello,

I create new database and install module account_e-invoice_generate
Error message :
Modules "Account e-invoice Generate" and "Import Vendor Bills From XML" are incompatible.
Selection_004

What am I mistake?

Thank you.

@astirpe
Copy link
Member

astirpe commented Feb 25, 2020

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.

@Saran440
Copy link
Member Author

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

@Saran440
Copy link
Member Author

Saran440 commented Feb 25, 2020

@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?

@Saran440 Saran440 reopened this Feb 25, 2020
@astirpe
Copy link
Member

astirpe commented Feb 25, 2020

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.

@alexis-via
Copy link
Contributor

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.

@yucer
Copy link

yucer commented Mar 17, 2020

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.

@yucer
Copy link

yucer commented Mar 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants