Add some more "handler" docs

app handler, batch handlers, native batch types, people handler
This commit is contained in:
Lance Edgar 2021-08-18 12:49:40 -05:00
parent 0726a70192
commit 84477e5e36
30 changed files with 397 additions and 29 deletions

View file

@ -0,0 +1,22 @@
Pricing Batch
=============
**Batch Type Key:** ``pricing``
**Purpose:** Change pricing for a set of products, optionally calculating new prices.
**Default Handler:** :class:`~rattail:rattail.batch.pricing.PricingBatchHandler`
There are sort of 2 modes for this batch type:
In "static" mode you would have a data file containing the new prices,
which you upload as a new batch. Executing this batch would then
apply the prices from the file.
In "dynamic" mode you need only identify the set of products, and then
let the software calculate new prices for each. Executing this batch
would then apply the new calculated prices.
In either case the default handler will update Rattail itself, so you
may need a custom handler to update your POS instead.