Oliver Walters
42af52ee51
WIP
2021-08-24 22:31:13 +10:00
Oliver Walters
0d7eb6b72c
Style fixes
2021-08-24 22:25:25 +10:00
Oliver Walters
5275d3943b
Adds option to hide labels and help text
2021-08-24 22:13:07 +10:00
Oliver Walters
d87ab0033a
Add "afterRender" callback for modal forms
2021-08-24 22:05:00 +10:00
Oliver Walters
1360b1592d
Some convenience functions
2021-08-24 22:04:43 +10:00
Oliver Walters
e3605001e4
Simple function to render a thumbnail
2021-08-24 22:04:06 +10:00
Oliver
0073a77e16
Merge pull request #2008 from matmair/fix-for-1986
...
Fix for 1986
2021-08-24 14:13:50 +10:00
Oliver
36a0496dd7
Wrap search preview results in <a>
...
- Allows clicking with middle mouse (for e.g.) to open in new tab
2021-08-24 13:11:37 +10:00
Oliver
8fc79f45a3
Fix for "part" form fields
...
- Specify "default" rather than overriding "value"
2021-08-24 11:55:58 +10:00
Matthias
391bb0dbe4
disable ordering on loadStockTable
2021-08-23 22:14:51 +02:00
Matthias
4efcfbecaf
refactor stock.js columns into a variable
2021-08-23 22:07:20 +02:00
Oliver
5d4f35958d
Point table at the new read-only field
2021-08-23 21:45:32 +10:00
Matthias
d4efdf86e5
new settingsthe settings-page
2021-08-22 22:09:07 +02:00
Oliver Walters
174b7ba7f2
Fix for "new purchase order" button
2021-08-23 00:28:36 +10:00
Oliver Walters
449e0c0af2
Refactor button in first step of "order parts" wizard
...
- "new supplier part" button was broken
- Was linked to the old "launchModalForm" code
- Now calls createSupplierPart
2021-08-23 00:17:45 +10:00
Matthias
8fad704d76
disable ordering on stock
2021-08-20 22:53:25 +02:00
Matthias
5a59a37a89
disable ordering on category
2021-08-20 22:52:57 +02:00
Matthias
109b8c943e
disable ordering on part-name
2021-08-20 22:52:14 +02:00
Matthias
7533a9ac0c
disable ordering on IPN if fixed ordering
2021-08-20 22:51:36 +02:00
Guusggg
d8eefec065
Print multi part label ( #1963 )
...
* Added description as list for StockLocation
* Merge pull request #1874 from SchrodingersGat/docker-dev-fix
Copy static files when starting dev server
(cherry picked from commit 50eb70f538a0788a4e565db0b4a5775a2ee5bf78)
* Merge pull request #1877 from eeintech/fix_search_js
Fixed missing comma propagating to translated JS files
(cherry picked from commit 2009773d9dca7ee309e70e14bd9aa656b54843c9)
* Merge pull request #1890 from matmair/fix-for-1888
catch connection errors in exchange update
(cherry picked from commit db57e9516bbb53f008a970331b83939c7e007d57)
* Merge pull request #1887 from matmair/settings-safety
settings fixes
(cherry picked from commit d154ca08ea31f990b8de765cce211b362914afb2)
* 0.4.2
* Merge pull request #1894 from SchrodingersGat/non-int-serial-fix
Fix for non-integer serial numbers
(cherry picked from commit 529742b5203005d5d71921c1ee32cd1bc540af4d)
* 0.4.4
Bump release version
* Bump version number -> 0.4.5
* Added a simple menu item to print multiple part labels. This does not follow the style of the Stock label functions but it works!
* Revert "Added description as list for StockLocation"
This reverts commit f5178e9fc36b9c93dc764ceab0c8668ec97cc34a.
* Added the right version number
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2021-08-17 12:42:40 +10:00
Oliver
1998dabe9b
Small tweaks here and there
2021-08-15 21:47:37 +10:00
Oliver
cef09acd54
Partial reversion of some stuff
2021-08-15 12:05:53 +10:00
Oliver
faab1f2464
Provide global_settings and user_settings as context objects
...
- Adds a new context middleware
- Refactor the way that settings are provided to the javascript layer
2021-08-15 11:57:05 +10:00
Oliver
28bccea57b
Cleanup
2021-08-14 13:43:38 +10:00
Oliver
f753e11f10
Improve error notification for modal forms
...
- Scroll to error
- Add red border and background to the form
2021-08-14 13:41:19 +10:00
Oliver
f72eb4266a
remove old debug message
2021-08-14 12:31:22 +10:00
Oliver
6eb4709658
Adds initial stock quantity
2021-08-14 10:23:42 +10:00
Oliver Walters
2be9399d2c
CSS style fixes
2021-08-14 01:15:43 +10:00
Oliver Walters
ad844c4393
Simplify rendering of checkboxes in forms
...
- Display "inline" so they take up much less vertical space
2021-08-14 01:05:06 +10:00
Oliver Walters
6218f1c7e6
Add form elements for initializing a part with supplier data
2021-08-14 00:26:22 +10:00
Oliver Walters
5cbb67b91c
Add options to show / hide form groups
2021-08-14 00:20:34 +10:00
Oliver Walters
cb11df4dba
Improve error checking for initial stock creation when creating a new part
...
- Use @transaction.atomic
- Raise proper field errors
2021-08-14 00:09:08 +10:00
Oliver Walters
1396c349c8
Refactor form field definition copying
2021-08-14 00:08:26 +10:00
Oliver Walters
5b42ab7332
Add "groups" to API forms
2021-08-13 21:48:48 +10:00
eeintech
91e314ddb5
Only connect ManufacturerPart if a. it exists b. SupplierPart is not yet connected
2021-08-11 17:08:46 -04:00
Oliver
2cf7592198
Merge pull request #1941 from SchrodingersGat/lazy-loading
...
Adds one-shot function when a panel is displayed
2021-08-11 00:29:06 +10:00
Oliver
68282c93f4
Start API calls before the panel has finished loading
2021-08-11 00:12:48 +10:00
Oliver
a1922bff81
Adds one-shot function when a panel is displayed
2021-08-11 00:09:01 +10:00
Oliver
b94104f7ab
Merge pull request #1940 from SchrodingersGat/stock-table-fix
...
Bug fix for stock table
2021-08-10 23:52:55 +10:00
Oliver
535c36b75e
Bug fix for stock table
...
- Use the provided table name, rather than hard-coded value
(cherry picked from commit b3a52dd6c65a83f2f330c0275b443e9acbcbdf73)
2021-08-10 23:31:20 +10:00
Oliver
4c8eaf3942
Bug fix for stock transfer form
2021-08-10 23:23:02 +10:00
Oliver
c32b6b2272
Hide the "part" field when editing manufacturer part and supplier part objects
2021-08-10 11:01:17 +10:00
Matthias
ad656b7ca7
extending API to supply price wihtout formatting
2021-08-09 01:49:55 +02:00
Matthias
c58ed5a07e
Fixes #1915
2021-08-09 01:43:50 +02:00
Oliver Walters
e3efd12184
secondary for purcahse order
2021-08-08 00:50:59 +10:00
Oliver Walters
52ba2201b2
secondary for creating sales order customers
2021-08-08 00:49:16 +10:00
Oliver Walters
4e6c8c45ee
secondary modal for part form
2021-08-08 00:44:46 +10:00
Oliver Walters
1dc5682767
bug fix
2021-08-08 00:44:30 +10:00
Oliver Walters
720b332f71
Adds secondary to manufacturerpart form
2021-08-07 23:49:50 +10:00
Oliver Walters
94c1ed882f
Add secondary field options for "Create Supplier Part" form
...
- Supplier
- Manufacturer Part
2021-08-07 23:42:42 +10:00