← Back to team overview

credativ team mailing list archive

lp:~therp-nl/openupgrade-addons/7.0-noupdate_data_stock_procurement into lp:openupgrade-addons

 

Stefan Rijnhart (Therp) has proposed merging lp:~therp-nl/openupgrade-addons/7.0-noupdate_data_stock_procurement into lp:openupgrade-addons.

Requested reviews:
  OpenUpgrade Committers (openupgrade-committers)

For more details, see:
https://code.launchpad.net/~therp-nl/openupgrade-addons/7.0-noupdate_data_stock_procurement/+merge/203067

Output of openupgrade-server/scripts/compare_noupdate_xml_records.py for stock and procurement. The output of this script is a little non-standard but it seems useful to compare the committed files to the original output, so I'd like to keep it this way.

-- 
https://code.launchpad.net/~therp-nl/openupgrade-addons/7.0-noupdate_data_stock_procurement/+merge/203067
Your team OpenUpgrade Committers is requested to review the proposed merge of lp:~therp-nl/openupgrade-addons/7.0-noupdate_data_stock_procurement into lp:openupgrade-addons.
=== added file 'procurement/migrations/7.0.1.0/data.xml'
--- procurement/migrations/7.0.1.0/data.xml	1970-01-01 00:00:00 +0000
+++ procurement/migrations/7.0.1.0/data.xml	2014-01-24 13:59:49 +0000
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='utf-8'?>
+<openerp>
+  <data>
+    <record model="ir.cron" id="ir_cron_scheduler_action"><field eval="'(False,True)'" name="args"/>
+        </record>
+  </data>
+</openerp>
+

=== added file 'procurement/migrations/7.0.1.0/post-migration.py'
--- procurement/migrations/7.0.1.0/post-migration.py	1970-01-01 00:00:00 +0000
+++ procurement/migrations/7.0.1.0/post-migration.py	2014-01-24 13:59:49 +0000
@@ -0,0 +1,26 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+#    OpenERP, Open Source Management Solution
+#    This migration script copyright C) 2014 Therp BV (<http://therp.nl>).
+#
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU Affero General Public License as
+#    published by the Free Software Foundation, either version 3 of the
+#    License, or (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU Affero General Public License for more details.
+#
+#    You should have received a copy of the GNU Affero General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+from openerp.openupgrade import openupgrade
+
+@openupgrade.migrate()
+def migrate(cr, version):
+    openupgrade.load_data(cr, 'procurement', 'migrations/7.0.1.0/data.xml')

=== added file 'stock/migrations/7.0.1.1/data.xml'
--- stock/migrations/7.0.1.1/data.xml	1970-01-01 00:00:00 +0000
+++ stock/migrations/7.0.1.1/data.xml	2014-01-24 13:59:49 +0000
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='utf-8'?>
+<openerp>
+  <data>
+    <record model="ir.sequence" id="sequence_production_lots"><field name="name">Serial Numbers</field>
+            </record>
+    <record model="ir.sequence.type" id="seq_type_picking_internal"><field name="code">stock.picking</field>
+        </record>
+    <record model="ir.sequence" id="seq_picking_internal"><field name="code">stock.picking</field>
+            </record>
+    <record model="ir.sequence.type" id="sequence_type_serial"><field name="name">Serial Numbers</field>
+            </record>
+    <record model="res.request.link" id="req_link_tracking"><field name="name">Serial Number</field>
+            </record>
+  </data>
+</openerp>
+

=== modified file 'stock/migrations/7.0.1.1/post-migration.py'
--- stock/migrations/7.0.1.1/post-migration.py	2013-09-05 20:59:18 +0000
+++ stock/migrations/7.0.1.1/post-migration.py	2014-01-24 13:59:49 +0000
@@ -40,3 +40,4 @@
 def migrate(cr, version):
     pool = pooler.get_pool(cr.dbname)
     migrate_partners(cr, pool)
+    openupgrade.load_data(cr, 'stock', 'migrations/7.0.1.1/data.xml')


Follow ups