Commit graph

209 commits

Author SHA1 Message Date
Lance Edgar
d607ab2981 Fix display for "view receiving row" page, per oruga
this page still needs help; "Account for Product" is broken for oruga
2024-05-07 12:43:07 -05:00
Lance Edgar
c036932ce4 Remove several references to "buefy" name
class methods, template filenames, etc.

also made various edits per newer conventions
2024-04-14 19:54:29 -05:00
Lance Edgar
3bdc7175a3 Use common logic to render invoice total for receiving
and avoid error if total is none
2023-12-20 11:56:24 -06:00
Lance Edgar
90e35ee3db Hide single invoice file field for multi-invoice receiving batch 2023-12-19 12:49:33 -06:00
Lance Edgar
55a115e57a Add button to confirm all costs for receiving 2023-11-01 20:53:11 -05:00
Lance Edgar
0d30247353 Add validtion to prevent duplicate files for multi-invoice receiving
by comparing sha256 hash values for each file
2023-10-19 14:03:25 -05:00
Lance Edgar
aaf6f05820 Remove sorter for "Credits?" column in purchasing batch row grid
too convoluted, and broken per recent sort overhaul
2023-10-19 13:02:17 -05:00
Lance Edgar
919d8d109f Use Grid.make_sorter() instead of legacy code
b/c multi-column sorting relies on this
2023-10-18 18:18:55 -05:00
Lance Edgar
f86cc83996 Fix order xlsx download if missing order date 2023-10-17 15:26:22 -05:00
Lance Edgar
510b8383a4 Show catalog/invoice costs as 2-decimal currency in receiving 2023-09-19 15:03:16 -05:00
Lance Edgar
6274e33a8c Prevent catalog/invoice cost edits if receiving batch is complete 2023-09-19 14:41:15 -05:00
Lance Edgar
1f97d4f5e5 Add link to vendor name for receiving batches grid 2023-09-19 14:40:58 -05:00
Lance Edgar
70956a2c47 Tweaks to improve handling of "missing" items for receiving 2023-09-17 18:30:38 -05:00
Lance Edgar
bd7e6f9f8a Tweaks for cost editing within a receiving batch
never show PO Cost column in row grid, since Invoice Cost is what
receiving is most concerned with

add "zig-zag" entry behavior when both catalog and invoice costs are editable
2023-09-02 11:39:49 -05:00
Lance Edgar
845b5cda1a Fix custom cell click handlers in main buefy grid tables
just used for editing catalog/invoice cost in receiving thus far..
2023-08-08 18:06:22 -05:00
Lance Edgar
4729785b05 Show invoice number for each row in receiving 2023-07-07 17:19:08 -05:00
Lance Edgar
58f9b3ce2a Optimize "auto-receive" batch process
disable versioning when doing "auto-receive" for a receiving batch
2023-07-06 21:23:44 -05:00
Lance Edgar
1be26b7f33 Allow "arbitrary" PO attachment to purchase batch
for sake of other POS integration etc.
2023-06-27 18:18:35 -05:00
Lance Edgar
b4816c6289 Share some code for validating vendor field
and add validation for new Ordering batch
2023-05-30 13:25:20 -05:00
Lance Edgar
85947878c4 Get rid of newstyle flag for Form.validate() method
we always/only use "new style" now
2023-05-15 08:10:42 -05:00
Lance Edgar
82656f263d Move row delete check logic for receiving to batch handler 2023-05-10 18:47:11 -05:00
Lance Edgar
2ed63b1c1a Massive overhaul of "generate project" feature
previous incarnation was woefully lacking.  new feature is much more
extensible.  still need to remove old POS integration specifics in
some places.

and a couple of unrelated things that snuck in..

- deprecate `rattail.util.OrderedDict`
- deprecate `rattail.util.import_module_path()`
- deprecate `rattail.util.import_reload()`
2023-05-05 00:18:16 -05:00
Lance Edgar
f611a5a521 Refactor Query.get() => Session.get() per SQLAlchemy 1.4 2023-02-11 22:05:45 -06:00
Lance Edgar
9faaea881d Remove all deprecated use_buefy logic
also remove some static files no longer used, etc.
2023-02-03 16:10:04 -06:00
Lance Edgar
dfa4178204 Add basic support for receiving from multiple invoice files 2023-01-10 16:46:21 -06:00
Lance Edgar
6ac07e1255 Fix bug when viewing certain receiving batches 2022-12-06 19:31:22 -06:00
Lance Edgar
cceb66e500 Add support for editing invoice cost in receiving batch, per new theme 2022-12-05 16:25:55 -06:00
Lance Edgar
36a5f2ab49 Show invoice cost in receiving batch, if "from scratch" 2022-12-05 16:05:27 -06:00
Lance Edgar
9c54a4ada1 Add receiving workflow as param when making receiving batch 2022-12-05 15:26:43 -06:00
Lance Edgar
2e3823364c Add support for editing catalog cost in receiving batch, per new theme
had to add several "under the hood" features to make this work, to
embed a Vue component within grid `<td>` cells, etc.
2022-12-05 14:03:03 -06:00
Lance Edgar
b64f6c7884 Use newer config strategy for all views
to make inheritance easier
2022-11-23 12:20:58 -06:00
Lance Edgar
be533922a2 Show UPC for receiving line item if no product reference
to help with troubleshooting invoice file parsing etc.
2022-11-03 11:28:38 -05:00
Lance Edgar
731c2168b0 Improve parsing of purchase order quantities 2022-08-30 11:28:48 -05:00
Lance Edgar
89da6ae501 Expose setting for auto-correct when receiving from invoice 2022-08-18 17:27:30 -05:00
Lance Edgar
f2c73acd3b Refactor usage of get_vendor() lookup 2022-08-13 23:59:09 -05:00
Lance Edgar
db3ea2e34a Fix default help URLs for ordering, receiving 2022-08-13 23:12:39 -05:00
Lance Edgar
17810d9cae Misc. improvements for desktop receiving views
- don't expose "cases" if config says not to
- don't expose "expired" if config says not to
- use `numeric-input` for quantity fields
- add `product_key_field` to global-ish template context
2022-07-26 16:30:04 -05:00
Lance Edgar
ad7b347e16 Add "auto-receive all items" support for receiving batch API 2022-07-24 22:29:55 -05:00
Lance Edgar
36d4f0a5f7 Add basic edit support for Purchases 2022-07-24 21:10:52 -05:00
Lance Edgar
0dc344b821 Assume default vendor for new receiving batch
i.e. if there is only one vendor
2022-07-24 15:05:51 -05:00
Lance Edgar
cff4942769 Allow restricting to supported vendors only, for Receiving 2022-05-15 16:45:31 -05:00
Lance Edgar
aa37fc3add Tweak where description field is shown for receiving batch 2022-04-03 14:42:40 -05:00
Lance Edgar
ae1e9dba0f Improve vendor validation for new receiving batch 2022-03-25 12:33:37 -05:00
Lance Edgar
da910b1414 Add default help link for Receiving feature
also stop showing "buyer" filter by default
2022-03-11 20:55:01 -06:00
Lance Edgar
8ae1b87a1e Auto-filter hyperlinks for PO vs. invoice breakdown in Receiving 2022-02-20 19:52:24 -06:00
Lance Edgar
0ead06106c Add config for showing ordered vs. shipped amounts when receiving 2022-02-11 16:48:46 -06:00
Lance Edgar
88b3279e63 Several disparate changes needed for vendor catalog improvements
- invoke vendor handler where appropriate, e.g. for parsers
- reverse "polarity" of dropdown chooser setting; rename it
- tweak autocomplete behavior yet again, for dynamic values
- auto-select vendor upon parser selection, when possible
2022-01-07 19:27:10 -06:00
Lance Edgar
1fbe429a08 Add basic "config" view for Receiving 2021-12-13 20:35:23 -06:00
Lance Edgar
340a177a29 Overhaul desktop views for receiving, for efficiency
still could use even more i'm sure, but this takes advantage of buefy
to add dialogs etc. from the "view receiving batch row" page.  this
batch no longer allows direct edit of rows but that's hopefully for
the better.
2021-12-13 18:37:47 -06:00
Lance Edgar
e906c01e64 Make "view row" prettier for receiving batch, for buefy themes
this seems like a good direction; should make "receive product" and
"declare item" use b-modal on same page probably
2021-12-08 21:59:41 -06:00