diff options
| author | Tejas Tank <tta@openerp.com> | 2013-02-04 16:59:49 +0530 |
|---|---|---|
| committer | Tejas Tank <tta@openerp.com> | 2013-02-04 16:59:49 +0530 |
| commit | 9b8d7de0ac0a0325ffd4052ffd7bd2b5e11f6b63 (patch) | |
| tree | 2897974f4ee51eb7f107f437e02b94e0ae6ad5c9 /addons/procurement | |
| parent | aded1b1840f3f98e68fcea07cdbc9cf99b4c57e1 (diff) | |
| parent | 072a019109c1d1d1ca5643c048957d9422578522 (diff) | |
[IMP] Workflow api changes: [account_payment, account_voucher, hr_holidays, hr_payroll, hr_timesheet_sheet, l10n_in_hr_payroll, point_of_sale, procurement, purchase, sale, sale_stock].
bzr revid: tta@openerp.com-20130204082943-vfevxeb7za6r4sy7
bzr revid: tta@openerp.com-20130204112949-07l1v3ru215iglut
Diffstat (limited to 'addons/procurement')
| -rw-r--r-- | addons/procurement/i18n/hu.po | 67 | ||||
| -rw-r--r-- | addons/procurement/procurement.py | 1 | ||||
| -rw-r--r-- | addons/procurement/schedulers.py | 3 | ||||
| -rw-r--r-- | addons/procurement/wizard/make_procurement_product.py | 6 |
4 files changed, 45 insertions, 32 deletions
diff --git a/addons/procurement/i18n/hu.po b/addons/procurement/i18n/hu.po index 7939157cc0e..228db7e22a1 100644 --- a/addons/procurement/i18n/hu.po +++ b/addons/procurement/i18n/hu.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-12-21 17:06+0000\n" -"PO-Revision-Date: 2011-02-04 15:02+0000\n" -"Last-Translator: Krisztian Eyssen <krisz@eyssen.hu>\n" +"PO-Revision-Date: 2013-02-03 18:26+0000\n" +"Last-Translator: krnkris <Unknown>\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-12-22 05:59+0000\n" -"X-Generator: Launchpad (build 16378)\n" +"X-Launchpad-Export-Date: 2013-02-04 05:12+0000\n" +"X-Generator: Launchpad (build 16462)\n" #. module: procurement #: model:ir.ui.menu,name:procurement.menu_stock_sched @@ -24,7 +24,7 @@ msgstr "Ütemezések" #. module: procurement #: model:ir.model,name:procurement.model_make_procurement msgid "Make Procurements" -msgstr "" +msgstr "Beszerzések létrehozása" #. module: procurement #: help:procurement.order.compute.all,automatic:0 @@ -33,6 +33,9 @@ msgid "" "under 0. You should probably not use this option, we suggest using a MTO " "configuration on products." msgstr "" +"Automatikus beszerzést kapcsol az összes 0 alatti virtuális raktárú " +"termékre. Nem kellene használnia ezt a lehetőséget, ha használja a " +"Rendelésre feladás beállítást ehhez a termékhez." #. module: procurement #: view:stock.warehouse.orderpoint:0 @@ -43,6 +46,7 @@ msgstr "Csoportosítás..." #: help:stock.warehouse.orderpoint,procurement_draft_ids:0 msgid "Draft procurement of the product and location of that orderpoint" msgstr "" +"A termékre és termékhelyre tervezet beszerzés, ehhez a megrendelési ponthoz." #. module: procurement #: view:product.product:0 @@ -50,6 +54,8 @@ msgid "" "required quantities are always\n" " available" msgstr "" +"igényelt mennyiség mindig\n" +" elérhető" #. module: procurement #: view:product.product:0 @@ -59,6 +65,11 @@ msgid "" "inventory, you should\n" " create others rules like orderpoints." msgstr "" +"Ha nincs elegendő elérhető mennyiség, a kiszállítási kézbesítési bizonylat " +"új\n" +" termékekre fog várni. A készlet kielégítésére, " +"más szabályokat\n" +" kell létrehoznia, mint megrendelési pontok." #. module: procurement #: field:procurement.order,procure_method:0 @@ -69,7 +80,7 @@ msgstr "Beszerzési módszer" #. module: procurement #: selection:product.template,supply_method:0 msgid "Manufacture" -msgstr "" +msgstr "Gyártás" #. module: procurement #: model:process.process,name:procurement.process_process_serviceproductprocess0 @@ -79,12 +90,12 @@ msgstr "Szolgáltatás" #. module: procurement #: model:ir.actions.act_window,name:procurement.action_procurement_compute msgid "Compute Stock Minimum Rules Only" -msgstr "" +msgstr "Szükséglet számítás minimum készlet szabály szerint" #. module: procurement #: view:stock.warehouse.orderpoint:0 msgid "Rules" -msgstr "" +msgstr "Szabályok" #. module: procurement #: field:procurement.order,company_id:0 @@ -95,7 +106,7 @@ msgstr "Vállalat" #. module: procurement #: field:procurement.order,product_uos_qty:0 msgid "UoS Quantity" -msgstr "" +msgstr "Eladási mértékegység menynisége" #. module: procurement #: view:procurement.order:0 @@ -105,7 +116,7 @@ msgstr "Ok" #. module: procurement #: view:procurement.order.compute:0 msgid "Compute Procurements" -msgstr "" +msgstr "Beszerzés számítás" #. module: procurement #: field:procurement.order,message:0 @@ -115,12 +126,12 @@ msgstr "Legutolsó hiba" #. module: procurement #: field:stock.warehouse.orderpoint,product_min_qty:0 msgid "Minimum Quantity" -msgstr "" +msgstr "Minimum mennyiség" #. module: procurement #: help:mrp.property,composition:0 msgid "Not used in computations, for information purpose only." -msgstr "" +msgstr "Nem használt a számításhoz, csak információként szolgál." #. module: procurement #: field:stock.warehouse.orderpoint,procurement_id:0 @@ -137,36 +148,42 @@ msgid "" "will generate a procurement request to increase the stock up to the maximum " "quantity." msgstr "" +"Minimum készlet szabályt tud meghatározni, így az OpenERP automatikusan " +"fogja létrehozni a gyártási megrendelés tervezeteket vagy beszerzési " +"megrendeléseket a raktárkészlet alapján. Ha egyszer a terméknek a virtuális " +"készlete (= készleten lévő mínusz minden visszaigazolt megrendelés és " +"lefoglalások) a minimum mennyiség alatt vannak, OpenERP beszerzési igényt " +"fog generálni a raktárkészlet növeléséhez egészen a maximum mennyiségig." #. module: procurement #: field:procurement.order,message_ids:0 msgid "Messages" -msgstr "" +msgstr "Üzenetek" #. module: procurement #: help:procurement.order,message:0 msgid "Exception occurred while computing procurement orders." -msgstr "" +msgstr "Kizárás történt a beszerzés számítása közben." #. module: procurement #: view:product.product:0 msgid "Products" -msgstr "" +msgstr "Termékek" #. module: procurement #: selection:procurement.order,state:0 msgid "Cancelled" -msgstr "" +msgstr "Visszavont" #. module: procurement #: view:procurement.order:0 msgid "Permanent Procurement Exceptions" -msgstr "" +msgstr "Állandó beszerzés kizárások" #. module: procurement #: help:procurement.order,message_unread:0 msgid "If checked new messages require your attention." -msgstr "" +msgstr "Ha be van jelölve, akkor figyelje az új üzeneteket." #. module: procurement #: view:procurement.order.compute.all:0 @@ -181,13 +198,13 @@ msgstr "Készletmozgás" #. module: procurement #: view:product.product:0 msgid "Stockable products" -msgstr "" +msgstr "Raktározható termékek" #. module: procurement #: code:addons/procurement/procurement.py:137 #, python-format msgid "Invalid Action!" -msgstr "" +msgstr "Érvénytelen lépés!" #. module: procurement #: help:procurement.order,message_summary:0 @@ -195,6 +212,8 @@ msgid "" "Holds the Chatter summary (number of messages, ...). This summary is " "directly in html format in order to be inserted in kanban views." msgstr "" +"A chettelés összegzést megállítja (üzenetek száma,...). Ez az összegzés " +"direkt HTML formátumú ahhoz hogy beilleszthető legyen a kanban nézetekbe." #. module: procurement #: selection:procurement.order,state:0 @@ -204,7 +223,7 @@ msgstr "Kész" #. module: procurement #: field:procurement.order.compute.all,automatic:0 msgid "Automatic orderpoint" -msgstr "" +msgstr "Automatikus megrendelés pontja" #. module: procurement #: model:ir.actions.act_window,help:procurement.procurement_exceptions @@ -248,7 +267,7 @@ msgstr "Megerősítés" #. module: procurement #: view:stock.warehouse.orderpoint:0 msgid "Quantity Multiple" -msgstr "" +msgstr "Mennyiség sokszorozás" #. module: procurement #: help:procurement.order,origin:0 @@ -256,11 +275,13 @@ msgid "" "Reference of the document that created this Procurement.\n" "This is automatically completed by OpenERP." msgstr "" +"Ezt a beszerzést létrehozó dokumentumnak a hivatkozása.\n" +"Ezt az OpenERP automatikusan kitöltötte." #. module: procurement #: view:stock.warehouse.orderpoint:0 msgid "Procurement Orders to Process" -msgstr "" +msgstr "Beszerzési utasítások végrehajtásra" #. module: procurement #: model:ir.model,name:procurement.model_stock_warehouse_orderpoint diff --git a/addons/procurement/procurement.py b/addons/procurement/procurement.py index 21c260b99cd..30d870647e2 100644 --- a/addons/procurement/procurement.py +++ b/addons/procurement/procurement.py @@ -456,7 +456,6 @@ class procurement_order(osv.osv): class StockPicking(osv.osv): _inherit = 'stock.picking' def test_finished(self, cr, uid, ids): - wf_service = netsvc.LocalService("workflow") res = super(StockPicking, self).test_finished(cr, uid, ids) for picking in self.browse(cr, uid, ids): for move in picking.move_lines: diff --git a/addons/procurement/schedulers.py b/addons/procurement/schedulers.py index 76b31cc6da3..c09d9a22a16 100644 --- a/addons/procurement/schedulers.py +++ b/addons/procurement/schedulers.py @@ -57,7 +57,6 @@ class procurement_order(osv.osv): try: if use_new_cursor: cr = pooler.get_db(use_new_cursor).cursor() - wf_service = netsvc.LocalService("workflow") procurement_obj = self.pool.get('procurement.order') if not ids: @@ -154,7 +153,6 @@ class procurement_order(osv.osv): product_obj = self.pool.get('product.product') proc_obj = self.pool.get('procurement.order') warehouse_obj = self.pool.get('stock.warehouse') - wf_service = netsvc.LocalService("workflow") warehouse_ids = warehouse_obj.search(cr, uid, [], context=context) products_ids = product_obj.search(cr, uid, [('purchase_ok', '=', True)], order='id', context=context) @@ -224,7 +222,6 @@ class procurement_order(osv.osv): orderpoint_obj = self.pool.get('stock.warehouse.orderpoint') procurement_obj = self.pool.get('procurement.order') - wf_service = netsvc.LocalService("workflow") offset = 0 ids = [1] if automatic: diff --git a/addons/procurement/wizard/make_procurement_product.py b/addons/procurement/wizard/make_procurement_product.py index 34a146289f6..aab49bf8e80 100644 --- a/addons/procurement/wizard/make_procurement_product.py +++ b/addons/procurement/wizard/make_procurement_product.py @@ -19,7 +19,6 @@ # ############################################################################## -from openerp import netsvc from openerp.osv import fields, osv @@ -64,7 +63,6 @@ class make_procurement(osv.osv_memory): user = self.pool.get('res.users').browse(cr, uid, uid, context=context).login wh_obj = self.pool.get('stock.warehouse') procurement_obj = self.pool.get('procurement.order') - wf_service = netsvc.LocalService("workflow") data_obj = self.pool.get('ir.model.data') for proc in self.browse(cr, uid, ids, context=context): @@ -78,9 +76,7 @@ class make_procurement(osv.osv_memory): 'location_id': wh.lot_stock_id.id, 'procure_method':'make_to_order', }) - - wf_service.trg_validate(uid, 'procurement.order', procure_id, 'button_confirm', cr) - + procurement_obj.signal_button_confirm(cr, uid, [procure_id]) id2 = data_obj._get_id(cr, uid, 'procurement', 'procurement_tree_view') id3 = data_obj._get_id(cr, uid, 'procurement', 'procurement_form_view') |
