From 4d9dd72fc695a85c36649d29c10953e8bc8d92a8 Mon Sep 17 00:00:00 2001 From: "uco (OpenERP)" Date: Fri, 30 Apr 2010 12:06:12 +0530 Subject: [IMP,REF] Task ID-574: Changed references in views used for mrp in point_of_sale module. Moved scripts to mrp_procurement. bzr revid: uco@tinyerp.co.in-20100430063612-oxk45gjwn3ww6r8b --- addons/mrp/scripts/scheduler.py | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 addons/mrp/scripts/scheduler.py (limited to 'addons/mrp/scripts/scheduler.py') diff --git a/addons/mrp/scripts/scheduler.py b/addons/mrp/scripts/scheduler.py deleted file mode 100644 index d95e8246c70..00000000000 --- a/addons/mrp/scripts/scheduler.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# 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 . -# -############################################################################## - -import xmlrpclib - -sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/wizard') -wiz_id = sock.create('trunk', 1, 'admin', 'mrp.procurement.compute.all') -sock.execute('trunk', 1, 'admin', wiz_id, {'form': {'po_cycle': 1.0, 'po_lead': 1.0, 'user_id': 3, 'schedule_cycle': 1.0, 'picking_lead': 1.0, 'security_lead': 50.0, 'automatic': False}, 'ids': [], 'report_type': 'pdf', 'model': 'ir.ui.menu', 'id': False}, 'compute', {}) - - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - -- cgit v1.2.3