-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
182 lines (179 loc) · 5.66 KB
/
__init__.py
File metadata and controls
182 lines (179 loc) · 5.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# Copyright (C) 2024 Catalyst Cloud Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import annotations
from .base.client import ClientBase
from .base.record.base import RM, RecordBase, RecordProtocol, RM_co
from .base.record.types import FieldAlias, ModelRef
from .base.record_manager.base import R, RecordManagerBase
from .base.record_manager.protocol import RecordManagerProtocol
from .client import Client
from .exceptions import (
ClientError,
MultipleRecordsFoundError,
RecordNotFoundError,
)
from .managers.account_move import AccountMove, AccountMoveManager
from .managers.account_move_line import (
AccountMoveLine,
AccountMoveLineManager,
)
from .managers.attachment import (
Attachment,
AttachmentManager,
)
from .managers.company import Company, CompanyManager
from .managers.credit import Credit, CreditManager
from .managers.credit_transaction import (
CreditTransaction,
CreditTransactionManager,
)
from .managers.credit_type import CreditType, CreditTypeManager
from .managers.currency import Currency, CurrencyManager
from .managers.customer_group import CustomerGroup, CustomerGroupManager
from .managers.fiscal_position import FiscalPosition, FiscalPositionManager
from .managers.fiscal_position_tax_mapping import (
FiscalPositionTaxMapping,
FiscalPositionTaxMappingManager,
)
from .managers.grant import Grant, GrantManager
from .managers.grant_type import GrantType, GrantTypeManager
from .managers.partner import Partner, PartnerManager
from .managers.partner_category import PartnerCategory, PartnerCategoryManager
from .managers.pricelist import Pricelist, PricelistManager
from .managers.product import Product, ProductManager
from .managers.product_category import ProductCategory, ProductCategoryManager
from .managers.project import Project, ProjectManager
from .managers.project_contact import ProjectContact, ProjectContactManager
from .managers.referral_code import ReferralCode, ReferralCodeManager
from .managers.reseller import Reseller, ResellerManager
from .managers.reseller_tier import ResellerTier, ResellerTierManager
from .managers.sale_order import SaleOrder, SaleOrderManager
from .managers.sale_order_line import SaleOrderLine, SaleOrderLineManager
from .managers.support_subscription import (
SupportSubscription,
SupportSubscriptionManager,
)
from .managers.support_subscription_type import (
SupportSubscriptionType,
SupportSubscriptionTypeManager,
)
from .managers.tax import Tax, TaxManager
from .managers.tax_group import TaxGroup, TaxGroupManager
from .managers.term_discount import TermDiscount, TermDiscountManager
from .managers.trial import Trial, TrialManager
from .managers.uom import Uom, UomManager
from .managers.uom_category import UomCategory, UomCategoryManager
from .managers.user import User, UserManager
from .managers.volume_discount_range import (
VolumeDiscountRange,
VolumeDiscountRangeManager,
)
from .managers.voucher_code import VoucherCode, VoucherCodeManager
from .mixins.coded_record import CodedRecordManagerMixin, CodedRecordMixin
from .mixins.named_record import NamedRecordManagerMixin, NamedRecordMixin
from .mixins.record_with_attachment import RecordWithAttachmentMixin
__all__ = [
"RM",
"AccountMove",
"AccountMoveLine",
"AccountMoveLineManager",
"AccountMoveManager",
"Attachment",
"AttachmentManager",
"Client",
"ClientBase",
"ClientError",
"CodedRecordManagerMixin",
"CodedRecordMixin",
"Company",
"CompanyManager",
"Credit",
"CreditManager",
"CreditTransaction",
"CreditTransactionManager",
"CreditType",
"CreditTypeManager",
"Currency",
"CurrencyManager",
"CustomerGroup",
"CustomerGroupManager",
"FieldAlias",
"FiscalPosition",
"FiscalPositionManager",
"FiscalPositionTaxMapping",
"FiscalPositionTaxMappingManager",
"Grant",
"GrantManager",
"GrantType",
"GrantTypeManager",
"ModelRef",
"MultipleRecordsFoundError",
"NamedRecordManagerMixin",
"NamedRecordMixin",
"Partner",
"PartnerCategory",
"PartnerCategoryManager",
"PartnerManager",
"Pricelist",
"PricelistManager",
"Product",
"ProductCategory",
"ProductCategoryManager",
"ProductManager",
"Project",
"ProjectContact",
"ProjectContactManager",
"ProjectManager",
"R",
"RM_co",
"RecordBase",
"RecordManagerBase",
"RecordManagerProtocol",
"RecordNotFoundError",
"RecordProtocol",
"RecordWithAttachmentMixin",
"ReferralCode",
"ReferralCodeManager",
"Reseller",
"ResellerManager",
"ResellerTier",
"ResellerTierManager",
"SaleOrder",
"SaleOrderLine",
"SaleOrderLineManager",
"SaleOrderManager",
"SupportSubscription",
"SupportSubscriptionManager",
"SupportSubscriptionType",
"SupportSubscriptionTypeManager",
"Tax",
"TaxGroup",
"TaxGroupManager",
"TaxManager",
"TermDiscount",
"TermDiscountManager",
"Trial",
"TrialManager",
"Uom",
"UomCategory",
"UomCategoryManager",
"UomManager",
"User",
"UserManager",
"VolumeDiscountRange",
"VolumeDiscountRangeManager",
"VoucherCode",
"VoucherCodeManager",
]