Repository navigation
Report merge - #9532
Report merge#9532
Conversation
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This reverts commit 00d80ba.
|
As the API schema is changed you will also need to change the API version - see https://docs.inventree.org/en/stable/develop/contributing/#api-versioning Let me know if you want more detailed pointers |
Is it just simply updating "src/backend/InvenTree/InvenTree/api_version.py" by bumping up the version and add a new line to INVENTREE_API_TEXT? |
|
Yes; Just copy the latest entry and adjust to fit this PR (especially the url) |
|
@tristanle22 a great start here :) Please begin by addressing the issues raised by @matmair |
|
Looks pretty good now; it mainly is missing the migration I mentioned above and a bit of unit-testing to ensure your changes continue to work in the future; |
|
@matmair For migration, there are some new Python files generated in |
|
Both correct @tristanle22 |
|
Is there a way to run |
|
In your case invoke dev.test -r report.tests |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9532 +/- ##
==========================================
+ Coverage 86.56% 86.57% +0.01%
==========================================
Files 1242 1243 +1
Lines 54698 54752 +54
Branches 2234 2234
==========================================
+ Hits 47348 47402 +54
Misses 6782 6782
Partials 568 568
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@SchrodingersGat I have resolved the conflicts |
DocumentationThe "merge" feature needs some clearer documentation in the "report" page ( In particular, the difference in terminology in the report template, e.g. use FunctionalityOn testing, it appears to work as expected, nice! |
I have a section in |
|
I would still like to see some more obvious callout from the main |
|
@tristanle22 if you can address the documentation, resolve conflicts and look at the failing tests, I'd love to see this merged! |
|
Sorry, I've been occupied lately. Will try to resolve the last two items. |
|
All failing tests are because of the same error: @SchrodingersGat Do you have any suggestion? |
It should not be |
It has to be |
|
Ah, ok so the "response" object provides the path to the file on the web server - NOT where the file resides on disk. So, the inventree server provides the output at On disk, it will be somewhere like So, take the response path, strip the |
|
@tristanle22 thanks for implementing this, it's a great addition! Very nice work :) |
|
Thanks @SchrodingersGat and @matmair for all the help! :) |

Allow generation of a signle report PDF when multiple items are selected.
Closes #9423