Lance Edgar
329d051d76
Assign extra import handler kwargs before loading the importers
...
e.g. for CORE importers which can target different DB and therefore
the set of importers must vary by DB
2024-05-08 13:35:06 -05:00
Lance Edgar
033a0c27ec
Fallback to zero if receiving row has no invoice total calculated
...
not sure when/why this is happening yet..
2024-05-07 12:57:15 -05:00
Lance Edgar
d7067aefb6
Update changelog
2024-05-06 20:30:24 -05:00
Lance Edgar
b16106a11a
Define __all__
for rattail.trainwreck.db.model.defaults
module
...
i.e. so custom projects can do this if needed:
from rattail.trainwreck.db.model.defaults import *
2024-05-06 20:29:30 -05:00
Lance Edgar
a65c11070c
Cleanup alembic scripts for trainwreck
...
per conventions used in rattail proper
2024-05-06 20:29:27 -05:00
Lance Edgar
2fcd8cb6dc
Do not assign AppHandler.enum
in constructor
...
the app handler is created before config extensions are applied, and
the latter may determine which enum module should be used. so
use a property to fetch on-demand instead of assigning it so early
2024-04-30 19:42:58 -05:00
Lance Edgar
93f2f350b1
Update changelog
2024-04-28 17:28:26 -05:00
Lance Edgar
0349878c6d
Cleanup dependencies a bit
2024-04-19 20:38:18 -05:00
Lance Edgar
2469cac2e3
Update changelog
2024-04-19 19:46:32 -05:00
Lance Edgar
82df448ca0
Fix various tests per config changes
2024-04-19 18:12:56 -05:00
Lance Edgar
3c87fdac39
Fix main config class name
2024-04-19 18:00:30 -05:00
Lance Edgar
633b22270a
Remove unused config classes; now just RattailConfig based on wutta
2024-04-19 17:42:11 -05:00
Lance Edgar
58a9c01108
Avoid null case size, for ordering batch rows
...
pretty sure some could split thru rarely..somehow..??
2024-04-16 19:44:13 -05:00
Lance Edgar
4007492cc6
Update changelog
2024-04-15 10:54:29 -05:00
Lance Edgar
51f33a85be
Remove some unused code
...
actually trying to troubleshoot tox here..
2024-04-14 15:07:00 -05:00
Lance Edgar
9e34f4a7d7
Fix tests per using WuttaConfig by default
2024-04-14 14:33:33 -05:00
Lance Edgar
73430d889f
Use the WuttaConfig-style config class by default
...
for now, keep the other 2 styles in case of emergency. but those
should be removed soon, leaving Wutta-style only
2024-04-13 21:58:06 -05:00
Lance Edgar
f0c071b3b4
Change setting names for backup feature flags
...
to avoid ambiguous names, which will break when using wuttaconfig
should be the last thing keeping me from switching to wuttaconfig entirely
2024-04-11 18:33:42 -05:00
Lance Edgar
defffb4927
Update changelog
2024-04-01 18:27:42 -05:00
Lance Edgar
a198181cfb
Add Person.preferred_first_name
to schema
...
and a config flag to control whether or not it should be used
2024-04-01 18:25:51 -05:00
Lance Edgar
883bf7b4ac
Add new employee to session after making it
...
since sqlalchemy no longer does that by default (via relationship)
2024-04-01 18:25:51 -05:00
Lance Edgar
a1aad54fc1
Remove stale hard-coded version in docs config
...
not real sure what this version is even used for..
2023-12-30 17:08:32 -06:00
Lance Edgar
c50905270b
Update changelog
2023-12-29 12:45:46 -06:00
Lance Edgar
804769386d
Add seconds
param for app.render_time_ago()
method
...
and clean up docs a bit
2023-12-28 18:48:09 -06:00
Lance Edgar
b840a41e75
Update changelog
2023-12-27 20:19:24 -06:00
Lance Edgar
e97b2a23be
Accept batch param for locate_product()
handler method
...
sometimes the row does not yet belong to a batch, when first being made
2023-12-27 20:16:14 -06:00
Lance Edgar
2ed0086403
Update changelog
2023-12-26 20:15:53 -06:00
Lance Edgar
561cb24852
Add per-department default item discount for customer orders
2023-12-22 11:49:34 -06:00
Lance Edgar
d46ae7cbe1
Include "not for sale" products in receiving item lookup
2023-12-20 12:26:37 -06:00
Lance Edgar
1daf4022fb
Flag invoice case quantity diffs for receiving, when applicable
2023-12-19 13:08:27 -06:00
Lance Edgar
1be88bb667
Fix syntax for batch.truck_dump_children_first
...
and update module per newer conventions
2023-12-15 18:41:27 -06:00
Lance Edgar
7305b39c3e
Add tests, docs for RattailWuttaConfig.make_list_string()
2023-12-01 22:12:31 -06:00
Lance Edgar
6f54325950
Update changelog
2023-12-01 21:56:38 -06:00
Lance Edgar
ae517ada09
Add get_all_customers()
method for clientele handler
2023-12-01 19:39:18 -06:00
Lance Edgar
dd4cb6b6f9
Update changelog
2023-12-01 07:12:23 -06:00
Lance Edgar
63c321b7c7
Add make_list_string()
method for RattailWuttaConfig
...
apparently that is being used in the wild
2023-12-01 07:11:37 -06:00
Lance Edgar
20ff1ab7fb
Add some more terms to the glossary
2023-11-30 18:21:35 -06:00
Lance Edgar
6baee6b0a3
Update changelog
2023-11-30 16:43:35 -06:00
Lance Edgar
0abcc82118
Fix missing attribute for legacy config classes
...
otherwise get a recursion error from app handler
2023-11-30 15:59:45 -06:00
Lance Edgar
e3c427fd4d
Update changelog
2023-11-30 15:15:53 -06:00
Lance Edgar
0eff44e75d
Bump requirement for wuttjamaican
...
to ensure generic handler class exists
2023-11-30 15:12:16 -06:00
Lance Edgar
a073be3529
Add wutta wrapper for AppProvider
2023-11-24 23:21:12 -06:00
Lance Edgar
20cd12d682
Add wutta wrapper for ConfigExtension
2023-11-24 22:26:09 -06:00
Lance Edgar
27dd4dc29b
Always run source checkout of wuttjamaican for tox
2023-11-22 12:53:10 -06:00
Lance Edgar
4958779d8b
Use upstream subcommand for rattail date-organize
...
mostly to confirm that upstream subcommands may be used as-is with
main rattail command
2023-11-22 12:28:53 -06:00
Lance Edgar
464ac543a7
Add wutta wrapper for rattail make-appdir
command
2023-11-22 11:26:23 -06:00
Lance Edgar
2df3cea844
Move core command logic to rattail.commands.base
...
deprecate `rattail.commands.core` to align with upstream convention
2023-11-22 10:18:42 -06:00
Lance Edgar
198c587d07
Refactor the main Command class to use more upstream logic
...
in particular the usage help text is now auto-generated to include all
main command args
2023-11-22 09:33:54 -06:00
Lance Edgar
3d7b9d48db
Add wutta wrapper for AppHandler.make_appdir()
2023-11-22 00:03:23 -06:00
Lance Edgar
c1f685aa62
Add proper wutta wrapper for make_config()
...
fingers crossed we didn't break anything!
2023-11-21 22:29:21 -06:00