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()`
This commit is contained in:
parent
026d98551c
commit
2ed63b1c1a
22 changed files with 424 additions and 700 deletions
|
@ -26,7 +26,7 @@ Product Views
|
|||
|
||||
import re
|
||||
import logging
|
||||
|
||||
from collections import OrderedDict
|
||||
import humanize
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy import orm
|
||||
|
@ -37,7 +37,7 @@ from rattail.db import model, api, auth, Session as RattailSession
|
|||
from rattail.gpc import GPC
|
||||
from rattail.threads import Thread
|
||||
from rattail.exceptions import LabelPrintingError
|
||||
from rattail.util import load_object, pretty_quantity, OrderedDict, simple_error
|
||||
from rattail.util import load_object, pretty_quantity, simple_error
|
||||
from rattail.time import localtime, make_utc
|
||||
|
||||
import colander
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue