Commit Graph
100 Commits
Author SHA1 Message Date
aacf35ed47 Improve sorting of part column for BOM table (#5386) (#5387)
(cherry picked from commit c39ae80a13)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-08-02 17:43:08 +10:00
ca986cba01 Fix auto-allocation of build outputs (#5378) (#5379)
- Creation of BuildItem objects was using old model references

(cherry picked from commit 668dab4175)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-08-01 11:26:10 +10:00
699fb83dd4 Fix SSO check comparing id against name and extend log output (#5340) (#5377)
* add error log on SSO check failure

* sso_check_provider: fix by comparing against id

the name is the pretty printed version which not necessarily is the same
as the provider id it is compared against. This fails e.g. for the
microsoft allauth extension where the id is microsoft, but the name is
"Microsoft Graph".

Closes: #5330
(cherry picked from commit ee5416719f)

Co-authored-by: Hendrik v. Raven <hendrik@consetetur.de>
2023-08-01 10:39:46 +10:00
1f3a49b1ae Fix for migration - updating from old version (#5372) (#5373)
(cherry picked from commit 90383ccb53)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-31 12:43:20 +10:00
385e7cb478 Return 404 on API requests other than GET (#5365) (#5366)
- Other request methods need love too!

(cherry picked from commit 59ffdcaa19)
(cherry picked from commit b89a120f9e)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-28 22:14:55 +10:00
73768bfee1 Handle purchase price export for .xls files (#5362) (#5363)
(cherry picked from commit 87da286f2f)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-28 15:36:34 +10:00
946fe2df29 Handle errors when printing reports (#5360) (#5361)
- Re-throw as a ValidationError
- Results in a 400 error, not a 500

(cherry picked from commit 5f3d3b28b3)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-28 14:23:43 +10:00
afa7ed873f Exclude some common fields from django-import-export (#5349) (#5351)
- Add "get_fields()" method to InvenTreeResource
- Override default behaviour and exclude some common fields
- Will flow down to any inheriting classes

(cherry picked from commit 941451203a)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-26 17:22:21 +10:00
46da332afe Allow duplicate BOM items when duplicating a part (#5347) (#5350)
(cherry picked from commit 6660508326)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-26 16:54:20 +10:00
1d51b2a058 Email config fix (#5336) (#5338)
* Change for DEFAULT_FROM_EMAIL

- Use USERNAME if not specified

(cherry picked from commit 487ac917c90e9fe3da4effaa9326b707ceecd321)

* Email configuration fails if DEFAULT_FROM_EMAIL not set

(cherry picked from commit 01e573c3a2702e7c21ed13b0cb44280c89d3dee1)

* Docs update

(cherry picked from commit bfedb9cf87)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-25 11:45:17 +10:00
08f9bebdf0 Fix admin url to point to right model (#5319) (#5321)
(cherry picked from commit 9b377ccfbf)

Co-authored-by: Marcel Pörner <me@nerade.de>
2023-07-23 22:38:27 +10:00
6d6629f11c Stock installed table fix (#5305) (#5306)
* Prevent installed items from being hidden

* Fix parent / child relationship

(cherry picked from commit f70294b247)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-21 23:57:00 +10:00
db88fbda11 Fix company index page title (#5288) (#5291)
(cherry picked from commit 3baa640d70)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-20 10:07:39 +10:00
49c9b5b1aa Docker build: Update python deps (#5270) (#5271)
* Update python deps

* Update requirements.in

* Fix requirements-dev.txt

(cherry picked from commit b717011f06)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-18 20:11:29 +10:00
e1a0e79ead Fix settings function callback (#5259) (#5262)
* fix settings function callback

* merge instance filters and passed keys

(cherry picked from commit df77305d60)

Co-authored-by: Matthias Mair <code@mjmair.com>
2023-07-17 20:23:44 +10:00
ab22f2a04d Fix language code for pt-br (#5256) (#5257)
- Has to be lowercase in settings.py to work correctly

(cherry picked from commit 20b59c3575)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-16 19:37:27 +10:00
8a58bf5ffa Only update theme if value provided (#5240) (#5241)
- Handles case where null or invalid value provided

(cherry picked from commit 41167f22c9)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-13 20:39:28 +10:00
93b44ad8e6 fix typo (#5236) (#5237)
(cherry picked from commit bd1689095d)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-13 11:03:28 +10:00
9b5e828b87 Protected settings fix (#5229) (#5231)
* Hide protected setting in settings view

* Implement custom serializer for setting value

- Return '***' if the setting is protected

* Implement to_internal_value

* Stringify

* Add protected setting to sample plugin

* Unit tests for plugin settings API

* Update unit test

(cherry picked from commit 01f2aa5f74)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-12 16:31:28 +10:00
cf5d637678 Add missing callback for attachment delete button (#5219) (#5220)
(cherry picked from commit b3dcc28bd9)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-11 11:30:57 +10:00
feb2acf668 Fix link to SalesOrder in stock history table (#5210) (#5211)
(cherry picked from commit 8fb7612894)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-10 13:23:09 +10:00
4c41a50bb1 Fix allocation check for completing build order (#5199) (#5200)
- Allocation check only applies to untracked line items

(cherry picked from commit 1f81daadf6)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-07 13:48:18 +10:00
eab3fdcf2c Fix quantity aggregation for stock table (#5188) (#5190)
* Fix quantity aggregation for stock table

- Stock quantity can only be added together if units are the same

* Add stock total footer to part table

(cherry picked from commit 773dd3b210)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-06 12:55:22 +10:00
c59eee7359 Param fix (#5183) (#5184)
* Handle AttributeError in convert_physical_value

* Added new unit test

(cherry picked from commit 9abcc0ec34)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-06 11:11:27 +10:00
4a5ebf8f01 Handle exception when creating default labels (#5163) (#5166)
* Handle exception when creating default labels

- Running workers in parallel may cause race conditions
- Catch any exception which is raised

* Prevent password from being logged

* Update default timeout for docker

(cherry picked from commit 8b730884d7)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-04 22:54:21 +10:00
698798fee7 Order table improvements (#5151) (#5152)
- prevent "double loading" of order tables

(cherry picked from commit 17c2070503)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-04 16:23:43 +10:00
2660889879 Rendering fix for build allocation table (#5145) (#5149)
- Fix link to part
- Fix link to stock item

(cherry picked from commit 5f61b5f120)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-07-04 13:40:40 +10:00
01aaf95a0e fix: add missing build model property (#5127) (#5132)
* fix: add missing virtual build property

* chore: improve docstring

(cherry picked from commit 2e7c86ff92)

Co-authored-by: Mark Oude Elberink <mark@oude-elberink.de>
2023-07-03 10:04:02 +10:00
github-actions[bot] cfce9c6b73 updated translation base 2021-09-12 13:15:43 +00:00
github-actions[bot] de9b53cc0f updated translation base 2021-09-12 12:29:48 +00:00
github-actions[bot] 3f172c24ef updated translation base 2021-09-08 04:34:30 +00:00
github-actions[bot] 52793856c2 updated translation base 2021-09-08 03:30:27 +00:00
github-actions[bot] d02f7f7441 updated translation base 2021-09-08 02:53:31 +00:00
github-actions[bot] 19526f37b6 updated translation base 2021-09-07 22:49:35 +00:00
github-actions[bot] 3f9fd04997 updated translation base 2021-09-07 13:58:29 +00:00
github-actions[bot] d03edf70b5 updated translation base 2021-09-07 12:53:29 +00:00
github-actions[bot] 60df5a9b09 updated translation base 2021-09-05 23:44:25 +00:00
github-actions[bot] bc4b6e186b updated translation base 2021-09-03 23:44:26 +00:00
github-actions[bot] 08cea7a2f3 updated translation base 2021-09-03 13:36:41 +00:00
github-actions[bot] 5f1e544c72 updated translation base 2021-09-02 01:39:25 +00:00
github-actions[bot] 062a3e78bb updated translation base 2021-09-01 22:49:28 +00:00
github-actions[bot] 4ac1765937 updated translation base 2021-09-01 21:11:52 +00:00
github-actions[bot] 089d9a3987 updated translation base 2021-08-26 13:13:19 +00:00
github-actions[bot] 17eca19ca6 updated translation base 2021-08-26 12:14:33 +00:00
github-actions[bot] 5201c703f0 updated translation base 2021-08-26 12:13:43 +00:00
github-actions[bot] b0b7991689 updated translation base 2021-08-26 12:07:24 +00:00
github-actions[bot] fe23d498cd updated translation base 2021-08-25 21:03:49 +00:00
github-actions[bot] 9ad9dead23 updated translation base 2021-08-25 05:07:03 +00:00
github-actions[bot] 5b7596a8fa updated translation base 2021-08-24 12:31:39 +00:00
github-actions[bot] 812f051e31 updated translation base 2021-08-24 12:30:40 +00:00
github-actions[bot] 3b387f17d2 updated translation base 2021-08-24 12:28:10 +00:00
github-actions[bot] 8228878777 updated translation base 2021-08-24 04:15:22 +00:00
github-actions[bot] c584b5c9a8 updated translation base 2021-08-24 03:49:26 +00:00
github-actions[bot] 91bad5a6ae updated translation base 2021-08-24 02:11:31 +00:00
github-actions[bot] 5bcfac69ff updated translation base 2021-08-24 02:04:28 +00:00
github-actions[bot] 47da596ee1 updated translation base 2021-08-23 22:14:33 +00:00
github-actions[bot] e4c46daf73 updated translation base 2021-08-23 12:55:42 +00:00
github-actions[bot] 263bab469c updated translation base 2021-08-23 10:31:03 +00:00
github-actions[bot] c4d7d295a3 updated translation base 2021-08-23 01:08:45 +00:00
github-actions[bot] 91651fea4d updated translation base 2021-08-22 23:12:03 +00:00
github-actions[bot] b895cb570b updated translation base 2021-08-22 22:39:26 +00:00
github-actions[bot] b9e314b43c updated translation base 2021-08-22 14:50:53 +00:00
github-actions[bot] 58e98b4b2f updated translation base 2021-08-22 14:13:12 +00:00
github-actions[bot] 0a979bc78c updated translation base 2021-08-22 13:48:58 +00:00
github-actions[bot] a06d0b532d updated translation base 2021-08-21 22:21:40 +00:00
github-actions[bot] fc62985275 updated translation base 2021-08-19 23:03:52 +00:00
github-actions[bot] a996eceaa2 updated translation base 2021-08-19 23:02:34 +00:00
github-actions[bot] 7f502a6ef2 updated translation base 2021-08-19 21:48:57 +00:00
github-actions[bot] f60d7887c2 updated translation base 2021-08-19 06:54:51 +00:00
github-actions[bot] 13797f8abe updated translation base 2021-08-19 02:13:57 +00:00
github-actions[bot] ddc97a6dc9 updated translation base 2021-08-17 11:19:28 +00:00
github-actions[bot] 08dcff4b18 updated translation base 2021-08-17 09:54:21 +00:00
github-actions[bot] 4b54530856 updated translation base 2021-08-17 02:43:57 +00:00
github-actions[bot] d2eefe6a01 updated translation base 2021-08-17 00:01:03 +00:00
github-actions[bot] 51114871d2 updated translation base 2021-08-16 01:15:55 +00:00
github-actions[bot] 5fa6b533ee updated translation base 2021-08-15 12:12:09 +00:00
github-actions[bot] 8a1b5aca21 updated translation base 2021-08-15 02:58:55 +00:00
github-actions[bot] 872a699846 updated translation base 2021-08-14 03:58:17 +00:00
github-actions[bot] 7c65c4a47b updated translation base 2021-08-14 02:13:23 +00:00
github-actions[bot] 4b7eb7754f updated translation base 2021-08-12 23:32:40 +00:00
github-actions[bot] c4b514a539 updated translation base 2021-08-12 23:07:52 +00:00
github-actions[bot] 2356fd7a56 updated translation base 2021-08-12 12:36:12 +00:00
github-actions[bot] 7d65ad9b64 updated translation base 2021-08-12 06:07:27 +00:00
github-actions[bot] 49c1c1ee55 updated translation base 2021-08-11 23:16:55 +00:00
github-actions[bot] 55a0da8cbf updated translation base 2021-08-10 14:30:49 +00:00
github-actions[bot] 82257d5e31 updated translation base 2021-08-10 13:54:17 +00:00
github-actions[bot] 42edbf4cfd updated translation base 2021-08-10 13:40:51 +00:00
github-actions[bot] a79021244e updated translation base 2021-08-10 13:25:21 +00:00
github-actions[bot] 9c56e119dd updated translation base 2021-08-10 05:18:03 +00:00
github-actions[bot] 6b26684c3c updated translation base 2021-08-10 01:19:36 +00:00
github-actions[bot] 275b22f7b1 updated translation base 2021-08-10 01:06:44 +00:00
github-actions[bot] 81239e3f93 updated translation base 2021-08-09 23:13:01 +00:00
github-actions[bot] c04283e061 updated translation base 2021-08-09 22:25:06 +00:00
github-actions[bot] 5a8785d5cc updated translation base 2021-08-09 11:43:32 +00:00
github-actions[bot] d4513801f9 updated translation base 2021-08-09 06:20:40 +00:00
github-actions[bot] dbaf28a36d updated translation base 2021-08-09 04:51:21 +00:00
github-actions[bot] 26105df069 updated translation base 2021-08-08 23:46:12 +00:00
github-actions[bot] ac8be1ae90 updated translation base 2021-08-07 15:15:05 +00:00
github-actions[bot] 76df227492 updated translation base 2021-08-07 14:08:22 +00:00
github-actions[bot] 4e1ff13e80 updated translation base 2021-08-07 12:51:20 +00:00