Commit 7e61728e authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_interaction_drop: Minor code style fixes

parent 763b7ff5
......@@ -119,14 +119,6 @@
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>error_message</string> </key>
<value>
<list>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</list>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
......@@ -138,36 +130,4 @@
</dictionary>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="Message" module="Products.ERP5Type.Message"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string>ID is invalid, should be \'${id_prefix}.VERSION.REFERENCE\'</string> </value>
</item>
<item>
<key> <string>domain</string> </key>
<value> <string>erp5_ui</string> </value>
</item>
<item>
<key> <string>mapping</string> </key>
<value>
<dictionary>
<item>
<key> <string>id_prefix</string> </key>
<value> <string>document</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>message</string> </key>
<value> <string>ID is invalid, should be \'${id_prefix}.VERSION.REFERENCE\'</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -40,7 +40,6 @@ if not invoice.hasTitle() and related_packing_list is not None and \
# initialize accounting_workflow to confirmed state
if invoice.getSimulationState() == 'draft':
invoice.activate(after_path_and_method_id=(related_simulation_movement_path_list,
('immediateReindexObject','recursiveImmediateReindexObject')),
tag=confirm_tag).Delivery_confirm()
('immediateReindexObject','recursiveImmediateReindexObject'))).Delivery_confirm()
invoice.startBuilding()
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