.. _pkg_physobj:
core.physobj
============
.. py:module:: anyblok_wms_base.core.physobj.main
Model.Wms.PhysObj
~~~~~~~~~~~~~~~~~
.. autoclass:: anyblok_wms_base.core.physobj.main.PhysObj
.. raw:: html
Fields and their semantics
.. autoattribute:: id
.. autoattribute:: type
.. autoattribute:: properties
.. raw:: html
Type methods
.. automethod:: has_type
.. automethod:: is_container
.. raw:: html
Property methods
.. automethod:: get_property
.. automethod:: merged_properties
.. automethod:: has_property
.. automethod:: has_properties
.. automethod:: has_property_values
.. automethod:: set_property
.. automethod:: update_properties
.. raw:: html
Avatar methods
.. automethod:: current_avatar
.. automethod:: eventual_avatar
.. raw:: html
Containers methods
.. automethod:: flatten_containers_subquery
Model.Wms.PhysObj.Type
~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: anyblok_wms_base.core.physobj.type.Type
.. raw:: html
Fields and their semantics
.. autoattribute:: id
.. autoattribute:: code
.. autoattribute:: behaviours
.. raw:: html
Methods
.. automethod:: is_sub_type
.. automethod:: query_subtypes
.. automethod:: get_behaviour
.. automethod:: query_behaviour
Model.Wms.PhysObj.Properties
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: anyblok_wms_base.core.physobj.main.Properties
.. raw:: html
Fields and their semantics
.. autoattribute:: id
.. autoattribute:: flexible
.. raw:: html
Methods
.. automethod:: create
.. automethod:: duplicate
.. automethod:: get
.. automethod:: __getitem__
.. automethod:: __setitem__
.. automethod:: pop
.. automethod:: update
.. automethod:: as_dict
.. automethod:: __contains__
Model.Wms.PhysObj.Avatar
~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: anyblok_wms_base.core.physobj.main.Avatar
.. raw:: html
Fields and their semantics
.. autoattribute:: outcome_of
.. autoattribute:: location
.. autoattribute:: state
.. autoattribute:: dt_from
.. autoattribute:: dt_until
.. autoattribute:: id