14 Commits
Author SHA1 Message Date
nwnsandGitHub ce0af287f2 chore: don't confuse type checker by fetching after the if (#3344) 2022-07-18 08:15:52 +10:00
Nigel bbe14690f1 fix: use default storage backend for Maint Mode 2022-02-02 08:37:43 -07:00
Nigel a9f584cb65 fix: swallow Serialization failure
We can swallow the serialization exception because there is a scheduled
task that will update these later anyway.

Fixes #2241
2021-12-05 09:24:57 -07:00
Nigel 561fd6afc1 fix: Q_CLUSTER is using the database for its broker
Q_CLUSTER is using the database as its broker, and adding cache
configuration for it and not using it is pointless.  But rather than
change Q_CLUSTER's configuration to use redis as the broker, lets just
leave it using the database as the database broker has its advantages.
2021-12-05 09:04:54 -07:00
Nigel 58bb2b0c1b Add django redis to postgres dep installation 2021-11-02 16:41:23 -06:00
Nigel eecd477a34 Add redis cache to postgres testcase 2021-11-02 16:37:31 -06:00
Nigel e8c2d4da10 Add support for using redis as a cache and a broker 2021-11-02 16:37:28 -06:00
Nigel de90020c0f Set some sensible options
Including normalilzing the transaction isolation level and setting some
reasonable tcp timeouts for postgres
2021-10-28 14:19:46 -06:00
Nigel 0997ba2eb4 Sort requirements.txt 2021-10-14 14:38:31 -06:00
Nigel f8e4a5ac2e test: improve coverage of new get_destination 2021-06-09 11:04:42 -06:00
Nigel cd07ea835d feat(purchase orders): show the preferred location for each PO Line
Adds the ability for the Purchaser to specify where the item is
intentended to go when received.  If the Purchaser does not set a
preferred location, then the default location for the part is displayed.
If the item is received them where it was actually placed is shown.

NOTE: if an item is split when received only one of the resulting
StockItem location is used.

Fixes #1467
Addresses some of the requests in #551
2021-06-09 09:06:03 -06:00
Nigel 30a2194fe1 feat(admin): Show the line items on the PO on the Admin Site 2021-05-14 13:24:13 -06:00
Nigel bca2f4a07b feat(sales_order): Stock Items show the PO number
Stock items show the PO number that they were purchased on when being
viewed in the sales order allocation modal and when viewing the sales
order details.
2021-05-13 14:18:25 -06:00
Nigel 6f00c662a1 fix: don't link manufacturer part if it doesn't have one 2021-04-15 16:28:50 -06:00