Commit Graph

13472 Commits

Author SHA1 Message Date
Matthias
f35d618b6b
refactor import export tests 2022-05-27 23:36:14 +02:00
Matthias
4ffad66191
revert back to simple wheel 2022-05-27 23:35:21 +02:00
Matthias
d37f66f17c
switch to install 2022-05-27 23:22:26 +02:00
Matthias
0b01b45d7b
install wheel by python 2022-05-27 23:18:57 +02:00
Matthias
94e8dd3af2
no relative paths 2022-05-27 23:14:16 +02:00
Matthias
d129eb6610
fix boolean 2022-05-27 23:12:36 +02:00
Matthias
b120a297c5
make code cleaner 2022-05-27 23:03:20 +02:00
Matthias
11ffd41745
update input checks 2022-05-27 22:44:52 +02:00
Matthias
38ac32825f
remove os from cache 2022-05-27 22:38:38 +02:00
Matthias
7aa983cb0c
add bash statements 2022-05-27 22:36:49 +02:00
Matthias
fdaaf7ecf4
resturcture 2022-05-27 22:33:59 +02:00
Matthias
f5f7b36926
switch to action 2022-05-27 22:30:35 +02:00
Matthias
550a2480b5
update reference 2022-05-27 22:11:47 +02:00
Matthias
deb361f70c
refactor setup into workflow 2022-05-27 22:08:55 +02:00
Matthias
a379813711
do not fail on docstring 2022-05-27 22:06:36 +02:00
Matthias
6bca3762c9
update flake call 2022-05-27 21:57:41 +02:00
Matthias
80d0d38350
Add seperate docstring test 2022-05-27 21:29:15 +02:00
Matthias
13c6b29bb3
ignore docstyle errors 2022-05-27 21:28:11 +02:00
Matthias
0dfa39ecea
Github can't do this right now 2022-05-27 21:16:31 +02:00
Matthias
5c3669aa00
use matrix for os 2022-05-27 21:03:08 +02:00
Matthias
3a7732003e
remove incidential change 2022-05-27 20:44:23 +02:00
Matthias
0dd8f02506
fix references 2022-05-27 20:43:31 +02:00
Matthias
31575a03c1
fix runner version 2022-05-27 20:39:53 +02:00
Matthias
0bbe8586bf
refactor names to be similar 2022-05-27 20:36:41 +02:00
Matthias
e56a75e255
use python3 2022-05-27 20:33:02 +02:00
Matthias
1eb291555b
make setup actions more similar 2022-05-27 20:31:59 +02:00
Matthias
e5f6fcf6bd
Use invoke instead of static references 2022-05-27 20:24:03 +02:00
Matthias
d3011e8127
just use full update 2022-05-27 20:22:02 +02:00
Matthias
7aea8894a0
move regular settings up into general envs 2022-05-27 20:16:36 +02:00
Matthias
7d27f0842b
use step and cache for python setup 2022-05-27 20:12:31 +02:00
Matthias
ca0cba36c2
Use the same code for python setup everywhere 2022-05-27 20:10:51 +02:00
Matthias
9dd77858fd
make template matching simpler 2022-05-27 20:05:40 +02:00
Matthias
a836a1b5a0
also wait on precommit 2022-05-27 20:02:35 +02:00
Matthias
aced415802
rename pipeline steps 2022-05-27 20:01:33 +02:00
Matthias
793009215c
fix style errors 2022-05-27 19:54:44 +02:00
Matthias
4a8e4b0bfb
Add locales to excludes 2022-05-27 19:49:24 +02:00
Matthias
773a162179
exclude static 2022-05-27 19:06:08 +02:00
Matthias
d48500dbb5
Add pre-commit to the stack 2022-05-27 18:52:34 +02:00
Oliver
09a4fab0d6
Adds 'quarantine' code for StockItemStatus (#3084)
* Adds 'quarantine' code for StockItemStatus

- Marks item as "unavailable"
- Removes unused code from StockItemStatus class

* Add migration file
2022-05-27 15:12:15 +10:00
Oliver
6c7a80c141
Check user permissions before performing search (#3083)
* Check user permissions before performing search

* JS linting
2022-05-27 13:26:45 +10:00
Oliver
640a5d0f24
Improve error management for order price calculation (#3075)
* Improve error management for order price calculation

- If there are missing exchange rates, it throws an error
- Very much an edge case

* Style fixes

* Add warning message if total order price cannot be calculated

* price -> cost
2022-05-27 13:26:37 +10:00
Matthias Mair
dcffd9a3cf
Add codeowners (#3079)
* Add codeowners

* use direct user handles
2022-05-27 11:04:40 +10:00
Oliver
d1c92a9eda
Update version.py
Fix typo?
2022-05-26 18:24:01 +10:00
Oliver
7ccc8ad10d
Update version.py
Bump version number to indicate dev candidate for 0.8.0
2022-05-26 18:23:43 +10:00
Oliver
643df4761d
Enable 'tree view' for build order table (#3070)
* Enable 'tree view' for build order table

* Ensure we pass locale code to the build table

* Adjust button class based on current context

* Fix display of 'child builds' table on build page

* Force a rebuild of the entire table when the filters are refreshed

* Refactor PurchaseOrder table also

* Refactor existing SalesOrder table also

* JS linting
2022-05-26 15:41:53 +10:00
Oliver
2d1776a151
Refactor 'DeleteManufacturerPart' form (#3067)
* Refactor 'DeleteManufacturerPart' form

- Remove duplicated forms
- Update style to match other forms
- Block on each deletion before progressing to the next one

* PEP fix

* Adds deleteSupplierParts function

* Refactor all instances of supplier part deletion

* Refactor tractor : use convenience function for bootstraptable.getSelections

* Add deleter for manufacturerpartparameter.

Refactor existing code into a single function

* Refactor deletion for stock items

* JS linting
2022-05-25 23:35:53 +10:00
Oliver
0e9ea1be0c
Update CONTRIBUTING.md 2022-05-25 19:58:14 +10:00
Oliver
2378073c61
SalesOrderShipment improvements (#3058)
* Adds two new fields to SalesOrderShipment model:

- Invoice number (char)
- Link (URL)

* Bump API version

* Update API / serializer / JS

- Allow entry of new fields at time of shipping

* PEP fixes

* Actually fix the PEP issues

* Unit testing: check some more fields
2022-05-25 11:00:19 +10:00
Oliver
063375557f
L10 crowdin (#3063)
* updated translation base

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-24 20:29:17 +10:00
Oliver
ea9f2f81f1
Stock available (#3057)
* Fix display of stock labels

- If 'shipped' or 'installed', don't display 'allocated' flag

* Switch stock item data around

* Add 'available' and 'allocation' information to the StockItem detail page

- Cache some context data to the view renderer

* Stock table now also displays allocation informatoin
2022-05-24 15:35:04 +10:00