Commit d9b230ea authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting:

* contraint: source_section is not required on Open Sale Order
  Needed for accounting less Open Order.
* constraint: source_section is not required on Sale Packing List
* constraint: no Organisation as destination / destination_section
parent 7b1bf6ab
......@@ -28,7 +28,7 @@
</item>
<item>
<key> <string>constraint_portal_type</string> </key>
<value> <string>python: (\'Organisation\', \'Person\')</string> </value>
<value> <string>python: (\'Person\',)</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -28,7 +28,7 @@
</item>
<item>
<key> <string>constraint_portal_type</string> </key>
<value> <string>python: (\'Organisation\', \'Person\')</string> </value>
<value> <string>python: (\'Person\',)</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......
......@@ -46,7 +46,7 @@
</item>
<item>
<key> <string>min_arity</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......
......@@ -46,7 +46,7 @@
</item>
<item>
<key> <string>min_arity</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
......
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