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

Typo on delete supplier invoice: files not deleted #16296

Closed
aschio opened this issue Feb 15, 2021 · 0 comments
Closed

Typo on delete supplier invoice: files not deleted #16296

aschio opened this issue Feb 15, 2021 · 0 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@aschio
Copy link
Contributor

aschio commented Feb 15, 2021

Bug

Supplier invoice files are not deleted during invoice delete

See into code:

  • method delete() class fournisseur.facture.class.php

parameter 'invoive_supplier' must be replaced by 'invoice_supplier'

see line:
$dir = $conf->fournisseur->facture->dir_output.'/'.get_exdir($this->id, 2, 0, 0, $this, 'invoive_supplier').$ref;

replace with:
$dir = $conf->fournisseur->facture->dir_output.'/'.get_exdir($this->id, 2, 0, 0, $this, 'invoice_supplier').$ref;

@aschio aschio added the Bug This is a bug (something does not work as expected) label Feb 15, 2021
eldy added a commit that referenced this issue Mar 2, 2021
@eldy eldy closed this as completed Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants