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

Incorrect 'ventilation' code on invoice line #29515

Open
clCglAvt opened this issue Apr 28, 2024 · 1 comment
Open

Incorrect 'ventilation' code on invoice line #29515

clCglAvt opened this issue Apr 28, 2024 · 1 comment
Labels
Bug This is a bug (something does not work as expected)

Comments

@clCglAvt
Copy link

Bug

There is an error in the Dolibarr code of V17.
In the InvoiceLigne class, the breakdown code (en français e code de ventilation) is in the var $fk_code_ventilation property (facture.class - line 5791).
In the add_line method, the property affected by the $ventil argument is named $this->line->ventil (invoice.class - line 3776)
Good coding is
$this->line->fk_code_ventilation = $ventil

Dolibarr Version

V17.0.3

Environment PHP

PHP 7.3.33

Environment Database

Mysql 8 en prod, MySQL or MariaDB 5.5.5-10.6.5-MariaDB en dev

Steps to reproduce the behavior and expected behavior

No response

Attached files

No response

@clCglAvt clCglAvt added the Bug This is a bug (something does not work as expected) label Apr 28, 2024
@clCglAvt clCglAvt changed the title Incorrect distribution code on invoice line Incorrect 'ventilation' code on invoice line Apr 28, 2024
@JonBendtsen
Copy link
Contributor

@clCglAvt Dolibarr 19.0.1 was released March 17 2024

https://github.com/Dolibarr/dolibarr/blob/19.0.1/ChangeLog

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