Commit d2954822 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

Supply: Extend Periodicity Mixin

parent 63433112
...@@ -31,8 +31,9 @@ from AccessControl import ClassSecurityInfo ...@@ -31,8 +31,9 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
from erp5.component.document.Path import Path from erp5.component.document.Path import Path
from Products.ERP5.mixin.periodicity import PeriodicityMixin
class Supply(Path, XMLObject): class Supply(Path, XMLObject, PeriodicityMixin):
"""A Supply defines precise pricing and shipping conditions between """A Supply defines precise pricing and shipping conditions between
two trade parties for a limited selection of traded products, two trade parties for a limited selection of traded products,
components, services, etc. It can be used to represent price components, services, etc. It can be used to represent price
...@@ -56,6 +57,7 @@ class Supply(Path, XMLObject): ...@@ -56,6 +57,7 @@ class Supply(Path, XMLObject):
, PropertySheet.Movement , PropertySheet.Movement
, PropertySheet.Delivery , PropertySheet.Delivery
, PropertySheet.Path , PropertySheet.Path
, PropertySheet.Periodicity
, PropertySheet.FlowCapacity , PropertySheet.FlowCapacity
, PropertySheet.Comment , PropertySheet.Comment
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment