Skip to content

Commit

Permalink
init messages method for Orders and Positions
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ckm45k committed Jul 16, 2023
1 parent 8a1784f commit aa5a61a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aioabcpapi/ts/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ async def distributor_owners(self, distributor_id: Union[str, int]):
class Orders:
def __init__(self, base: BaseAbcp):
self._base = base
self.messages = Messages(base)

class _FieldsChecker:
fields = ["deliveries", "agreement", "tags", "posInfo", "amounts"]
Expand Down Expand Up @@ -1201,6 +1202,7 @@ async def transfer(self, guest_id: Union[str, int], client_id: Union[str, int]):
class Positions:
def __init__(self, base: BaseAbcp):
self._base = base
self.messages = PositionsMessages(base)

class _FieldsChecker:
additional_info = ["reserv", "product", "orderPicking",
Expand Down

0 comments on commit aa5a61a

Please sign in to comment.