diff options
| author | uco (OpenERP) <uco@tinyerp.com> | 2010-12-30 11:37:53 +0530 |
|---|---|---|
| committer | uco (OpenERP) <uco@tinyerp.com> | 2010-12-30 11:37:53 +0530 |
| commit | e0416f8a8fb82174fdaafdbf4bb6dfced55a2b04 (patch) | |
| tree | 5d46c1dd0eb72bf230a4bcbf9d7980ada4c8fd51 /addons/procurement/wizard | |
| parent | c3098f4f437708c7b2d6d4a52cd02950c5b67f31 (diff) | |
| parent | b352cf0e20d1e17f4cdbd93c3c388fc0004ea50a (diff) | |
[MERGE]
bzr revid: uco@tinyerp.com-20101230060753-wujam7otb5f13f0z
Diffstat (limited to 'addons/procurement/wizard')
| -rw-r--r-- | addons/procurement/wizard/make_procurement_view.xml | 3 | ||||
| -rw-r--r-- | addons/procurement/wizard/orderpoint_procurement.py | 2 | ||||
| -rw-r--r-- | addons/procurement/wizard/schedulers_all.py | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/addons/procurement/wizard/make_procurement_view.xml b/addons/procurement/wizard/make_procurement_view.xml index 2e9b44edb63..5bbfa01266b 100644 --- a/addons/procurement/wizard/make_procurement_view.xml +++ b/addons/procurement/wizard/make_procurement_view.xml @@ -34,8 +34,7 @@ view_mode="form" target="new" key2="client_action_multi" - id="act_make_procurement" - groups="base.group_extended"/> + id="act_make_procurement"/> </data> </openerp> diff --git a/addons/procurement/wizard/orderpoint_procurement.py b/addons/procurement/wizard/orderpoint_procurement.py index d94e6753231..8f9c1fc3d53 100644 --- a/addons/procurement/wizard/orderpoint_procurement.py +++ b/addons/procurement/wizard/orderpoint_procurement.py @@ -63,7 +63,7 @@ class procurement_compute(osv.osv_memory): """ threaded_calculation = threading.Thread(target=self._procure_calculation_orderpoint, args=(cr, uid, ids, context)) threaded_calculation.start() - return {} + return {'type': 'ir.actions.act_window_close'} procurement_compute() diff --git a/addons/procurement/wizard/schedulers_all.py b/addons/procurement/wizard/schedulers_all.py index 5fae2760edf..293a195b4ed 100644 --- a/addons/procurement/wizard/schedulers_all.py +++ b/addons/procurement/wizard/schedulers_all.py @@ -59,8 +59,8 @@ class procurement_compute_all(osv.osv_memory): """ threaded_calculation = threading.Thread(target=self._procure_calculation_all, args=(cr, uid, ids, context)) threaded_calculation.start() - return {} + return {'type': 'ir.actions.act_window_close'} procurement_compute_all() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: |
