Tweak how we handle return value from API 'set' method for Vendors
also add note about using `set_vendor()` for creating new ones. and misc. other cleanup
This commit is contained in:
parent
73b0acecdd
commit
a12c9de415
2 changed files with 9 additions and 11 deletions
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# pyCOREPOS -- Python Interface to CORE POS
|
||||
# Copyright © 2018-2019 Lance Edgar
|
||||
# Copyright © 2018-2020 Lance Edgar
|
||||
#
|
||||
# This file is part of pyCOREPOS.
|
||||
#
|
||||
|
@ -24,11 +24,9 @@
|
|||
CORE POS Database Utilities
|
||||
"""
|
||||
|
||||
from __future__ import unicode_literals, absolute_import
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from corepos.db import model as corepos
|
||||
from corepos.db.office_op import model as corepos
|
||||
|
||||
|
||||
def get_last_card_number(session):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue