Commit 6da6e9bd authored by Vincent Pelletier's avatar Vincent Pelletier

Do not copy title from Purchase Order to Purchase Packing List when PO is confirmed.

Ass a readonly reference to Purchase Packing List main view.
Move causality field to the bottom of left field group.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20499 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e04d31df
...@@ -75,8 +75,7 @@ if packing_list.getSimulationState() == \'draft\':\n ...@@ -75,8 +75,7 @@ if packing_list.getSimulationState() == \'draft\':\n
comment = related_order.getComment(),\n comment = related_order.getComment(),\n
delivery_mode = related_order.getDeliveryMode(),\n delivery_mode = related_order.getDeliveryMode(),\n
incoterm = related_order.getIncoterm(),\n incoterm = related_order.getIncoterm(),\n
source_administration_value = related_order.getSourceAdministrationValue(),\n source_administration_value = related_order.getSourceAdministrationValue()\n
title = related_order.getTitle()\n
)\n )\n
\n \n
# copy PaymentCondition if none is defined on Packing List\n # copy PaymentCondition if none is defined on Packing List\n
......
...@@ -106,6 +106,7 @@ ...@@ -106,6 +106,7 @@
<string>my_destination_decision_title</string> <string>my_destination_decision_title</string>
<string>my_incoterm</string> <string>my_incoterm</string>
<string>my_delivery_mode</string> <string>my_delivery_mode</string>
<string>my_causality_title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -113,7 +114,7 @@ ...@@ -113,7 +114,7 @@
<key> <string>right</string> </key> <key> <string>right</string> </key>
<value> <value>
<list> <list>
<string>my_causality_title</string> <string>my_reference</string>
<string>my_source_section_title</string> <string>my_source_section_title</string>
<string>my_source_title</string> <string>my_source_title</string>
<string>my_source_decision_title</string> <string>my_source_decision_title</string>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_reference</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_reference</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>PurchasePackingList_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
261 260
\ No newline at end of file
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