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

Accounting/Export source documents Project filter is NOT working. #30772

Closed
apple9004 opened this issue Aug 27, 2024 · 3 comments
Closed

Accounting/Export source documents Project filter is NOT working. #30772

apple9004 opened this issue Aug 27, 2024 · 3 comments
Assignees
Labels
Bug This is a bug (something does not work as expected)

Comments

@apple9004
Copy link

Bug

In the Export source documents at the Accouting menu.
When using the Project filter, the output is just Miscellaneous payment which is last one in the checked list.
image

I can get other lists when I use no filter.
image

Dolibarr Version

19.0.1

Environment PHP

8.2.7

Environment Database

MariaDB 11.0.2

Steps to reproduce the behavior and expected behavior

The source documents shoud be showed with Project filter

Attached files

No response

@apple9004 apple9004 added the Bug This is a bug (something does not work as expected) label Aug 27, 2024
@github-staff github-staff deleted a comment from apple9004 Aug 27, 2024
@aspangaro aspangaro self-assigned this Sep 1, 2024
@aspangaro
Copy link
Member

Hello,

Filter project is not considered for expenses report because this module work differently. Project is defined in line of the expenses report.

aspangaro added a commit to aspangaro/dolibarr that referenced this issue Sep 1, 2024
@apple9004
Copy link
Author

apple9004 commented Sep 2, 2024

Hello,

Filter project is not considered for expenses report because this module work differently. Project is defined in line of the expenses report.

I really thank you for your reply.

As you mentioned, "Project is defined in line of the expenses report." means that I have to check the project(or number) when I make an ER(Expense Report).

What I am confused is that this (left) menu is from "Export source documents" therefore, the main concept of this page the whole documents source are searched by the project (or its number).

without filter, which means no choice of a project is working correctly but with fiter, a project is selected, is not working as I wish. (I just can see the BQ part)

I thank you again for your intention.

@aspangaro
Copy link
Member

To summarize, at present, as long as a project is defined, all expense reports are excluded from document export. Why is this? Because the module works differently. With the patch I've proposed, this should correct the problem.

eldy pushed a commit that referenced this issue Sep 4, 2024
…es report don't work (#30824)

* FIX #30772 Accountancy document export - The project filter on expenses report don't work

* Add SUM() if several lines exist on an expense report
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

3 participants
@aspangaro @apple9004 and others