Skip to content

Add asset

Administrator requested to merge add-asset into master
  • Inherit OrderItem class from Contract.

Asset shares almost all its structure with OrderItem. Because of this, we simplify both classes with the common structure found in Contract.py

  • Add asset as a child class of Contract.

Move the get method to the contract class, since it is also shared with both OrderItem and Asset

Edited by Administrator

Merge request reports

Loading