diff --git a/rattail/db/model/batch/purchase.py b/rattail/db/model/batch/purchase.py index 18165872d4dfbbef18028889f7ebb39d85667584..285dd704dbf92f12eae2bbd0259e24e47c4742e1 100644 --- a/rattail/db/model/batch/purchase.py +++ b/rattail/db/model/batch/purchase.py @@ -88,6 +88,15 @@ class PurchaseBatch(BatchMixin, PurchaseBase, Base): Numeric "mode" for the purchase batch, to indicate new/receiving etc. """) + order_file = filename_column(nullable=True, doc=""" + Base name for the associated order file, if any. + """) + + order_parser_key = sa.Column(sa.String(length=100), nullable=True, doc=""" + The key of the parser used to read the contents of the order file, + if applicable. + """) + invoice_file = filename_column(doc="Base name for the associated invoice file, if any.") invoice_parser_key = sa.Column(sa.String(length=100), nullable=True, doc="""