Commit 841b6f4d authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: stop creation Open Sale Order from Instance Tree

parent 43693129
...@@ -2,6 +2,9 @@ from zExceptions import Unauthorized ...@@ -2,6 +2,9 @@ from zExceptions import Unauthorized
if REQUEST is not None: if REQUEST is not None:
raise Unauthorized raise Unauthorized
if 1:
raise NotImplementedError('Stop creating Open Sale Order from Instance Tree')
from DateTime import DateTime from DateTime import DateTime
portal = context.getPortalObject() portal = context.getPortalObject()
......
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