[Erp5-report] r31722 nicolas.dumazet - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: Ca...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 13 11:58:19 CET 2010


Author: nicolas.dumazet
Date: Wed Jan 13 11:58:18 2010
New Revision: 31722

URL: http://svn.erp5.org?rev=31722&view=rev
Log:
disable acquisition_copy_value on quantity_unit.

This had been activated in 24427 by Mame, and we do not remember the reason of
this change.
The testInvoice test added in r24428, which looks related to that change, is
passing as of today with acquisition_copy disabled.

On the other hand, the copy behavior is annoying for children of Resource
Documents: Measure, for example, and the soon to come Quantity Unit Definition
Group:
  in those cases, both Product and its children have a quantity_unit, but their
  meanings are different, and the copy is not wanted.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/CategoryTemplateItem/portal_categories/quantity_unit.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/CategoryTemplateItem/portal_categories/quantity_unit.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/CategoryTemplateItem/portal_categories/quantity_unit.xml?rev=31722&r1=31721&r2=31722&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/CategoryTemplateItem/portal_categories/quantity_unit.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/CategoryTemplateItem/portal_categories/quantity_unit.xml [utf8] Wed Jan 13 11:58:18 2010
@@ -44,7 +44,7 @@
         </item>
         <item>
             <key> <string>acquisition_copy_value</string> </key>
-            <value> <int>1</int> </value>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>acquisition_mask_value</string> </key>
@@ -112,7 +112,7 @@
         </item>
         <item>
             <key> <string>last_id</string> </key>
-            <value> <string>4</string> </value>
+            <value> <string>6</string> </value>
         </item>
         <item>
             <key> <string>membership_criterion_base_category</string> </key>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=31722&r1=31721&r2=31722&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Wed Jan 13 11:58:18 2010
@@ -1,1 +1,1 @@
-1429
+1430




More information about the Erp5-report mailing list