diff options
| author | Jean-Baptiste Aubort <jean-baptiste.aubort@camptocamp.com> | 2008-08-29 10:07:27 +0200 |
|---|---|---|
| committer | Jean-Baptiste Aubort <jean-baptiste.aubort@camptocamp.com> | 2008-08-29 10:07:27 +0200 |
| commit | 43122ed70852d9f28c69db6296e36dd2dd1b4e92 (patch) | |
| tree | a0dae8713b9c14d2e858662ae9f499dd82cd9032 /addons/mrp/scripts | |
| parent | eb0ef90bfafeaf8e4118962862152c19920082ae (diff) | |
* Security files to CSV
* Some bugfixes
bzr revid: jean-baptiste.aubort@camptocamp.com-20080829080727-z8x95pg4ai5byru4
Diffstat (limited to 'addons/mrp/scripts')
| -rw-r--r-- | addons/mrp/scripts/scheduler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mrp/scripts/scheduler.py b/addons/mrp/scripts/scheduler.py index 96b009c57ab..6372efc7ad6 100644 --- a/addons/mrp/scripts/scheduler.py +++ b/addons/mrp/scripts/scheduler.py @@ -31,8 +31,8 @@ import xmlrpclib sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/wizard') -wiz_id = sock.create('trunk', 3, 'admin', 'mrp.procurement.compute.all') -sock.execute('trunk', 3, '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', {}) +wiz_id = sock.create('trunk', 1, 'root', 'mrp.procurement.compute.all') +sock.execute('trunk', 1, 'root', 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: |
