mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-15 03:35:28 +00:00
New barcode actions (#218)
* Bump release notes * Adds method for linking custom barcodes * Custom getter method for determining if an item has barcode data * Add method to check if the API supports "modern" barcodes * Refactor custom barcode implementation for StockItem - Needs testing * Unit testing for linking and unlinking barcodes * Fixes * Refactor code for "custom barcode action" tile * Add custom barcode action to StockLocation * Add extra debug to debug the debugging * Unit test fix * Change scope I guess? * remove handler test
This commit is contained in:
@ -17,7 +17,10 @@ List<String> debug_messages = [];
|
||||
|
||||
void clearDebugMessage() => debug_messages.clear();
|
||||
|
||||
int debugMessageCount() => debug_messages.length;
|
||||
int debugMessageCount() {
|
||||
print("Debug Messages: ${debug_messages.length}");
|
||||
return debug_messages.length;
|
||||
}
|
||||
|
||||
// Check if the debug log contains a given message
|
||||
bool debugContains(String msg, {bool raiseAssert = true}) {
|
||||
|
Reference in New Issue
Block a user