mixins.selling
Provides functionality to Transactions that can sell goods and services for an Entity.
Module Contents
Classes
This class provides validation for Transaction that sell goods and services for an Entity. |
- class mixins.selling.SellingMixin(**kw: Any)
Bases:
python_accounting.mixins.trading.TradingMixinThis class provides validation for Transaction that sell goods and services for an Entity.
- line_item_types: list
A list of Account Types that are allowed as Line Item accounts for selling Transactions.
- Type:
(list of Account.AccountType)
- main_account_types: list
A list of Account Types that are allowed as main accounts for selling Transactions.
- Type:
(list of Account.AccountType)
- account_type_map: dict
A mapping of Transactions to the Account Types that apply to their validation.
- Type:
(dict of`Account.AccountType`)