[Erp5-dev] BaseTrade*_FiledLibrary - date-time fields

Shresth K shresth.k at gmail.com
Thu Jun 21 15:13:20 CEST 2007


On 21/06/07, Shresth K <shresth.k at gmail.com> wrote:
>
>
> No, it wasn't the typo. May be the mistake was introduced while I wrote
> the mail.
> I have had a very hard time trying to upgrade from r14629 to the latest.
> r14733
> While upgrading and clicking on subversion, I faced some of these
> problems:
> 1. As explained above Constraint/DuplicateInventory.py was missing. So I
> added it manually.
> 2. Then all Allowed Content Types, Hidden Content Types and PropertySheets
> for all the trade related portal types were missing.
> I proceeded manually by correcting each of those with the hope that I
> could catch the 'ghost' but couldn't proceed further when it said that
> 'PropertySheet DuplicateInventory missing for portal type Inventory' as no
> such PropertySheet exists as per my findings.
>
> Hence, my plan to upgrade the BT failed miserably, so I tried the crude
> way again:
>
> 1. I un-installed erp5_trade.
> 2. Did an 'svn up' for the latest erp5_trade, downloaded it into
> portal_templates via URL and then installed it.
> 3. Now by clicking on Subversion I should not be getting any modified
> files since it is the latest working copy that is installed. Yet there are
> many files that are listed there.
> Now can anyone explain this or should I have updated other BTs as well?


Just to help you help me - Most of the svn diff(s) return something like
this:

$ svn diff
SkinTemplateItem/portal_skins/erp5_trade/TradeCondition_getDueDate.xml
Index:
SkinTemplateItem/portal_skins/erp5_trade/TradeCondition_getDueDate.xml
===================================================================
---
SkinTemplateItem/portal_skins/erp5_trade/TradeCondition_getDueDate.xml
(revision 14909)
+++
SkinTemplateItem/portal_skins/erp5_trade/TradeCondition_getDueDate.xml
(working copy)
@@ -3,8 +3,11 @@
   <record id="1" aka="AAAAAAAAAAE=">
     <pickle>
       <tuple>
-        <global name="PythonScript" module="
Products.PythonScripts.PythonScript"/>
-        <tuple/>
+        <tuple>
+          <string>Products.PythonScripts.PythonScript</string>
+          <string>PythonScript</string>
+        </tuple>
+        <none/>
       </tuple>
     </pickle>
     <pickle>
@@ -167,7 +170,6 @@
                             <string>context</string>
                             <string>case</string>
                             <string>due_date</string>
-                            <string>_inplacevar_</string>
                             <string>peom</string>
                             <string>pt</string>
                             <string>pat</string>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20070621/23071f38/attachment.htm>


More information about the Erp5-dev mailing list