* Extra checks on backend
* Bug fix for adjustment forms
- Set default quantity of zero
* Additional unit testing (to ensure no regression)
(cherry picked from commit 5713cff1cb)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* [UI] Fix for PartTestResultTable
- Filter properly by part instance
* Add a simple unit test
* Tweak unit test
(cherry picked from commit e590522909)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Properly set location id when serializing stock
* Add correct tracking entries
* Add unit test
(cherry picked from commit a7ff1250ba)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Add helper func getOverviewUrl
* Redirect to parent page when stock item is counted to zero
(cherry picked from commit 468efbacfc)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Additional checks for virtual parts in sales order process
* Prevent allocation against virtual parts
* Fix order of operations
* Adjust part form fields based on selections
* Prevent order locking
* Updated playwright tests
* Add unit test
(cherry picked from commit 7b38fa30bb)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Bug fix for sales order pricing
- Clear sale price field if no pricing
* Adjust playwright tests
(cherry picked from commit d06d80fb99)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* [UI] Fix for form OPTIONS query
- Fetch OPTIONs each time form is opened
- Ensure default values are filled correctly
- Prevent issues with latching form state
* Add comment
* Add playwright test
- Check that the reference field increments properly
* Fix other Playwright tests
(cherry picked from commit 770f7a292e)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Fix for setting custom status
* Fix for setting custom status when receiving stock items
* Allow caching for set_status
* Updated code and unit tests
(cherry picked from commit aa9958bf11)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Remove debouncing from text field
* Add debounce to data import field
* Only apply for strings values
* Fix unit test
* More unit test tweaks
(cherry picked from commit ba9b5438b4)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
- Do not just cast to bool
- The string "False" casts to True in this case
- Use the function that supports strings
(cherry picked from commit 8cb808f613)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* Extract note field when receiving stock items against PO
* Fix tracking entry when receiving item
(cherry picked from commit f3c1cc12af)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* fix(backend): auth check middleware for specific media access (#10784)
* simplify
* fix return type
* handle token (app access)
* reduce lookup amount
* add positive test again
* add poisitive test
* move out settings
* add tests for Check2FAMiddleware
* add test for auth_request
* add a reverse name for auth_request
* auth tests refactors
* move test
* disable check for things that do not trigger
* fix typing for python 3.9
* make names clearer and add comments
* finish tests
* fix call
* re-enable mfa test without the timing component
* cleanup helper
* ignore easy out
* ignore scenario that can not happen
(cherry picked from commit f3e8482469)
* fix merge
* Return more detail in MFA failure response
* Reject auth requests for users who are inactive
* Move markdown config out of settings.py
(cherry picked from commit 901846272b)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
* New report functions:
- create_currency: Create a new Money object
- convert_currency: Convert from one currency to another
* docs
* More checking on report tags
* Better formatting of report errors
* Add unit tests
* Remove error message
* Fix pathing for docs
* Add type hints
* Adjust unit tests
Fixes#10701
The issue was that the table row key was using 'props.item.pk', but the
API returns 'id' instead. This caused React to not properly render the
rows with their values.
Changed the key to use 'props.item.id' with a fallback to 'props.idx'
for new rows that don't have an ID yet.
Signed-off-by: Akhil Singh <singhakhil69@gmail.com>
* add option to set leftMargin
* Add home tab and action button
* make home button actually go to home
* Add general info text
* Add dependeant quick action section
* Add Quickaction to home page
* use Carousel
* style check
* small fixes
* add permanent alerts to Admin Center Home
* also show inactive alerts
* fix order of alerts
* simplify attrs
* remove security section for now
* bring quick actions alive
* adjust text
* Use StylishText
* Make alert columns reactive
* Adjust text formatting
* Refactor <QuickActions />
- Use responsive grid instead of carousel
- Add icons
- Translate text
---------
Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com>
* bump vers
* fix ssl?
Added build dependencies for libbz2, libffi, and libssl.
* try empty buildpack
* clean up
* fix ref
* remove things we now do not need anymore
* add 22.04 as a target
* cleanup installer
* add changelog entry
* add dotenv
* update skript
* make task more robust for package usage
* ensure we have a site-url set
* fix style
* fix syntax