-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Supplier recurring invoice - impossible to attach a project #31135
Comments
Hi, The behavior you're expecting—attaching any open project to the recurring invoice template—doesn’t seem logical. The projects displayed should either be: This ensures that the projects linked to a supplier's invoice are relevant to the supplier's business and avoid any unrelated or private projects being attached by mistake. |
Thanks for your feedback @lamrani002 . I don't agree with you though. If I create a recurring supplier invoice for a product that I sell to a specific customer, I should be able to attach the project related to that customer. One can in any existing supplier invoice so why change the logic here then? Even though this might be debatable, what is not logic, is that the only project appearing in the drop-down are closed ones or ones that haven't a 3rd party assigned to them, so this still is a bug. If you insist in ensuring that:
then why is that possibility existing in an open or paid supplier invoice? The functioning of card.php and card-rec.php is not logic in that case IMHO and needs to be reviewed. WDYT @eldy ? |
You must also take into account this point: |
I don't think that is relevant here. The dropdown list in recurring invoices card-rec.php shows only projects that have no 3rd party attached and are either closed or open. The dropdown list in normal invoices card.php show only project in status open with or without 3rd party. So the current filter in card-rec.php is wrong and not usable. It would be good to have it follow the same logic as card.php for now before awaiting more drastic logic changes. |
I agree with @apio-sys , the current setup for the recurring vendor invoice is not practical. I struggle with the same.
Changing the filter is - from my perspective - crucial. We should update as suggested by @apio-sys. |
Bug
It is impossible to attach a project to a supplier recurring invoice (it works as expected attaching a project to a regular supplier invoice)
Dolibarr Version
19.0.3
Environment PHP
8.2.20
Environment Database
10.11.6-MariaDB-0+deb12u1 Debian 12
Steps to reproduce the behavior and expected behavior
Expected behaviour is to be able to attach any open project to the recurring invoice template just as one is able to do on a regular invoice (fourn/facture/card.php?action=classify)
Attached files
No response
The text was updated successfully, but these errors were encountered: