[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
This commit is contained in:
Tejas Tank 2013-02-04 16:59:49 +05:30
commit 9b8d7de0ac
46 changed files with 3514 additions and 580 deletions

View File

@ -23,7 +23,6 @@ import logging
import time
from openerp.osv import fields, osv
from openerp import netsvc
_logger = logging.getLogger(__name__)
@ -120,9 +119,7 @@ class payment_order(osv.osv):
def set_to_draft(self, cr, uid, ids, *args):
self.write(cr, uid, ids, {'state': 'draft'})
wf_service = netsvc.LocalService("workflow")
for id in ids:
wf_service.trg_create(uid, 'payment.order', id, cr)
self.create_workflow(cr, uid, ids)
return True
def action_open(self, cr, uid, ids, *args):

View File

@ -22,7 +22,6 @@
import time
from lxml import etree
from openerp import netsvc
from openerp.osv import fields, osv
import openerp.addons.decimal_precision as dp
from openerp.tools.translate import _
@ -828,9 +827,7 @@ class account_voucher(osv.osv):
return True
def action_cancel_draft(self, cr, uid, ids, context=None):
wf_service = netsvc.LocalService("workflow")
for voucher_id in ids:
wf_service.trg_create(uid, 'account.voucher', voucher_id, cr)
self.create_workflow(cr, uid, ids)
self.write(cr, uid, ids, {'state':'draft'})
return True

View File

@ -1,75 +1,28 @@
# Turkish translation for openobject-addons
# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-03 16:03+0000\n"
"PO-Revision-Date: 2012-11-27 21:53+0000\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-03 12:06+0000\n"
"Last-Translator: Ahmet Altınışık <Unknown>\n"
"Language-Team: Turkish <tr@li.org>\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-04 05:53+0000\n"
"X-Generator: Launchpad (build 16335)\n"
"X-Launchpad-Export-Date: 2013-02-04 05:12+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: base_crypt
#: model:ir.model,name:base_crypt.model_res_users
#. module: auth_crypt
#: field:res.users,password_crypt:0
msgid "Encrypted Password"
msgstr "Şifrelenmiş Parola"
#. module: auth_crypt
#: model:ir.model,name:auth_crypt.model_res_users
msgid "Users"
msgstr "Kullanıcılar"
#, python-format
#~ msgid "Error"
#~ msgstr "Hata"
#~ msgid "Base - Password Encryption"
#~ msgstr "Temel - Şifreleme"
#~ msgid "res.users"
#~ msgstr "res.users"
#~ msgid ""
#~ "This module replaces the cleartext password in the database with a password "
#~ "hash,\n"
#~ "preventing anyone from reading the original password.\n"
#~ "For your existing user base, the removal of the cleartext passwords occurs "
#~ "the first time\n"
#~ "a user logs into the database, after installing base_crypt.\n"
#~ "After installing this module it won't be possible to recover a forgotten "
#~ "password for your\n"
#~ "users, the only solution is for an admin to set a new password.\n"
#~ "\n"
#~ "Note: installing this module does not mean you can ignore basic security "
#~ "measures,\n"
#~ "as the password is still transmitted unencrypted on the network (by the "
#~ "client),\n"
#~ "unless you are using a secure protocol such as XML-RPCS.\n"
#~ " "
#~ msgstr ""
#~ "Bu modül veritabanındaki açıkça yazılmış şifreleri şifre hashi ile\n"
#~ "değiştirerek hiçkimsenin orjinal şifreleri öğrenememesini sağlar.\n"
#~ "Halihazırda bulunan kullanıcılarınızın şifreleri veritabanına ilk girişte\n"
#~ "şifrelenir.\n"
#~ "Bu modül kurulduktan sonra unutulan şifreleri öğrenmek mümkün olmayacak\n"
#~ "yöneticiler sadece şifreleri değiştirebilirler.\n"
#~ "\n"
#~ "Not:Bu modülü kurmanız temel güvenlik önlemlerini almamanız için bir sebep "
#~ "değildir.\n"
#~ "Sonuçta şifreler ağ üzerinden halen şifrelenmemiş olarak dolaşıyorlar. (eğer "
#~ "XML-RPCS gibi\n"
#~ "güvenli bir protokol kullanmıyorsanız.)\n"
#~ " "
#~ msgid "You can not have two users with the same login !"
#~ msgstr "Aynı kullanıcı adı ile iki kullanıcı oluşturamazsınız !"
#, python-format
#~ msgid "Please specify the password !"
#~ msgstr "Lütfen parolayı belirleyin!"
#~ msgid "The chosen company is not in the allowed companies for this user"
#~ msgstr "Seçilen firma bu kullanıcı için izin verilen firmalar arasında yok"

View File

@ -0,0 +1,23 @@
# Turkish translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-03 12:07+0000\n"
"Last-Translator: Ahmet Altınışık <Unknown>\n"
"Language-Team: Turkish <tr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-04 05:12+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: auth_oauth_signup
#: model:ir.model,name:auth_oauth_signup.model_res_users
msgid "Users"
msgstr "Kullanıcılar"

View File

@ -8,14 +8,14 @@ msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2012-12-15 12:10+0000\n"
"PO-Revision-Date: 2013-02-03 14:50+0000\n"
"Last-Translator: Nicola Riolini - Micronaet <Unknown>\n"
"Language-Team: Italian <it@li.org>\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 06:07+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: base_import
#. openerp-web
@ -236,6 +236,8 @@ msgid ""
"What's the difference between Database ID and \n"
" External ID?"
msgstr ""
"Qual'è la differenza tra ID database e \n"
"ID esterno?"
#. module: base_import
#. openerp-web
@ -247,13 +249,16 @@ msgid ""
"\n"
" you 3 different fields to import:"
msgstr ""
"Per esempio, per\n"
"in riferimento al paese di un contatto, OpenERP propone\n"
"3 differenti campi da importare:"
#. module: base_import
#. openerp-web
#: code:addons/base_import/static/src/xml/import.xml:175
#, python-format
msgid "What can I do if I have multiple matches for a field?"
msgstr ""
msgstr "Cosa posso fare se trovo risultati multipli per un campo?"
#. module: base_import
#. openerp-web
@ -275,6 +280,8 @@ msgid ""
"The following CSV file shows how to import \n"
" suppliers and their respective contacts"
msgstr ""
"Il seguente file CSV mostra come importare\n"
"fornitori e rispettivi contatti"
#. module: base_import
#. openerp-web
@ -339,13 +346,15 @@ msgid ""
"External ID,Name,Is a \n"
" Company,Related Company/External ID"
msgstr ""
"ID esterno, Nome, è una \n"
"azienda, azienda relativa / ID esterno"
#. module: base_import
#. openerp-web
#: code:addons/base_import/static/src/xml/import.xml:233
#, python-format
msgid "Suppliers and their respective contacts"
msgstr ""
msgstr "Fornitori e relativi contatti"
#. module: base_import
#. openerp-web
@ -378,6 +387,9 @@ msgid ""
"\n"
" PSQL:"
msgstr ""
"Per creare file CSV per persone, collegate ad\n"
"aziende, utilizzeremo il seguente comando SQL in\n"
"PSQL:"
#. module: base_import
#. openerp-web

View File

@ -0,0 +1,79 @@
# Turkish translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-03 12:04+0000\n"
"Last-Translator: Ahmet Altınışık <Unknown>\n"
"Language-Team: Turkish <tr@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-04 05:12+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: base_status
#: code:addons/base_status/base_state.py:107
#, python-format
msgid "Error !"
msgstr "Hata !"
#. module: base_status
#: code:addons/base_status/base_state.py:166
#, python-format
msgid "%s has been <b>opened</b>."
msgstr "%s <b>açıldı</b>."
#. module: base_status
#: code:addons/base_status/base_state.py:199
#, python-format
msgid "%s has been <b>renewed</b>."
msgstr "%s <b>yenilendi</b>."
#. module: base_status
#: code:addons/base_status/base_stage.py:210
#, python-format
msgid "Error!"
msgstr "Hata!"
#. module: base_status
#: code:addons/base_status/base_state.py:107
#, python-format
msgid ""
"You can not escalate, you are already at the top level regarding your sales-"
"team category."
msgstr ""
"Yükseltemezsiniz, satış-takımı kategorisine göre zaten en üst düzeydesiniz."
#. module: base_status
#: code:addons/base_status/base_state.py:193
#, python-format
msgid "%s is now <b>pending</b>."
msgstr "%s şimdi <b>bekliyor</b>."
#. module: base_status
#: code:addons/base_status/base_state.py:187
#, python-format
msgid "%s has been <b>canceled</b>."
msgstr "%s <b>iptal edildi</b>."
#. module: base_status
#: code:addons/base_status/base_stage.py:210
#, python-format
msgid ""
"You are already at the top level of your sales-team category.\n"
"Therefore you cannot escalate furthermore."
msgstr ""
"Zaten satış takımı kategorisinin en üst düzeyindesiniz.\n"
"Yani daha fazla yükseltemezsiniz."
#. module: base_status
#: code:addons/base_status/base_state.py:181
#, python-format
msgid "%s has been <b>closed</b>."
msgstr "%s <b>kapatıldı</b>."

View File

@ -27,7 +27,6 @@ from itertools import groupby
from operator import attrgetter, itemgetter
import math
from openerp import netsvc
from openerp import tools
from openerp.osv import fields, osv
from openerp.tools.translate import _
@ -304,10 +303,8 @@ class hr_holidays(osv.osv):
'manager_id': False,
'manager_id2': False,
})
wf_service = netsvc.LocalService("workflow")
for id in ids:
wf_service.trg_delete(uid, 'hr.holidays', id, cr)
wf_service.trg_create(uid, 'hr.holidays', id, cr)
self.delete_workflow(cr, uid, ids)
self.create_workflow(cr, uid, ids)
to_unlink = []
for record in self.browse(cr, uid, ids, context=context):
for record2 in record.linked_request_ids:

View File

@ -26,7 +26,6 @@ from datetime import datetime
from datetime import timedelta
from dateutil import relativedelta
from openerp import netsvc
from openerp.osv import fields, osv
from openerp import tools
from openerp.tools.translate import _
@ -331,13 +330,12 @@ class hr_payslip(osv.osv):
def refund_sheet(self, cr, uid, ids, context=None):
mod_obj = self.pool.get('ir.model.data')
wf_service = netsvc.LocalService("workflow")
for payslip in self.browse(cr, uid, ids, context=context):
id_copy = self.copy(cr, uid, payslip.id, {'credit_note': True, 'name': _('Refund: ')+payslip.name}, context=context)
self.compute_sheet(cr, uid, [id_copy], context=context)
wf_service.trg_validate(uid, 'hr.payslip', id_copy, 'hr_verify_sheet', cr)
wf_service.trg_validate(uid, 'hr.payslip', id_copy, 'process_sheet', cr)
self.signal_hr_verify_sheet(cr, uid, [id_copy])
self.signal_process_sheet(cr, uid, [id_copy])
form_id = mod_obj.get_object_reference(cr, uid, 'hr_payroll', 'view_hr_payslip_form')
form_res = form_id and form_id[1] or False
tree_id = mod_obj.get_object_reference(cr, uid, 'hr_payroll', 'view_hr_payslip_tree')

View File

@ -25,7 +25,6 @@ from dateutil.relativedelta import relativedelta
from openerp.osv import fields, osv
from openerp.tools.translate import _
from openerp import netsvc
class hr_timesheet_sheet(osv.osv):
_name = "hr_timesheet_sheet.sheet"
@ -93,8 +92,7 @@ class hr_timesheet_sheet(osv.osv):
self.check_employee_attendance_state(cr, uid, sheet.id, context=context)
di = sheet.user_id.company_id.timesheet_max_difference
if (abs(sheet.total_difference) < di) or not di:
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'hr_timesheet_sheet.sheet', sheet.id, 'confirm', cr)
self.signal_confirm(cr, uid, [sheet.id])
else:
raise osv.except_osv(_('Warning!'), _('Please verify that the total difference of the sheet is lower than %.2f.') %(di,))
return True
@ -192,9 +190,7 @@ class hr_timesheet_sheet(osv.osv):
def action_set_to_draft(self, cr, uid, ids, *args):
self.write(cr, uid, ids, {'state': 'draft'})
wf_service = netsvc.LocalService('workflow')
for id in ids:
wf_service.trg_create(uid, self._name, id, cr)
self.create_workflow(cr, uid, ids)
return True
def name_get(self, cr, uid, ids, context=None):

View File

@ -26,7 +26,6 @@ from calendar import isleap
from openerp.tools.translate import _
from openerp.osv import fields, osv
from openerp import netsvc
import openerp.addons.decimal_precision as dp
DATETIME_FORMAT = "%Y-%m-%d"
@ -179,7 +178,6 @@ class hr_payslip_run(osv.osv):
return res
def create_advice(self, cr, uid, ids, context=None):
wf_service = netsvc.LocalService("workflow")
payslip_pool = self.pool.get('hr.payslip')
payslip_line_pool = self.pool.get('hr.payslip.line')
advice_pool = self.pool.get('hr.payroll.advice')

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,220 @@
# Slovenian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-03 11:36+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Slovenian <sl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-04 05:12+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: marketing_campaign_crm_demo
#: model:email.template,body_html:marketing_campaign_crm_demo.email_template_8
msgid ""
"<p>Hello,</p>\n"
" <p>Thanks for showing interest and for subscribing to technical "
"training.</p>\n"
" If any further information required kindly revert back.I really "
"appreciate your co-operation on this.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
msgstr ""
"<p>Hello,</p>\n"
" <p>Thanks for showing interest and for subscribing to technical "
"training.</p>\n"
" If any further information required kindly revert back.I really "
"appreciate your co-operation on this.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
#. module: marketing_campaign_crm_demo
#: model:ir.actions.report.xml,name:marketing_campaign_crm_demo.mc_crm_lead_demo_report
msgid "Marketing campaign demo report"
msgstr "Marketing campaign demo report"
#. module: marketing_campaign_crm_demo
#: model:email.template,subject:marketing_campaign_crm_demo.email_template_8
msgid "Thanks for subscribing to technical training"
msgstr "Thanks for subscribing to technical training"
#. module: marketing_campaign_crm_demo
#: model:email.template,body_html:marketing_campaign_crm_demo.email_template_3
msgid ""
"<p>Hello,</p>\n"
" <p>Thanks for showing interest and for subscribing to the "
"OpenERP Discovery Day.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
msgstr ""
"<p>Hello,</p>\n"
" <p>Thanks for showing interest and for subscribing to the "
"OpenERP Discovery Day.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
#. module: marketing_campaign_crm_demo
#: report:crm.lead.demo:0
msgid "Company :"
msgstr "Company :"
#. module: marketing_campaign_crm_demo
#: model:email.template,subject:marketing_campaign_crm_demo.email_template_4
msgid "Thanks for buying the OpenERP book"
msgstr "Thanks for buying the OpenERP book"
#. module: marketing_campaign_crm_demo
#: model:email.template,body_html:marketing_campaign_crm_demo.email_template_6
msgid ""
"<p>Hello,</p>\n"
" <p>We have very good offer that might suit you.\n"
" For our silver partners,We are paid technical training on "
"june,2010.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
msgstr ""
"<p>Hello,</p>\n"
" <p>We have very good offer that might suit you.\n"
" For our silver partners,We are paid technical training on "
"june,2010.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
#. module: marketing_campaign_crm_demo
#: model:email.template,subject:marketing_campaign_crm_demo.email_template_1
msgid "Thanks for showing interest in OpenERP"
msgstr "Thanks for showing interest in OpenERP"
#. module: marketing_campaign_crm_demo
#: model:ir.actions.server,name:marketing_campaign_crm_demo.action_dummy
msgid "Dummy Action"
msgstr "Dummy Action"
#. module: marketing_campaign_crm_demo
#: report:crm.lead.demo:0
msgid "Partner :"
msgstr "Partner :"
#. module: marketing_campaign_crm_demo
#: model:email.template,body_html:marketing_campaign_crm_demo.email_template_2
msgid ""
"<p>Hello,</p>\n"
" <p>We have very good offer that might suit you.\n"
" We suggest you subscribe to the OpenERP Discovery Day on May "
"2010.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
msgstr ""
"<p>Hello,</p>\n"
" <p>We have very good offer that might suit you.\n"
" We suggest you subscribe to the OpenERP Discovery Day on May "
"2010.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
#. module: marketing_campaign_crm_demo
#: model:email.template,body_html:marketing_campaign_crm_demo.email_template_5
msgid ""
"<p>Hello,</p>\n"
" <p>We have very good offer that might suit you.\n"
" For our gold partners,We are arranging free technical training "
"on june,2010.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
msgstr ""
"<p>Hello,</p>\n"
" <p>We have very good offer that might suit you.\n"
" For our gold partners,We are arranging free technical training "
"on june,2010.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
#. module: marketing_campaign_crm_demo
#: model:email.template,subject:marketing_campaign_crm_demo.email_template_2
msgid "Propose to subscribe to the OpenERP Discovery Day on May 2010"
msgstr "Propose to subscribe to the OpenERP Discovery Day on May 2010"
#. module: marketing_campaign_crm_demo
#: model:email.template,subject:marketing_campaign_crm_demo.email_template_3
msgid "Thanks for subscribing to the OpenERP Discovery Day"
msgstr "Thanks for subscribing to the OpenERP Discovery Day"
#. module: marketing_campaign_crm_demo
#: model:email.template,subject:marketing_campaign_crm_demo.email_template_7
msgid "Propose gold partnership to silver partners"
msgstr "Propose gold partnership to silver partners"
#. module: marketing_campaign_crm_demo
#: model:email.template,subject:marketing_campaign_crm_demo.email_template_6
msgid "Propose paid training to Silver partners"
msgstr "Propose paid training to Silver partners"
#. module: marketing_campaign_crm_demo
#: model:email.template,body_html:marketing_campaign_crm_demo.email_template_4
msgid ""
"<p>Hello,</p>\n"
" <p>Thanks for showing interest and buying the OpenERP book.</p>\n"
" If any further information required kindly revert back.\n"
" <p>Regards,OpenERP Team,</p>"
msgstr ""
"<p>Hello,</p>\n"
" <p>Thanks for showing interest and buying the OpenERP book.</p>\n"
" If any further information required kindly revert back.\n"
" <p>Regards,OpenERP Team,</p>"
#. module: marketing_campaign_crm_demo
#: model:email.template,body_html:marketing_campaign_crm_demo.email_template_7
msgid ""
"<p>Hello,</p>\n"
" <p>We have very good offer that might suit you.\n"
" For our silver partners, we are offering Gold partnership.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
msgstr ""
"<p>Hello,</p>\n"
" <p>We have very good offer that might suit you.\n"
" For our silver partners, we are offering Gold partnership.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
#. module: marketing_campaign_crm_demo
#: model:email.template,subject:marketing_campaign_crm_demo.email_template_5
msgid "Propose a free technical training to Gold partners"
msgstr "Propose a free technical training to Gold partners"
#. module: marketing_campaign_crm_demo
#: model:email.template,body_html:marketing_campaign_crm_demo.email_template_1
msgid ""
"<p>Hello,</p>\n"
" <p>Thanks for the genuine interest you have shown in "
"OpenERP.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"
msgstr ""
"<p>Hello,</p>\n"
" <p>Thanks for the genuine interest you have shown in "
"OpenERP.</p>\n"
" <p>If any further information is required, do not hesitate to "
"reply to this message.</p>\n"
" <p>Regards,OpenERP Team,</p>"

View File

@ -27,7 +27,7 @@ import pdb
import time
import openerp
from openerp import netsvc, tools
from openerp import tools
from openerp.osv import fields, osv
from openerp.tools.translate import _
@ -442,14 +442,14 @@ class pos_session(osv.osv):
}
def _confirm_orders(self, cr, uid, ids, context=None):
wf_service = netsvc.LocalService("workflow")
account_move_obj = self.pool.get('account.move')
pos_order_obj = self.pool.get('pos.order')
for session in self.browse(cr, uid, ids, context=context):
order_ids = [order.id for order in session.order_ids if order.state == 'paid']
move_id = self.pool.get('account.move').create(cr, uid, {'ref' : session.name, 'journal_id' : session.config_id.journal_id.id, }, context=context)
move_id = account_move_obj.create(cr, uid, {'ref' : session.name, 'journal_id' : session.config_id.journal_id.id, }, context=context)
self.pool.get('pos.order')._create_account_move_line(cr, uid, order_ids, session, move_id, context=context)
pos_order_obj._create_account_move_line(cr, uid, order_ids, session, move_id, context=context)
for order in session.order_ids:
if order.state not in ('paid', 'invoiced'):
@ -457,7 +457,7 @@ class pos_session(osv.osv):
_('Error!'),
_("You cannot confirm all orders of this session, because they have not the 'paid' status"))
else:
wf_service.trg_validate(uid, 'pos.order', order.id, 'done', cr)
pos_order_obj.signal_done(cr, uid, [order.id])
return True
@ -519,8 +519,7 @@ class pos_order(osv.osv):
'journal': cash_journal.id,
}, context=context)
order_ids.append(order_id)
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'pos.order', order_id, 'paid', cr)
self.signal_paid(cr, uid, [order_id])
return order_ids
def unlink(self, cr, uid, ids, context=None):
@ -695,9 +694,8 @@ class pos_order(osv.osv):
}, context=context)
if line.qty < 0:
location_id, output_id = output_id, location_id
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'stock.picking', picking_id, 'button_confirm', cr)
picking_obj.signal_button_confirm(cr, uid, [picking_id])
picking_obj.force_assign(cr, uid, [picking_id], context)
return True
@ -707,7 +705,7 @@ class pos_order(osv.osv):
"""
stock_picking_obj = self.pool.get('stock.picking')
for order in self.browse(cr, uid, ids, context=context):
wf_service.trg_validate(uid, 'stock.picking', order.picking_id.id, 'button_cancel', cr)
stock_picking_obj.signal_button_cancel(cr, uid, [order.picking_id.id])
if stock_picking_obj.browse(cr, uid, order.picking_id.id, context=context).state <> 'cancel':
raise osv.except_osv(_('Error!'), _('Unable to cancel the picking.'))
self.write(cr, uid, ids, {'state': 'cancel'}, context=context)
@ -803,7 +801,6 @@ class pos_order(osv.osv):
return self.write(cr, uid, ids, {'state':'invoiced'}, context=context)
def action_invoice(self, cr, uid, ids, context=None):
wf_service = netsvc.LocalService("workflow")
inv_ref = self.pool.get('account.invoice')
inv_line_ref = self.pool.get('account.invoice.line')
product_obj = self.pool.get('product.product')
@ -857,7 +854,7 @@ class pos_order(osv.osv):
and [(6, 0, inv_line['invoice_line_tax_id'])] or []
inv_line_ref.create(cr, uid, inv_line, context=context)
inv_ref.button_reset_taxes(cr, uid, [inv_id], context=context)
wf_service.trg_validate(uid, 'pos.order', order.id, 'invoice', cr)
self.signal_invoice(cr, uid, [order.id])
if not inv_ids: return {}

View File

@ -19,7 +19,6 @@
#
##############################################################################
from openerp import netsvc
from openerp.osv import osv
@ -28,7 +27,6 @@ class pos_confirm(osv.osv_memory):
_description = 'Post POS Journal Entries'
def action_confirm(self, cr, uid, ids, context=None):
wf_service = netsvc.LocalService("workflow")
order_obj = self.pool.get('pos.order')
ids = order_obj.search(cr, uid, [('state','=','paid')], context=context)
for order in order_obj.browse(cr, uid, ids, context=context):
@ -38,7 +36,7 @@ class pos_confirm(osv.osv_memory):
todo = False
break
if todo:
wf_service.trg_validate(uid, 'pos.order', order.id, 'done', cr)
order_obj.signal_done(cr, uid, [order.id])
# Check if there is orders to reconcile their invoices
ids = order_obj.search(cr, uid, [('state','=','invoiced'),('invoice_id.state','=','open')], context=context)

View File

@ -23,7 +23,6 @@ import time
import pos_box_entries
from openerp import netsvc
from openerp.osv import osv, fields
from openerp.tools.translate import _
@ -67,8 +66,7 @@ class pos_make_payment(osv.osv_memory):
order_obj.add_payment(cr, uid, active_id, data, context=context)
if order_obj.test_paid(cr, uid, [active_id]):
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'pos.order', active_id, 'paid', cr)
order_obj.signal_paid(cr, uid, [active_id])
return {'type' : 'ir.actions.act_window_close' }
##self.print_report(cr, uid, ids, context=context)

View File

@ -19,7 +19,6 @@
#
##############################################################################
from openerp import netsvc
from openerp.osv import osv,fields
from openerp.tools.translate import _
import time
@ -104,7 +103,6 @@ class pos_return(osv.osv_memory):
property_obj= self.pool.get("ir.property")
uom_obj =self. pool.get('product.uom')
statementl_obj = self.pool.get('account.bank.statement.line')
wf_service = netsvc.LocalService("workflow")
#Todo :Need to clean the code
if active_id:
data = self.browse(cr, uid, ids, context=context)[0]
@ -157,7 +155,7 @@ class pos_return(osv.osv_memory):
'amount': -amount,
})
order_obj.write(cr,uid, [active_id,new_order], {'state': 'done'})
wf_service.trg_validate(uid, 'stock.picking', new_picking, 'button_confirm', cr)
picking_obj.signal_button_confirm(cr, uid, [new_picking])
picking_obj.force_assign(cr, uid, [new_picking], context)
act = {
'domain': "[('id', 'in', ["+str(new_order)+"])]",
@ -200,7 +198,6 @@ class add_product(osv.osv_memory):
date_cur=time.strftime('%Y-%m-%d')
uom_obj = self.pool.get('product.uom')
prod_obj=self.pool.get('product.product')
wf_service = netsvc.LocalService("workflow")
order_obj.add_product(cr, uid, active_id, data['product_id'], data['quantity'], context=context)
for order_id in order_obj.browse(cr, uid, [active_id], context=context):
@ -232,7 +229,7 @@ class add_product(osv.osv_memory):
'date':date_cur
})
wf_service.trg_validate(uid, 'stock.picking', new_picking, 'button_confirm', cr)
picking_obj.signal_button_confirm(cr, uid, [new_picking])
picking_obj.force_assign(cr, uid, [new_picking], context)
order_obj.write(cr,uid,active_id,{'picking_id':new_picking})
@ -265,7 +262,6 @@ class add_product(osv.osv_memory):
if return_id:
data = return_boj.read(cr,uid,return_id,[])[0]
wf_service = netsvc.LocalService("workflow")
self_data = self.browse(cr, uid, ids, context=context)[0]
order_obj.add_product(cr, uid, active_ids[0], self_data.product_id.id, self_data.quantity, context=context)
@ -306,7 +302,7 @@ class add_product(osv.osv_memory):
'name':'%s (return)' % order_id.name,
'date':date_cur,
})
wf_service.trg_validate(uid, 'stock.picking',new_picking,'button_confirm', cr)
picking_obj.signal_button_confirm(cr, uid, [new_picking])
picking_obj.force_assign(cr, uid, [new_picking], context)
obj=order_obj.browse(cr,uid, active_ids[0])
context.update({'return':'return'})

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python
from openerp import netsvc
from openerp.osv import osv, fields
from openerp.tools.translate import _
@ -37,9 +36,8 @@ class pos_session_opening(osv.osv_memory):
}
def open_existing_session_cb_close(self, cr, uid, ids, context=None):
wf_service = netsvc.LocalService("workflow")
wizard = self.browse(cr, uid, ids[0], context=context)
wf_service.trg_validate(uid, 'pos.session', wizard.pos_session_id.id, 'cashbox_control', cr)
self.pool.get('pos.session').signal_cashbox_control(cr, uid, [wizard.pos_session_id.id])
return self.open_session_cb(cr, uid, ids, context)
def open_session_cb(self, cr, uid, ids, context=None):

View File

@ -0,0 +1,25 @@
# Hungarian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-01 10:21+0000\n"
"Last-Translator: krnkris <Unknown>\n"
"Language-Team: Hungarian <hu@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: portal_anonymous
#. openerp-web
#: code:addons/portal_anonymous/static/src/xml/portal_anonymous.xml:8
#, python-format
msgid "Login"
msgstr "Bejelentkezés"

View File

@ -0,0 +1,44 @@
# Hungarian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-01 10:25+0000\n"
"Last-Translator: krnkris <Unknown>\n"
"Language-Team: Hungarian <hu@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: portal_claim
#: model:ir.actions.act_window,help:portal_claim.crm_case_categ_claim0
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to register a new claim. \n"
" </p><p>\n"
" You can track your claims from this menu and the action we\n"
" will take.\n"
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kattintson új reklamáció rögzítéséhez. \n"
" </p><p>\n"
" Ebből a menüből nyomon követheti a reklamációkat és a "
"lépéseket\n"
" amiket tenni kell.\n"
" </p>\n"
" "
#. module: portal_claim
#: model:ir.actions.act_window,name:portal_claim.crm_case_categ_claim0
#: model:ir.ui.menu,name:portal_claim.portal_after_sales_claims
msgid "Claims"
msgstr "Reklamációk"

View File

@ -0,0 +1,95 @@
# Hungarian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-01 10:47+0000\n"
"Last-Translator: krnkris <Unknown>\n"
"Language-Team: Hungarian <hu@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: portal_hr_employees
#: view:hr.employee:0
msgid "Coach"
msgstr "Tréner"
#. module: portal_hr_employees
#: model:ir.actions.act_window,name:portal_hr_employees.action_team
#: view:portal_crm.crm_contact_us:0
msgid "Our Team"
msgstr "Csoportunk"
#. module: portal_hr_employees
#: view:hr.employee:0
msgid "Group By..."
msgstr "Csoportosítás ezzel..."
#. module: portal_hr_employees
#: view:hr.employee:0
msgid "Company"
msgstr "Vállalat"
#. module: portal_hr_employees
#: selection:hr.employee,visibility:0
msgid "Public"
msgstr "Nyilvános"
#. module: portal_hr_employees
#: help:hr.employee,visibility:0
msgid "Employee's visibility in the portal's contact page"
msgstr "alkalmazottak láthatósága a portál kapcsolati oldalán"
#. module: portal_hr_employees
#: selection:hr.employee,visibility:0
msgid "Private"
msgstr "Privát"
#. module: portal_hr_employees
#: view:hr.employee:0
msgid "Manager"
msgstr "Menedzser"
#. module: portal_hr_employees
#: model:ir.model,name:portal_hr_employees.model_hr_employee
msgid "Employee"
msgstr "Alkalmazott"
#. module: portal_hr_employees
#: view:hr.employee:0
msgid "Job"
msgstr "Munka"
#. module: portal_hr_employees
#: field:hr.employee,visibility:0
msgid "Visibility"
msgstr "Láthatóság"
#. module: portal_hr_employees
#: field:hr.employee,public_info:0
msgid "Public Info"
msgstr "Nyilvános információ"
#. module: portal_hr_employees
#: model:ir.model,name:portal_hr_employees.model_portal_crm_crm_contact_us
msgid "Contact form for the portal"
msgstr "Kapcsolati lap a portálhoz"
#. module: portal_hr_employees
#: view:hr.employee:0
msgid "Department"
msgstr "Osztály, részleg"
#. module: portal_hr_employees
#: view:hr.employee:0
#: field:portal_crm.crm_contact_us,employee_ids:0
msgid "Employees"
msgstr "Alkalmazottak"

View File

@ -0,0 +1,37 @@
# Hungarian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:05+0000\n"
"PO-Revision-Date: 2013-02-01 10:44+0000\n"
"Last-Translator: krnkris <Unknown>\n"
"Language-Team: Hungarian <hu@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: portal_project
#: model:ir.actions.act_window,help:portal_project.open_view_project
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to start a new project.\n"
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kattintson új projekt létrehozásához.\n"
" </p>\n"
" "
#. module: portal_project
#: model:ir.actions.act_window,name:portal_project.open_view_project
#: model:ir.ui.menu,name:portal_project.portal_services_projects
msgid "Projects"
msgstr "Projektek"

View File

@ -0,0 +1,48 @@
# Hungarian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-02-01 10:43+0000\n"
"Last-Translator: krnkris <Unknown>\n"
"Language-Team: Hungarian <hu@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: portal_project_issue
#: view:project.issue:0
msgid "Creation:"
msgstr "Létrehozás:"
#. module: portal_project_issue
#: model:ir.actions.act_window,help:portal_project_issue.project_issue_categ_act0
msgid ""
"<p class=\"oe_view_nocontent_create\">\n"
" Click to create an issue.\n"
" </p><p>\n"
" You can track your issues from this menu and the action we\n"
" will take.\n"
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kattintson egy bejelentés létrehozásához.\n"
" </p><p>\n"
" Ebből a menüből nyomon követheti a bejelentéseit és azt, "
"hogy\n"
" mit fog tenni.\n"
" </p>\n"
" "
#. module: portal_project_issue
#: model:ir.actions.act_window,name:portal_project_issue.project_issue_categ_act0
msgid "Issues"
msgstr "Bejelentések"

View File

@ -0,0 +1,555 @@
# Hungarian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-02-01 10:41+0000\n"
"Last-Translator: krnkris <Unknown>\n"
"Language-Team: Hungarian <hu@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: portal_sale
#: model:ir.model,name:portal_sale.model_account_config_settings
msgid "account.config.settings"
msgstr "account.config.settings"
#. module: portal_sale
#: model:ir.actions.act_window,help:portal_sale.portal_action_invoices
msgid "We haven't sent you any invoice."
msgstr "Nem küldtünk semmilyen számlát."
#. module: portal_sale
#: model:email.template,report_name:portal_sale.email_template_edi_sale
msgid ""
"${(object.name or '').replace('/','_')}_${object.state == 'draft' and "
"'draft' or ''}"
msgstr ""
"${(object.name or '').replace('/','_')}_${object.state == 'draft' and "
"'draft' or ''}"
#. module: portal_sale
#: model:res.groups,name:portal_sale.group_payment_options
msgid "View Online Payment Options"
msgstr "Online fizetési lehetőségek megtekintése"
#. module: portal_sale
#: field:account.config.settings,group_payment_options:0
msgid "Show payment buttons to employees too"
msgstr "A munkavállalóknak is mutassa a fizetés gombot"
#. module: portal_sale
#: model:email.template,subject:portal_sale.email_template_edi_sale
msgid ""
"${object.company_id.name} ${object.state in ('draft', 'sent') and "
"'Quotation' or 'Order'} (Ref ${object.name or 'n/a' })"
msgstr ""
"${object.company_id.name} ${object.state in ('draft', 'sent') and "
"'Quotation' or 'Order'} (Ref ${object.name or 'n/a' })"
#. module: portal_sale
#: model:ir.actions.act_window,help:portal_sale.action_quotations_portal
msgid "We haven't sent you any quotation."
msgstr "Nem küldtünk semmilyen árajánlatot."
#. module: portal_sale
#: model:ir.ui.menu,name:portal_sale.portal_sales_orders
msgid "Sales Orders"
msgstr "Vevői megrendelések"
#. module: portal_sale
#: model:res.groups,comment:portal_sale.group_payment_options
msgid ""
"Members of this group see the online payment options\n"
"on Sale Orders and Customer Invoices. These options are meant for customers "
"who are accessing\n"
"their documents through the portal."
msgstr ""
"Ennek a csoportnak a tagjai látják az online fizetési lehetőségeket\n"
"a vevői megrendeléseken és vevők számláin. Ezek a lehetőségek azoknak a "
"vevőknek szólnak akik elérhetik\n"
"a dokumentumaikat a portálon keresztül."
#. module: portal_sale
#: model:email.template,body_html:portal_sale.email_template_edi_sale
msgid ""
"\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-"
"serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, "
"255, 255); \">\n"
"\n"
" <p>Hello ${object.partner_id.name},</p>\n"
" \n"
" <p>Here is your ${object.state in ('draft', 'sent') and 'quotation' or "
"'order confirmation'} from ${object.company_id.name}: </p>\n"
"\n"
" <p style=\"border-left: 1px solid #8e0000; margin-left: 30px;\">\n"
" &nbsp;&nbsp;<strong>REFERENCES</strong><br />\n"
" &nbsp;&nbsp;Order number: <strong>${object.name}</strong><br />\n"
" &nbsp;&nbsp;Order total: <strong>${object.amount_total} "
"${object.pricelist_id.currency_id.name}</strong><br />\n"
" &nbsp;&nbsp;Order date: ${object.date_order}<br />\n"
" % if object.origin:\n"
" &nbsp;&nbsp;Order reference: ${object.origin}<br />\n"
" % endif\n"
" % if object.client_order_ref:\n"
" &nbsp;&nbsp;Your reference: ${object.client_order_ref}<br />\n"
" % endif\n"
" % if object.user_id:\n"
" &nbsp;&nbsp;Your contact: <a href=\"mailto:${object.user_id.email or "
"''}?subject=Order%20${object.name}\">${object.user_id.name}</a>\n"
" % endif\n"
" </p>\n"
"\n"
" <% set signup_url = object.get_signup_url() %>\n"
" % if signup_url:\n"
" <p>\n"
" You can access this document and pay online via our Customer Portal:\n"
" </p>\n"
" <a style=\"display:block; width: 150px; height:20px; margin-left: "
"120px; color: #DDD; font-family: 'Lucida Grande', Helvetica, Arial, sans-"
"serif; font-size: 13px; font-weight: bold; text-align: center; text-"
"decoration: none !important; line-height: 1; padding: 5px 0px 0px 0px; "
"background-color: #8E0000; border-radius: 5px 5px; background-repeat: repeat "
"no-repeat;\"\n"
" href=\"${signup_url}\">View ${object.state in ('draft', 'sent') "
"and 'Quotation' or 'Order'}</a>\n"
" % endif\n"
"\n"
" % if object.paypal_url:\n"
" <br/>\n"
" <p>It is also possible to directly pay with Paypal:</p>\n"
" <a style=\"margin-left: 120px;\" href=\"${object.paypal_url}\">\n"
" <img class=\"oe_edi_paypal_button\" "
"src=\"https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif\"/>\n"
" </a>\n"
" % endif\n"
"\n"
" <br/>\n"
" <p>If you have any question, do not hesitate to contact us.</p>\n"
" <p>Thank you for choosing ${object.company_id.name or 'us'}!</p>\n"
" <br/>\n"
" <br/>\n"
" <div style=\"width: 375px; margin: 0px; padding: 0px; background-color: "
"#8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; "
"background-repeat: repeat no-repeat;\">\n"
" <h3 style=\"margin: 0px; padding: 2px 14px; font-size: 12px; color: "
"#DDD;\">\n"
" <strong style=\"text-"
"transform:uppercase;\">${object.company_id.name}</strong></h3>\n"
" </div>\n"
" <div style=\"width: 347px; margin: 0px; padding: 5px 14px; line-height: "
"16px; background-color: #F2F2F2;\">\n"
" <span style=\"color: #222; margin-bottom: 5px; display: block; \">\n"
" % if object.company_id.street:\n"
" ${object.company_id.street}<br/>\n"
" % endif\n"
" % if object.company_id.street2:\n"
" ${object.company_id.street2}<br/>\n"
" % endif\n"
" % if object.company_id.city or object.company_id.zip:\n"
" ${object.company_id.zip} ${object.company_id.city}<br/>\n"
" % endif\n"
" % if object.company_id.country_id:\n"
" ${object.company_id.state_id and ('%s, ' % "
"object.company_id.state_id.name) or ''} ${object.company_id.country_id.name "
"or ''}<br/>\n"
" % endif\n"
" </span>\n"
" % if object.company_id.phone:\n"
" <div style=\"margin-top: 0px; margin-right: 0px; margin-bottom: "
"0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: "
"0px; padding-left: 0px; \">\n"
" Phone:&nbsp; ${object.company_id.phone}\n"
" </div>\n"
" % endif\n"
" % if object.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a "
"href=\"${object.company_id.website}\">${object.company_id.website}</a>\n"
" </div>\n"
" % endif\n"
" <p></p>\n"
" </div>\n"
"</div>\n"
" "
msgstr ""
"\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-"
"serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, "
"255, 255); \">\n"
"\n"
" <p>Tisztelt ${object.partner_id.name},</p>\n"
" \n"
" <p>Ez itt a ${object.state in ('draft', 'sent') and 'quotation' or "
"'order confirmation'} ${object.company_id.name} vállalattól: </p>\n"
"\n"
" <p style=\"border-left: 1px solid #8e0000; margin-left: 30px;\">\n"
" &nbsp;&nbsp;<strong>REFERENCES</strong><br />\n"
" &nbsp;&nbsp;Megrendelés száma: <strong>${object.name}</strong><br />\n"
" &nbsp;&nbsp;Teljes megrendelés: <strong>${object.amount_total} "
"${object.pricelist_id.currency_id.name}</strong><br />\n"
" &nbsp;&nbsp;Megrendelés dátuma: ${object.date_order}<br />\n"
" % if object.origin:\n"
" &nbsp;&nbsp;Megrendelés hivatkozása: ${object.origin}<br />\n"
" % endif\n"
" % if object.client_order_ref:\n"
" &nbsp;&nbsp;Az Ön hivatkozása: ${object.client_order_ref}<br />\n"
" % endif\n"
" % if object.user_id:\n"
" &nbsp;&nbsp;Az Ön kapcsolata: <a href=\"mailto:${object.user_id.email "
"or ''}?subject=Order%20${object.name}\">${object.user_id.name}</a>\n"
" % endif\n"
" </p>\n"
"\n"
" <% set signup_url = object.get_signup_url() %>\n"
" % if signup_url:\n"
" <p>\n"
" Elérheti ezt a dokumentumot és fizethet online a Vásárlói portálunkon:\n"
" </p>\n"
" <a style=\"display:block; width: 150px; height:20px; margin-left: "
"120px; color: #DDD; font-family: 'Lucida Grande', Helvetica, Arial, sans-"
"serif; font-size: 13px; font-weight: bold; text-align: center; text-"
"decoration: none !important; line-height: 1; padding: 5px 0px 0px 0px; "
"background-color: #8E0000; border-radius: 5px 5px; background-repeat: repeat "
"no-repeat;\"\n"
" href=\"${signup_url}\">View ${object.state in ('draft', 'sent') "
"and 'Quotation' or 'Order'}</a>\n"
" % endif\n"
"\n"
" % if object.paypal_url:\n"
" <br/>\n"
" <p>Lehetősége van közvetlen Paypal fizetésre:</p>\n"
" <a style=\"margin-left: 120px;\" href=\"${object.paypal_url}\">\n"
" <img class=\"oe_edi_paypal_button\" "
"src=\"https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif\"/>\n"
" </a>\n"
" % endif\n"
"\n"
" <br/>\n"
" <p>Egyéb felmerülő kérdésekben forduljon bizalommal hozzánk.</p>\n"
" <p>Köszönjük, hogy minket választott ${object.company_id.name or "
"'us'}!</p>\n"
" <br/>\n"
" <br/>\n"
" <div style=\"width: 375px; margin: 0px; padding: 0px; background-color: "
"#8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; "
"background-repeat: repeat no-repeat;\">\n"
" <h3 style=\"margin: 0px; padding: 2px 14px; font-size: 12px; color: "
"#DDD;\">\n"
" <strong style=\"text-"
"transform:uppercase;\">${object.company_id.name}</strong></h3>\n"
" </div>\n"
" <div style=\"width: 347px; margin: 0px; padding: 5px 14px; line-height: "
"16px; background-color: #F2F2F2;\">\n"
" <span style=\"color: #222; margin-bottom: 5px; display: block; \">\n"
" % if object.company_id.street:\n"
" ${object.company_id.street}<br/>\n"
" % endif\n"
" % if object.company_id.street2:\n"
" ${object.company_id.street2}<br/>\n"
" % endif\n"
" % if object.company_id.city or object.company_id.zip:\n"
" ${object.company_id.zip} ${object.company_id.city}<br/>\n"
" % endif\n"
" % if object.company_id.country_id:\n"
" ${object.company_id.state_id and ('%s, ' % "
"object.company_id.state_id.name) or ''} ${object.company_id.country_id.name "
"or ''}<br/>\n"
" % endif\n"
" </span>\n"
" % if object.company_id.phone:\n"
" <div style=\"margin-top: 0px; margin-right: 0px; margin-bottom: "
"0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: "
"0px; padding-left: 0px; \">\n"
" Phone:&nbsp; ${object.company_id.phone}\n"
" </div>\n"
" % endif\n"
" % if object.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a "
"href=\"${object.company_id.website}\">${object.company_id.website}</a>\n"
" </div>\n"
" % endif\n"
" <p></p>\n"
" </div>\n"
"</div>\n"
" "
#. module: portal_sale
#: model:email.template,report_name:portal_sale.email_template_edi_invoice
msgid ""
"Invoice_${(object.number or '').replace('/','_')}_${object.state == 'draft' "
"and 'draft' or ''}"
msgstr ""
"Invoice_${(object.number or '').replace('/','_')}_${object.state == 'draft' "
"and 'draft' or ''}"
#. module: portal_sale
#: model:email.template,subject:portal_sale.email_template_edi_invoice
msgid "${object.company_id.name} Invoice (Ref ${object.number or 'n/a' })"
msgstr "${object.company_id.name} Invoice (Ref ${object.number or 'n/a' })"
#. module: portal_sale
#: model:ir.model,name:portal_sale.model_mail_mail
msgid "Outgoing Mails"
msgstr "Kimenő levelek"
#. module: portal_sale
#: model:ir.actions.act_window,name:portal_sale.action_quotations_portal
#: model:ir.ui.menu,name:portal_sale.portal_quotations
msgid "Quotations"
msgstr "Árajánlatok"
#. module: portal_sale
#: model:ir.model,name:portal_sale.model_sale_order
msgid "Sales Order"
msgstr "Vevői megrendelés"
#. module: portal_sale
#: field:account.invoice,portal_payment_options:0
#: field:sale.order,portal_payment_options:0
msgid "Portal Payment Options"
msgstr "Fizetési feltételek a portálon"
#. module: portal_sale
#: help:account.config.settings,group_payment_options:0
msgid ""
"Show online payment options on Sale Orders and Customer Invoices to "
"employees. If not checked, these options are only visible to portal users."
msgstr ""
"Mutassa a munkavállalóknak a fizetési feltételeket a vevői megrendeléseken "
"és vevői számlákon. ha nincs bejelölve, ezek a lehetőségek kizárólag a "
"portál felhasználóknak láthatóak."
#. module: portal_sale
#: model:ir.actions.act_window,name:portal_sale.portal_action_invoices
#: model:ir.ui.menu,name:portal_sale.portal_invoices
msgid "Invoices"
msgstr "Számlák"
#. module: portal_sale
#: view:account.config.settings:0
msgid "Configure payment acquiring methods"
msgstr "Fizetési beszedési mód beállítása"
#. module: portal_sale
#: model:email.template,body_html:portal_sale.email_template_edi_invoice
msgid ""
"\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-"
"serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, "
"255, 255); \">\n"
"\n"
" <p>Hello ${object.partner_id.name},</p>\n"
"\n"
" <p>A new invoice is available for you: </p>\n"
" \n"
" <p style=\"border-left: 1px solid #8e0000; margin-left: 30px;\">\n"
" &nbsp;&nbsp;<strong>REFERENCES</strong><br />\n"
" &nbsp;&nbsp;Invoice number: <strong>${object.number}</strong><br />\n"
" &nbsp;&nbsp;Invoice total: <strong>${object.amount_total} "
"${object.currency_id.name}</strong><br />\n"
" &nbsp;&nbsp;Invoice date: ${object.date_invoice}<br />\n"
" % if object.origin:\n"
" &nbsp;&nbsp;Order reference: ${object.origin}<br />\n"
" % endif\n"
" % if object.user_id:\n"
" &nbsp;&nbsp;Your contact: <a href=\"mailto:${object.user_id.email or "
"''}?subject=Invoice%20${object.number}\">${object.user_id.name}</a>\n"
" % endif\n"
" </p> \n"
"\n"
" <% set signup_url = object.get_signup_url() %>\n"
" % if signup_url:\n"
" <p>\n"
" You can access the invoice document and pay online via our Customer "
"Portal:\n"
" </p>\n"
" <a style=\"display:block; width: 150px; height:20px; margin-left: "
"120px; color: #DDD; font-family: 'Lucida Grande', Helvetica, Arial, sans-"
"serif; font-size: 13px; font-weight: bold; text-align: center; text-"
"decoration: none !important; line-height: 1; padding: 5px 0px 0px 0px; "
"background-color: #8E0000; border-radius: 5px 5px; background-repeat: repeat "
"no-repeat;\"\n"
" href=\"${signup_url}\">View Invoice</a>\n"
" % endif\n"
" \n"
" % if object.paypal_url:\n"
" <br/>\n"
" <p>It is also possible to directly pay with Paypal:</p>\n"
" <a style=\"margin-left: 120px;\" href=\"${object.paypal_url}\">\n"
" <img class=\"oe_edi_paypal_button\" "
"src=\"https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif\"/>\n"
" </a>\n"
" % endif\n"
" \n"
" <br/>\n"
" <p>If you have any question, do not hesitate to contact us.</p>\n"
" <p>Thank you for choosing ${object.company_id.name or 'us'}!</p>\n"
" <br/>\n"
" <br/>\n"
" <div style=\"width: 375px; margin: 0px; padding: 0px; background-color: "
"#8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; "
"background-repeat: repeat no-repeat;\">\n"
" <h3 style=\"margin: 0px; padding: 2px 14px; font-size: 12px; color: "
"#DDD;\">\n"
" <strong style=\"text-"
"transform:uppercase;\">${object.company_id.name}</strong></h3>\n"
" </div>\n"
" <div style=\"width: 347px; margin: 0px; padding: 5px 14px; line-height: "
"16px; background-color: #F2F2F2;\">\n"
" <span style=\"color: #222; margin-bottom: 5px; display: block; \">\n"
" % if object.company_id.street:\n"
" ${object.company_id.street}<br/>\n"
" % endif\n"
" % if object.company_id.street2:\n"
" ${object.company_id.street2}<br/>\n"
" % endif\n"
" % if object.company_id.city or object.company_id.zip:\n"
" ${object.company_id.zip} ${object.company_id.city}<br/>\n"
" % endif\n"
" % if object.company_id.country_id:\n"
" ${object.company_id.state_id and ('%s, ' % "
"object.company_id.state_id.name) or ''} ${object.company_id.country_id.name "
"or ''}<br/>\n"
" % endif\n"
" </span>\n"
" % if object.company_id.phone:\n"
" <div style=\"margin-top: 0px; margin-right: 0px; margin-bottom: "
"0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: "
"0px; padding-left: 0px; \">\n"
" Phone:&nbsp; ${object.company_id.phone}\n"
" </div>\n"
" % endif\n"
" % if object.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a "
"href=\"${object.company_id.website}\">${object.company_id.website}</a>\n"
" </div>\n"
" % endif\n"
" <p></p>\n"
" </div>\n"
"</div>\n"
" "
msgstr ""
"\n"
"<div style=\"font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-"
"serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, "
"255, 255); \">\n"
"\n"
" <p>Tisztelt${object.partner_id.name},</p>\n"
"\n"
" <p>Egy új számla készült Önöknek: </p>\n"
" \n"
" <p style=\"border-left: 1px solid #8e0000; margin-left: 30px;\">\n"
" &nbsp;&nbsp;<strong>REFERENCES</strong><br />\n"
" &nbsp;&nbsp;Számla száma: <strong>${object.number}</strong><br />\n"
" &nbsp;&nbsp;Összesen kiszámlázott: <strong>${object.amount_total} "
"${object.currency_id.name}</strong><br />\n"
" &nbsp;&nbsp;Számla dátuma: ${object.date_invoice}<br />\n"
" % if object.origin:\n"
" &nbsp;&nbsp;Számla hivatkozás: ${object.origin}<br />\n"
" % endif\n"
" % if object.user_id:\n"
" &nbsp;&nbsp;Ön kapcsolata: <a href=\"mailto:${object.user_id.email or "
"''}?subject=Invoice%20${object.number}\">${object.user_id.name}</a>\n"
" % endif\n"
" </p> \n"
"\n"
" <% set signup_url = object.get_signup_url() %>\n"
" % if signup_url:\n"
" <p>\n"
" Elérheti a számla dokumentumot és fizethet online az ügyfél "
"portálunkon:\n"
" </p>\n"
" <a style=\"display:block; width: 150px; height:20px; margin-left: "
"120px; color: #DDD; font-family: 'Lucida Grande', Helvetica, Arial, sans-"
"serif; font-size: 13px; font-weight: bold; text-align: center; text-"
"decoration: none !important; line-height: 1; padding: 5px 0px 0px 0px; "
"background-color: #8E0000; border-radius: 5px 5px; background-repeat: repeat "
"no-repeat;\"\n"
" href=\"${signup_url}\">Számla megtekintése</a>\n"
" % endif\n"
" \n"
" % if object.paypal_url:\n"
" <br/>\n"
" <p>Lehetőség van közvetlen Paypal fizetésre:</p>\n"
" <a style=\"margin-left: 120px;\" href=\"${object.paypal_url}\">\n"
" <img class=\"oe_edi_paypal_button\" "
"src=\"https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif\"/>\n"
" </a>\n"
" % endif\n"
" \n"
" <br/>\n"
" <p>További felmerülő kérdésekben állunk szíves rendelkezésükre.</p>\n"
" <p>Köszönjük, hogy minket választott ${object.company_id.name or "
"'us'}!</p>\n"
" <br/>\n"
" <br/>\n"
" <div style=\"width: 375px; margin: 0px; padding: 0px; background-color: "
"#8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; "
"background-repeat: repeat no-repeat;\">\n"
" <h3 style=\"margin: 0px; padding: 2px 14px; font-size: 12px; color: "
"#DDD;\">\n"
" <strong style=\"text-"
"transform:uppercase;\">${object.company_id.name}</strong></h3>\n"
" </div>\n"
" <div style=\"width: 347px; margin: 0px; padding: 5px 14px; line-height: "
"16px; background-color: #F2F2F2;\">\n"
" <span style=\"color: #222; margin-bottom: 5px; display: block; \">\n"
" % if object.company_id.street:\n"
" ${object.company_id.street}<br/>\n"
" % endif\n"
" % if object.company_id.street2:\n"
" ${object.company_id.street2}<br/>\n"
" % endif\n"
" % if object.company_id.city or object.company_id.zip:\n"
" ${object.company_id.zip} ${object.company_id.city}<br/>\n"
" % endif\n"
" % if object.company_id.country_id:\n"
" ${object.company_id.state_id and ('%s, ' % "
"object.company_id.state_id.name) or ''} ${object.company_id.country_id.name "
"or ''}<br/>\n"
" % endif\n"
" </span>\n"
" % if object.company_id.phone:\n"
" <div style=\"margin-top: 0px; margin-right: 0px; margin-bottom: "
"0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: "
"0px; padding-left: 0px; \">\n"
" Phone:&nbsp; ${object.company_id.phone}\n"
" </div>\n"
" % endif\n"
" % if object.company_id.website:\n"
" <div>\n"
" Web :&nbsp;<a "
"href=\"${object.company_id.website}\">${object.company_id.website}</a>\n"
" </div>\n"
" % endif\n"
" <p></p>\n"
" </div>\n"
"</div>\n"
" "
#. module: portal_sale
#: model:ir.actions.act_window,help:portal_sale.action_orders_portal
msgid "We haven't sent you any sales order."
msgstr "Nem küldtünk semmilyen megrendelést."
#. module: portal_sale
#: model:ir.model,name:portal_sale.model_account_invoice
msgid "Invoice"
msgstr "Számla"
#. module: portal_sale
#: model:ir.actions.act_window,name:portal_sale.action_orders_portal
msgid "Sale Orders"
msgstr "Vevői rendelések"

View File

@ -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:08+0000\n"
"Last-Translator: Krisztian Eyssen <krisz@eyssen.hu>\n"
"PO-Revision-Date: 2013-02-01 10:21+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:27+0000\n"
"X-Generator: Launchpad (build 16378)\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: process
#: model:ir.model,name:process.model_process_node
@ -40,7 +40,7 @@ msgstr "Kapcsolódó menü"
#. module: process
#: selection:process.node,kind:0
msgid "Status"
msgstr ""
msgstr "Állapot"
#. module: process
#: field:process.transition,action_ids:0
@ -138,7 +138,7 @@ msgstr "Munkafolyamat átmenetek"
#: code:addons/process/static/src/xml/process.xml:39
#, python-format
msgid "Last modified by:"
msgstr ""
msgstr "Utoljára módosította:"
#. module: process
#: field:process.transition.action,action:0
@ -150,7 +150,7 @@ msgstr "Művelet ID"
#: code:addons/process/static/src/xml/process.xml:7
#, python-format
msgid "Process View"
msgstr ""
msgstr "Folyamat nézet"
#. module: process
#: model:ir.model,name:process.model_process_transition
@ -198,7 +198,7 @@ msgstr "Átmenetek indítása"
#: code:addons/process/static/src/xml/process.xml:54
#, python-format
msgid "Related:"
msgstr ""
msgstr "Kapcsolódó:"
#. module: process
#: view:process.node:0
@ -214,14 +214,14 @@ msgstr "Megjegyzések"
#: code:addons/process/static/src/xml/process.xml:88
#, python-format
msgid "Edit Process"
msgstr ""
msgstr "Folymat szerkesztés"
#. module: process
#. openerp-web
#: code:addons/process/static/src/xml/process.xml:39
#, python-format
msgid "N/A"
msgstr ""
msgstr "Nem elérhető"
#. module: process
#: view:process.process:0
@ -253,7 +253,7 @@ msgstr "Művelet"
#: code:addons/process/static/src/xml/process.xml:67
#, python-format
msgid "Select Process"
msgstr ""
msgstr "Folyamat kiválasztása"
#. module: process
#: field:process.condition,model_states:0
@ -340,7 +340,7 @@ msgstr "Csomópont típusa"
#: code:addons/process/static/src/xml/process.xml:42
#, python-format
msgid "Subflows:"
msgstr ""
msgstr "Alfolyamatok:"
#. module: process
#: view:process.node:0
@ -353,7 +353,7 @@ msgstr "Kimenő átmenetek"
#: code:addons/process/static/src/xml/process.xml:36
#, python-format
msgid "Notes:"
msgstr ""
msgstr "Mejegyzés"
#. module: process
#: selection:process.node,kind:0
@ -377,7 +377,7 @@ msgstr "Tárgy módszer"
#: code:addons/process/static/src/xml/process.xml:77
#, python-format
msgid "Select"
msgstr ""
msgstr "Kiválasztás"
#~ msgid "State"
#~ msgstr "Állapot"

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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')

View File

@ -7,14 +7,14 @@ msgstr ""
"Project-Id-Version: OpenERP Server 6.0dev_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-01-31 20:09+0000\n"
"PO-Revision-Date: 2013-02-01 10:19+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: 2013-02-01 04:47+0000\n"
"X-Generator: Launchpad (build 16455)\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: product
#: field:product.packaging,rows:0
@ -2280,6 +2280,8 @@ msgid ""
"A category of the view type is a virtual category that can be used as the "
"parent of another category to create a hierarchical structure."
msgstr ""
"A nézet típus kategóriája virtuális kategória, ami felhasználható mint a "
"többi kategória szülő kategóriája, a hierarchikus szerkezet létrehozásához."
#. module: product
#: selection:product.ul,type:0
@ -2292,6 +2294,8 @@ msgid ""
"Specify a template if this rule only applies to one product template. Keep "
"empty otherwise."
msgstr ""
"Határozzon meg egy sablont, ha ez a szabály csak egy termék sablonhoz "
"tartozik. Egyébként hagyja üresen."
#. module: product
#: model:product.template,description:product.product_product_2_product_template
@ -2299,6 +2303,9 @@ msgid ""
"This type of service include assistance for security questions, system "
"configuration requirements, implementation or special needs."
msgstr ""
"Ez a típusú szolgáltatás tartalmaz segítségnyújtást a biztonsági "
"kérdésekhez, rendszer beállítási igényekhez, végrehajtáshoz vagy speciális "
"igényekhez."
#. module: product
#: field:product.product,image:0
@ -2318,6 +2325,10 @@ msgid ""
"2GB RAM\n"
"HDD SH-1"
msgstr ""
"19\" LCD Monitor\n"
"Processzor Core i5 2.70 Ghz\n"
"2GB RAM\n"
"HDD SH-1"
#. module: product
#: view:product.template:0
@ -2327,17 +2338,17 @@ msgstr "Leírások"
#. module: product
#: model:res.groups,name:product.group_stock_packaging
msgid "Manage Product Packaging"
msgstr ""
msgstr "Termék csomagolás szervezése"
#. module: product
#: model:product.category,name:product.product_category_2
msgid "Internal"
msgstr ""
msgstr "Belső"
#. module: product
#: model:product.template,name:product.product_product_45_product_template
msgid "Router R430"
msgstr ""
msgstr "Router R430"
#. module: product
#: help:product.packaging,sequence:0
@ -2357,6 +2368,8 @@ msgid ""
"At least one pricelist has no active version !\n"
"Please create or activate one."
msgstr ""
"Legalább egy árlistának nincs aktív változata!\n"
"Kérem hozzon létre vagy aktiváljon egyet."
#. module: product
#: field:product.pricelist.item,price_max_margin:0
@ -2400,6 +2413,22 @@ msgid ""
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kattintson árlista létrehozásához.\n"
" </p><p>\n"
" Az árlista szabályokat tartalmaz a vásárlói ár "
"meghatározásának\n"
" kiszámításához. Az alapértelmezett árlistának csak egy "
"szabálya van; \n"
" használja a termék lapon meghatározott költség árat, így ne "
"kell törődnie a\n"
" beszállítói árlistákkal, ha nagyon egyszerű igényei vannak.\n"
" </p><p>\n"
" De be tud olvasni komplex árlistát is a beszállítóitól\n"
" ami a megrendelt mennyiségektől vagy az érvényes\n"
" akciós áraktól függhet.\n"
" </p>\n"
" "
#. module: product
#: selection:product.template,mes_type:0
@ -2424,7 +2453,7 @@ msgstr "Min. árrés"
#. module: product
#: model:res.groups,name:product.group_uom
msgid "Manage Multiple Units of Measure"
msgstr ""
msgstr "Mértékegységek szervezése"
#. module: product
#: help:product.packaging,weight:0
@ -2434,7 +2463,7 @@ msgstr "A teljes csomag, raklap vagy doboz tömege."
#. module: product
#: view:product.uom:0
msgid "e.g: 1 * (this unit) = ratio * (reference unit)"
msgstr ""
msgstr "e.g: 1 * (e az egység) = arány * (referencia egység)"
#. module: product
#: model:product.template,description:product.product_product_25_product_template
@ -2444,6 +2473,10 @@ msgid ""
"Standard-1294P Processor\n"
"QWERTY keyboard"
msgstr ""
"17\" Monitor\n"
"4GB RAM\n"
"Standard-1294P Processzor\n"
"QWERTY billentyűzet"
#. module: product
#: field:product.category,sequence:0
@ -2459,11 +2492,13 @@ msgid ""
"Average delay in days to produce this product. In the case of multi-level "
"BOM, the manufacturing lead times of the components will be added."
msgstr ""
"Átlag késés napokban, ennek a terméknek az előállításához. Több lépcsős "
"anyagjegyzék (BOM) esetén, az alkatrészek gyártási ideje is hozzá lesz adva."
#. module: product
#: model:product.template,name:product.product_assembly_product_template
msgid "Assembly Service Cost"
msgstr ""
msgstr "Összeszerelés szolgáltatás költsége"
#. module: product
#: model:ir.model,name:product.model_product_pricelist_item
@ -2481,11 +2516,19 @@ msgid ""
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kattintson egy új mértékegység hozzáadásához.\n"
" </p><p>\n"
" Meg kell határoznia egy konvertálási arány tényezőt az \n"
" ugyanahhoz a kategóriához tartozó különböző\n"
" mértékegységekhez.\n"
" </p>\n"
" "
#. module: product
#: model:product.template,name:product.product_product_11_product_template
msgid "Mouse, Laser"
msgstr ""
msgstr "Egér, lézeres"
#. module: product
#: view:product.template:0
@ -2534,21 +2577,24 @@ msgid ""
"image, with aspect ratio preserved. Use this field anywhere a small image is "
"required."
msgstr ""
"Kis-méretű kép a termékről. Automatikusan át lesz alakítva mint 64x64px "
"képpontos kép, az arányt megtartva. Használja ezt a mezőt mindenhol ahol kis "
"képre van szükség."
#. module: product
#: model:product.template,name:product.product_product_40_product_template
msgid "Windows 7 Professional"
msgstr ""
msgstr "Windows 8 Professional"
#. module: product
#: selection:product.uom,uom_type:0
msgid "Reference Unit of Measure for this category"
msgstr ""
msgstr "Ennek a kategóriának a referencia mértékegysége"
#. module: product
#: field:product.supplierinfo,product_uom:0
msgid "Supplier Unit of Measure"
msgstr ""
msgstr "Beszállító mértékegysége"
#. module: product
#: view:product.product:0
@ -2559,7 +2605,7 @@ msgstr "Termékváltozat"
#. module: product
#: model:product.template,name:product.product_product_6_product_template
msgid "15” LCD Monitor"
msgstr ""
msgstr "15” LCD Monitor"
#. module: product
#: code:addons/product/pricelist.py:376
@ -2588,6 +2634,20 @@ msgid ""
" </p>\n"
" "
msgstr ""
"<p class=\"oe_view_nocontent_create\">\n"
" Kattintson árlista létrehouzásához.\n"
" </p><p>\n"
" Az árlista szabályokat tartalmaz a termékek eladási árának\n"
" megbecsült kiszámításához.\n"
" </p><p>\n"
" Az árlistának lehet több verziója (2013, 2014, 2013 Februári "
"akció,\n"
" stb.) és minden verziónak lehet egy pár szabálya.\n"
" (p.l. a termék kategória értékesítési ára a vevő felé alapul "
"veheti a\n"
" beszállítói árat 1.80-al megszorozva).\n"
" </p>\n"
" "
#. module: product
#: model:ir.model,name:product.model_product_template
@ -2612,7 +2672,7 @@ msgstr "Termékkategória"
#. module: product
#: model:product.template,description:product.product_product_19_product_template
msgid "On demand hard-disk having capacity based on requirement."
msgstr ""
msgstr "A keresett meghajtó egységnek a kapacitása az igényen alapul."
#. module: product
#: selection:product.template,state:0
@ -2622,7 +2682,7 @@ msgstr "Életciklus vége"
#. module: product
#: model:product.template,name:product.product_product_15_product_template
msgid "RAM SR3"
msgstr ""
msgstr "RAM SR3"
#. module: product
#: help:product.product,packaging:0
@ -2664,11 +2724,13 @@ msgid ""
"Conversion between Units of Measure can only occur if they belong to the "
"same category. The conversion will be made based on the ratios."
msgstr ""
"A mértékegységek átváltása csak akkor lehetséges, ha ugyanabba a kategóriába "
"tartoznak. Az átváltás az arányszámok alapján történik."
#. module: product
#: constraint:product.category:0
msgid "Error ! You cannot create recursive categories."
msgstr ""
msgstr "Hiba! Nem tud ismétlődő kategóriát létrehozni."
#. module: product
#: help:product.product,image_medium:0
@ -2677,16 +2739,20 @@ msgid ""
"128x128px image, with aspect ratio preserved, only when the image exceeds "
"one of those sizes. Use this field in form views or some kanban views."
msgstr ""
"Közepes-méretű kép a termékről. Automatikusan át lesz méretezve mint "
"128x128px képpontos kép, a méretarányt megtartva, csak akkor, ha a kép egyik "
"mérete túllépi az értéket. Használja ezt a lap/forma nézeteken vagy egyes "
"kanban nézetben."
#. module: product
#: view:product.uom:0
msgid "e.g: 1 * (reference unit) = ratio * (this unit)"
msgstr ""
msgstr "e.g: 1 * (referencia egység) = arány * (ezaz egység)"
#. module: product
#: help:product.supplierinfo,qty:0
msgid "This is a quantity which is converted into Default Unit of Measure."
msgstr ""
msgstr "Ez az a mennyiség amit átvált az alapértelmezett mértékegységre."
#. module: product
#: help:product.template,volume:0

View File

@ -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: 2013-01-28 00:43+0000\n"
"PO-Revision-Date: 2013-02-01 09:31+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: 2013-01-29 05:20+0000\n"
"X-Generator: Launchpad (build 16451)\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: product_expiry
#: model:product.template,name:product_expiry.product_product_from_product_template
@ -132,6 +132,8 @@ msgid ""
"When a new a Serial Number is issued, this is the number of days before the "
"goods may become dangerous and must not be consumed."
msgstr ""
"Ha egy szériaszám hozzáadásra került, akkor ez a szám annak a napoknak a "
"száma mielőtt a termék fogyaszthatatlanná válik és veszélyes lesz."
#. module: product_expiry
#: field:stock.production.lot,alert_date:0
@ -144,6 +146,8 @@ msgid ""
"This is the date on which the goods with this Serial Number start "
"deteriorating, without being dangerous yet."
msgstr ""
"Ez az a dátum amikor az ezzel a szériaszámmal ellátott áru elkezd romlani, "
"anélkül, hogy az még veszélyes lenne."
#. module: product_expiry
#: help:stock.production.lot,life_date:0
@ -151,11 +155,13 @@ msgid ""
"This is the date on which the goods with this Serial Number may become "
"dangerous and must not be consumed."
msgstr ""
"Ez az a dátum amikor az ezzel a szériaszámmal ellátott áru veszélyes lesz és "
"nem szabad fogyasztani."
#. module: product_expiry
#: field:product.product,alert_time:0
msgid "Product Alert Time"
msgstr ""
msgstr "Termék riasztási idő"
#~ msgid "Production lot"
#~ msgstr "Gyártási tétel"

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-01 04:47+0000\n"
"X-Generator: Launchpad (build 16455)\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: product_expiry
#: model:product.template,name:product_expiry.product_product_from_product_template

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-01 04:47+0000\n"
"X-Generator: Launchpad (build 16455)\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: product_manufacturer
#: field:product.product,manufacturer_pref:0

View File

@ -14,8 +14,8 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-01 04:47+0000\n"
"X-Generator: Launchpad (build 16455)\n"
"X-Launchpad-Export-Date: 2013-02-02 05:07+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: project_issue
#: model:project.category,name:project_issue.project_issue_category_03

View File

@ -0,0 +1,503 @@
# Slovenian translation for openobject-addons
# Copyright (c) 2013 Rosetta Contributors and Canonical Ltd 2013
# This file is distributed under the same license as the openobject-addons package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2013.
#
msgid ""
msgstr ""
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2012-12-21 17:06+0000\n"
"PO-Revision-Date: 2013-02-03 11:39+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Slovenian <sl@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Launchpad-Export-Date: 2013-02-04 05:12+0000\n"
"X-Generator: Launchpad (build 16462)\n"
#. module: project_long_term
#: help:project.phase,constraint_date_end:0
msgid "force the phase to finish before this date"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
#: selection:project.phase,state:0
msgid "In Progress"
msgstr "V teku"
#. module: project_long_term
#: field:account.analytic.account,use_phases:0
#: model:ir.actions.act_window,name:project_long_term.act_project_phases
#: view:project.project:0
msgid "Phases"
msgstr "Faze"
#. module: project_long_term
#: model:ir.actions.act_window,name:project_long_term.act_resouce_allocation
#: model:ir.ui.menu,name:project_long_term.menu_resouce_allocation
#: view:project.phase:0
#: view:project.user.allocation:0
msgid "Team Planning"
msgstr ""
#. module: project_long_term
#: field:project.phase,user_ids:0
msgid "Assigned Users"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
#: field:project.phase,next_phase_ids:0
msgid "Next Phases"
msgstr ""
#. module: project_long_term
#: model:ir.model,name:project_long_term.model_project_user_allocation
msgid "Phase User Allocation"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
msgid "Project's Tasks"
msgstr ""
#. module: project_long_term
#: model:ir.actions.act_window,help:project_long_term.action_project_compute_phases
msgid ""
"To schedule phases of all or a specified project. It then open a gantt "
"view.\n"
" "
msgstr ""
#. module: project_long_term
#: field:project.phase,task_ids:0
msgid "Project Tasks"
msgstr "Naloge projekta"
#. module: project_long_term
#: model:ir.actions.act_window,name:project_long_term.action_project_compute_phases
#: model:ir.ui.menu,name:project_long_term.menu_compute_phase
#: view:project.compute.phases:0
msgid "Schedule Phases"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
#: field:project.phase,state:0
msgid "Status"
msgstr "Status"
#. module: project_long_term
#: field:project.compute.phases,target_project:0
msgid "Action"
msgstr "Dejanje"
#. module: project_long_term
#: view:project.phase:0
msgid "Start Phase"
msgstr ""
#. module: project_long_term
#: model:ir.model,name:project_long_term.model_project_task
msgid "Task"
msgstr "Naloga"
#. module: project_long_term
#: view:project.phase:0
msgid "Draft"
msgstr "Osnutek"
#. module: project_long_term
#: view:project.compute.phases:0
#: view:project.compute.tasks:0
msgid "C_ompute"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
#: selection:project.phase,state:0
msgid "New"
msgstr "Novo"
#. module: project_long_term
#: field:project.phase,product_uom:0
msgid "Duration Unit of Measure"
msgstr ""
#. module: project_long_term
#: model:ir.ui.menu,name:project_long_term.menu_view_resource_calendar_leaves
msgid "Resource Leaves"
msgstr "Odsotnost virov"
#. module: project_long_term
#: view:project.phase:0
#: selection:project.phase,state:0
msgid "Pending"
msgstr "Na čakanju"
#. module: project_long_term
#: help:project.phase,progress:0
msgid "Computed based on related tasks"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
msgid "In Progress Phases"
msgstr ""
#. module: project_long_term
#: code:addons/project_long_term/project_long_term.py:140
#, python-format
msgid "%s (copy)"
msgstr "%s (kopija)"
#. module: project_long_term
#: code:addons/project_long_term/wizard/project_compute_phases.py:48
#, python-format
msgid "Please specify a project to schedule."
msgstr ""
#. module: project_long_term
#: view:project.phase:0
#: view:project.user.allocation:0
msgid "Group By..."
msgstr "Združeno po..."
#. module: project_long_term
#: view:project.phase:0
msgid "Remaining Hours"
msgstr "Preostale ure"
#. module: project_long_term
#: field:project.phase,constraint_date_start:0
msgid "Minimum Start Date"
msgstr ""
#. module: project_long_term
#: help:project.phase,product_uom:0
msgid ""
"Unit of Measure (Unit of Measure) is the unit of measurement for Duration"
msgstr ""
#. module: project_long_term
#: help:project.phase,user_ids:0
msgid ""
"The resources on the project can be computed automatically by the scheduler."
msgstr ""
#. module: project_long_term
#: field:project.phase,sequence:0
msgid "Sequence"
msgstr "Zaporedje"
#. module: project_long_term
#: help:account.analytic.account,use_phases:0
msgid "Check this field if you plan to use phase-based scheduling"
msgstr ""
#. module: project_long_term
#: help:project.phase,state:0
msgid ""
"If the phase is created the status 'Draft'.\n"
" If the phase is started, the status becomes 'In Progress'.\n"
" If review is needed the phase is in 'Pending' status. "
" \n"
" If the phase is over, the status is set to 'Done'."
msgstr ""
#. module: project_long_term
#: field:project.phase,progress:0
msgid "Progress"
msgstr "Potek"
#. module: project_long_term
#: model:ir.ui.menu,name:project_long_term.menu_pm_users_project1
#: model:ir.ui.menu,name:project_long_term.menu_view_resource
msgid "Resources"
msgstr "Viri"
#. module: project_long_term
#: view:project.phase:0
msgid "My Projects"
msgstr "Moji projekti"
#. module: project_long_term
#: view:project.project:0
#: view:project.user.allocation:0
msgid "Phase"
msgstr "Faza"
#. module: project_long_term
#: help:project.phase,duration:0
msgid "By default in days"
msgstr ""
#. module: project_long_term
#: model:ir.ui.menu,name:project_long_term.menu_view_resource_calendar
msgid "Working Time"
msgstr "Delovni čas"
#. module: project_long_term
#: view:project.phase:0
msgid "Pending Phases"
msgstr ""
#. module: project_long_term
#: help:project.user.allocation,date_start:0
msgid "Starting Date"
msgstr "Začetni datum"
#. module: project_long_term
#: view:project.phase:0
msgid "Related Tasks"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
msgid "Start Month"
msgstr ""
#. module: project_long_term
#: field:project.phase,date_end:0
#: field:project.user.allocation,date_end:0
msgid "End Date"
msgstr "Končni datum"
#. module: project_long_term
#: model:ir.model,name:project_long_term.model_project_compute_tasks
msgid "Project Compute Tasks"
msgstr ""
#. module: project_long_term
#: model:ir.actions.act_window,help:project_long_term.act_project_phase
msgid ""
"A project can be split into the different phases. For each phase, you can "
"define your users allocation, describe different tasks and link your phase "
"to previous and next phases, add date constraints for the automated "
"scheduling. Use the long term planning in order to planify your available "
"users, convert your phases into a series of tasks when you start working on "
"the project."
msgstr ""
#. module: project_long_term
#: selection:project.compute.phases,target_project:0
msgid "Compute a Single Project"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
#: field:project.phase,previous_phase_ids:0
msgid "Previous Phases"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
msgid "New Phases"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
msgid "Tasks Details"
msgstr ""
#. module: project_long_term
#: field:project.project,phase_count:0
msgid "Open Phases"
msgstr ""
#. module: project_long_term
#: help:project.phase,date_end:0
msgid ""
" It's computed by the scheduler according to the start date and the duration."
msgstr ""
#. module: project_long_term
#: constraint:project.phase:0
msgid "Loops in phases not allowed"
msgstr ""
#. module: project_long_term
#: view:project.user.allocation:0
#: field:project.user.allocation,user_id:0
msgid "User"
msgstr "Uporabnik"
#. module: project_long_term
#: model:ir.model,name:project_long_term.model_project_project
#: field:project.compute.phases,project_id:0
#: field:project.compute.tasks,project_id:0
#: view:project.phase:0
#: field:project.phase,project_id:0
#: view:project.task:0
#: view:project.user.allocation:0
#: field:project.user.allocation,project_id:0
msgid "Project"
msgstr "Projekt"
#. module: project_long_term
#: view:project.compute.phases:0
#: view:project.compute.tasks:0
#: view:project.phase:0
msgid "Cancel"
msgstr "Prekliči"
#. module: project_long_term
#: view:project.phase:0
msgid "Project Users"
msgstr ""
#. module: project_long_term
#: model:ir.model,name:project_long_term.model_project_phase
#: view:project.phase:0
#: view:project.task:0
#: field:project.task,phase_id:0
#: field:project.user.allocation,phase_id:0
msgid "Project Phase"
msgstr ""
#. module: project_long_term
#: model:ir.ui.menu,name:project_long_term.menu_phase_schedule
msgid "Scheduling"
msgstr "Razporejanje"
#. module: project_long_term
#: constraint:project.phase:0
msgid "Phase start-date must be lower than phase end-date."
msgstr ""
#. module: project_long_term
#: selection:project.phase,state:0
msgid "Cancelled"
msgstr "Preklicano"
#. module: project_long_term
#: view:project.phase:0
msgid "Total Hours"
msgstr "Ure skupaj"
#. module: project_long_term
#: model:ir.model,name:project_long_term.model_project_compute_phases
msgid "Project Compute Phases"
msgstr ""
#. module: project_long_term
#: field:project.phase,date_start:0
#: field:project.user.allocation,date_start:0
msgid "Start Date"
msgstr "Začetni datum"
#. module: project_long_term
#: view:project.phase:0
msgid "Constraints"
msgstr "Omejitve"
#. module: project_long_term
#: help:project.phase,sequence:0
msgid "Gives the sequence order when displaying a list of phases."
msgstr ""
#. module: project_long_term
#: model:ir.actions.act_window,name:project_long_term.project_phase_task_list
msgid "Tasks"
msgstr "Naloge"
#. module: project_long_term
#: help:project.user.allocation,date_end:0
msgid "Ending Date"
msgstr "Končni datum"
#. module: project_long_term
#: code:addons/project_long_term/wizard/project_compute_phases.py:48
#, python-format
msgid "Error!"
msgstr "Napaka!"
#. module: project_long_term
#: help:project.phase,date_start:0
msgid ""
"It's computed by the scheduler according the project date or the end date of "
"the previous phase."
msgstr ""
#. module: project_long_term
#: model:ir.actions.act_window,name:project_long_term.act_project_phase
#: model:ir.actions.act_window,name:project_long_term.act_project_phase_list
#: model:ir.ui.menu,name:project_long_term.menu_project_phase
#: model:ir.ui.menu,name:project_long_term.menu_project_phase_list
#: view:project.phase:0
#: field:project.project,phase_ids:0
msgid "Project Phases"
msgstr ""
#. module: project_long_term
#: help:project.phase,constraint_date_start:0
msgid "force the phase to start after this date"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
msgid "Month"
msgstr "Mesec"
#. module: project_long_term
#: model:ir.model,name:project_long_term.model_account_analytic_account
msgid "Analytic Account"
msgstr "Analitični konto"
#. module: project_long_term
#: field:project.phase,constraint_date_end:0
msgid "Deadline"
msgstr "Rok"
#. module: project_long_term
#: view:project.user.allocation:0
msgid "Project User Allocation"
msgstr ""
#. module: project_long_term
#: model:ir.actions.act_window,name:project_long_term.action_project_compute_tasks
#: model:ir.ui.menu,name:project_long_term.menu_compute_tasks
#: view:project.compute.tasks:0
msgid "Schedule Tasks"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
#: selection:project.phase,state:0
msgid "Done"
msgstr "Končano"
#. module: project_long_term
#: selection:project.compute.phases,target_project:0
msgid "Compute All My Projects"
msgstr ""
#. module: project_long_term
#: field:project.phase,user_force_ids:0
msgid "Force Assigned Users"
msgstr ""
#. module: project_long_term
#: view:project.phase:0
#: field:project.phase,duration:0
msgid "Duration"
msgstr ""
#. module: project_long_term
#: view:project.user.allocation:0
msgid "Users"
msgstr ""
#. module: project_long_term
#: field:project.phase,name:0
msgid "Name"
msgstr ""
#. module: project_long_term
#: view:project.compute.phases:0
#: view:project.compute.tasks:0
msgid "or"
msgstr ""

View File

@ -25,7 +25,6 @@ from dateutil.relativedelta import relativedelta
from operator import attrgetter
from openerp.osv import fields, osv
from openerp import netsvc
from openerp import pooler
from openerp.tools.translate import _
import openerp.addons.decimal_precision as dp
@ -484,7 +483,6 @@ class purchase_order(osv.osv):
if not len(ids):
return False
self.write(cr, uid, ids, {'state':'draft','shipped':0})
wf_service = netsvc.LocalService("workflow")
for p_id in ids:
# Deleting the existing instance of workflow for PO
self.delete_workflow(cr, uid, [p_id]) # TODO is it necessary to interleave the calls?
@ -777,7 +775,6 @@ class purchase_order(osv.osv):
allorders = []
orders_info = {}
wf_service = netsvc.LocalService("workflow")
for order_key, (order_data, old_ids) in new_orders.iteritems():
# skip merges with only one order
if len(old_ids) < 2:

View File

@ -59,9 +59,7 @@
I Validate Invoice of Purchase Order.
-
!python {model: purchase.order}: |
import netsvc
invoice_ids = [x.id for x in self.browse(cr, uid, ref("purchase_order_1")).invoice_ids]
wf_service = netsvc.LocalService("workflow")
self.pool.get('account.invoice').signal_invoice_open(cr, uid, invoice_ids)
-
I check that purchase order is invoiced.

View File

@ -22,7 +22,6 @@
from datetime import datetime
from dateutil.relativedelta import relativedelta
import time
from openerp import netsvc
from openerp.osv import fields,osv
from openerp.tools.translate import _
@ -211,8 +210,7 @@ class purchase_order(osv.osv):
proc_ids = proc_obj.search(cr, uid, [('purchase_id', '=', order.id)])
if proc_ids and po.state=='confirmed':
proc_obj.write(cr, uid, proc_ids, {'purchase_id': po.id})
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'purchase.order', order.id, 'purchase_cancel', cr)
self.signal_purchase_cancel(cr, uid, [order.id])
po.requisition_id.tender_done(context=context)
return res

View File

@ -69,10 +69,8 @@
I confirmed RFQ which has best price.
-
!python {model: purchase.order}: |
import netsvc
wf_service = netsvc.LocalService("workflow")
purchase = self.browse(cr, uid, ref('rfq2'), context=context)
wf_service.trg_validate(uid, 'purchase.order', purchase.id, 'purchase_confirm', cr)
self.signal_purchase_confirm(cr, uid, [purchase.id])
-
I check status of requisition after confirmed best RFQ.

View File

@ -418,8 +418,7 @@ class sale_order(osv.osv):
This function prints the sales order and mark it as sent, so that we can see more easily the next step of the workflow
'''
assert len(ids) == 1, 'This option should only be used for a single id at a time'
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'sale.order', ids[0], 'quotation_sent', cr)
self.signal_quotation_sent(cr, uid, ids)
datas = {
'model': 'sale.order',
'ids': ids,
@ -432,12 +431,10 @@ class sale_order(osv.osv):
view of one of the newly created invoices
"""
mod_obj = self.pool.get('ir.model.data')
wf_service = netsvc.LocalService("workflow")
# create invoices through the sales orders' workflow
inv_ids0 = set(inv.id for sale in self.browse(cr, uid, ids, context) for inv in sale.invoice_ids)
for id in ids:
wf_service.trg_validate(uid, 'sale.order', id, 'manual_invoice', cr)
self.signal_manual_invoice(cr, uid, ids)
inv_ids1 = set(inv.id for sale in self.browse(cr, uid, ids, context) for inv in sale.invoice_ids)
# determine newly created invoices
new_inv_ids = list(inv_ids1 - inv_ids0)
@ -555,10 +552,10 @@ class sale_order(osv.osv):
return True
def action_cancel(self, cr, uid, ids, context=None):
wf_service = netsvc.LocalService("workflow")
if context is None:
context = {}
sale_order_line_obj = self.pool.get('sale.order.line')
account_invoice_obj = self.pool.get('account.invoice')
for sale in self.browse(cr, uid, ids, context=context):
for inv in sale.invoice_ids:
if inv.state not in ('draft', 'cancel'):
@ -566,8 +563,7 @@ class sale_order(osv.osv):
_('Cannot cancel this sales order!'),
_('First cancel all invoices attached to this sales order.'))
for r in self.read(cr, uid, ids, ['invoice_ids']):
for inv in r['invoice_ids']:
wf_service.trg_validate(uid, 'account.invoice', inv, 'invoice_cancel', cr)
account_invoice_obj.signal_invoice_cancel(cr, uid, r['invoice_ids'])
sale_order_line_obj.write(cr, uid, [l.id for l in sale.order_line],
{'state': 'cancel'})
self.write(cr, uid, ids, {'state': 'cancel'})
@ -575,8 +571,7 @@ class sale_order(osv.osv):
def action_button_confirm(self, cr, uid, ids, context=None):
assert len(ids) == 1, 'This option should only be used for a single id at a time.'
wf_service = netsvc.LocalService('workflow')
wf_service.trg_validate(uid, 'sale.order', ids[0], 'order_confirm', cr)
self.signal_order_confirm(cr, uid, ids)
# redisplay the record as a sales order
view_ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'sale', 'view_order_form')
@ -992,8 +987,7 @@ class mail_compose_message(osv.Model):
context = context or {}
if context.get('default_model') == 'sale.order' and context.get('default_res_id') and context.get('mark_so_as_sent'):
context = dict(context, mail_post_autofollow=True)
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'sale.order', context['default_res_id'], 'quotation_sent', cr)
self.pool.get('sale.order').signal_quotation_sent(cr, uid, [context['default_res_id']])
return super(mail_compose_message, self).send_mail(cr, uid, ids, context=context)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -51,11 +51,10 @@
I cancel all the invoices.
-
!python {model: sale.order}: |
import netsvc
invoice_ids = self.browse(cr, uid, ref("sale_order_8")).invoice_ids
wf_service = netsvc.LocalService("workflow")
account_invoice_obj = self.pool.get('account.invoice')
for invoice in invoice_ids:
wf_service.trg_validate(uid, 'account.invoice', invoice.id, 'invoice_cancel', cr)
account_invoice_obj.signal_invoice_cancel(cr, uid, [invoice.id])
-
I check order status in "Invoice Exception" and related invoice is in cancel state.
-

View File

@ -41,11 +41,10 @@
I open the Invoice.
-
!python {model: sale.order}: |
import netsvc
wf_service = netsvc.LocalService("workflow")
so = self.browse(cr, uid, ref("sale_order_2"))
account_invoice_obj = self.pool.get('account.invoice')
for invoice in so.invoice_ids:
wf_service.trg_validate(uid, 'account.invoice', invoice.id, 'invoice_open', cr)
account_invoice_obj.signal_invoice_open(cr, uid, [invoice.id])
-
I pay the invoice.
-

View File

@ -80,7 +80,6 @@ class sale_order_line_make_invoice(osv.osv_memory):
sales_order_line_obj = self.pool.get('sale.order.line')
sales_order_obj = self.pool.get('sale.order')
wf_service = netsvc.LocalService('workflow')
for line in sales_order_line_obj.browse(cr, uid, context.get('active_ids', []), context=context):
if (not line.invoiced) and (line.state not in ('draft', 'cancel')):
if not line.order_id.id in invoices:
@ -103,7 +102,7 @@ class sale_order_line_make_invoice(osv.osv_memory):
flag = False
break
if flag:
wf_service.trg_validate(uid, 'sale.order', line.order_id.id, 'manual_invoice', cr)
sales_order_obj.signal_manual_invoice(cr, uid, [line.order_id.id])
sales_order_obj.write(cr, uid, [line.order_id.id], {'state': 'progress'})
if not invoices:

View File

@ -52,10 +52,8 @@ class sale_make_invoice(osv.osv_memory):
context = {}
data = self.read(cr, uid, ids)[0]
order_obj.action_invoice_create(cr, uid, context.get(('active_ids'), []), data['grouped'], date_inv = data['invoice_date'])
wf_service = netsvc.LocalService("workflow")
for id in context.get(('active_ids'), []):
wf_service.trg_validate(uid, 'sale.order', id, 'manual_invoice', cr)
order_obj.signal_manual_invoice(cr, uid, context.get(('active_ids'), []))
for o in order_obj.browse(cr, uid, context.get(('active_ids'), []), context=context):
for i in o.invoice_ids:
newinv.append(i.id)

View File

@ -23,7 +23,6 @@ from datetime import datetime, timedelta
from openerp.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT, DATETIME_FORMATS_MAP, float_compare
from dateutil.relativedelta import relativedelta
from openerp.osv import fields, osv
from openerp import netsvc
from openerp.tools.translate import _
class sale_shop(osv.osv):
@ -194,11 +193,11 @@ class sale_order(osv.osv):
return res
def action_cancel(self, cr, uid, ids, context=None):
wf_service = netsvc.LocalService("workflow")
if context is None:
context = {}
sale_order_line_obj = self.pool.get('sale.order.line')
proc_obj = self.pool.get('procurement.order')
stock_obj = self.pool.get('stock.picking')
for sale in self.browse(cr, uid, ids, context=context):
for pick in sale.picking_ids:
if pick.state not in ('draft', 'cancel'):
@ -209,11 +208,9 @@ class sale_order(osv.osv):
for mov in pick.move_lines:
proc_ids = proc_obj.search(cr, uid, [('move_id', '=', mov.id)])
if proc_ids:
for proc in proc_ids:
wf_service.trg_validate(uid, 'procurement.order', proc, 'button_check', cr)
proc_obj.signal_button_check(cr, uid, proc_ids)
for r in self.read(cr, uid, ids, ['picking_ids']):
for pick in r['picking_ids']:
wf_service.trg_validate(uid, 'stock.picking', pick, 'button_cancel', cr)
stock_obj.signal_button_cancel(cr, uid, r['picking_ids'])
return super(sale_order, self).action_cancel(cr, uid, ids, context=context)
def action_wait(self, cr, uid, ids, context=None):
@ -396,11 +393,9 @@ class sale_order(osv.osv):
line.write({'procurement_id': proc_id})
self.ship_recreate(cr, uid, order, line, move_id, proc_id)
wf_service = netsvc.LocalService("workflow")
if picking_id:
wf_service.trg_validate(uid, 'stock.picking', picking_id, 'button_confirm', cr)
for proc_id in proc_ids:
wf_service.trg_validate(uid, 'procurement.order', proc_id, 'button_confirm', cr)
picking_obj.signal_button_confirm(cr, uid, [picking_id])
procurement_obj.signal_button_confirm(cr, uid, proc_ids)
val = {}
if order.state == 'shipping_except':

View File

@ -17,11 +17,9 @@
Now I cancel latest shipment.
-
!python {model: stock.picking}: |
import netsvc
delivery_orders = self.search(cr, uid, [('sale_id','=',ref("sale.sale_order_8"))])
last_delivery_order_id = delivery_orders[0]
wf_service = netsvc.LocalService("workflow")
wf_service.trg_validate(uid, 'stock.picking', last_delivery_order_id, 'button_cancel', cr)
self.pool.get('stock.picking').signal_button_cancel(cr, uid, [last_delivery_order_id])
-
I run the scheduler.
-
@ -50,11 +48,9 @@
To cancel the sale order from Invoice Exception, I have to cancel the invoice of sale order.
-
!python {model: sale.order}: |
import netsvc
invoice_ids = self.browse(cr, uid, ref("sale.sale_order_8")).invoice_ids
wf_service = netsvc.LocalService("workflow")
first_invoice_id = invoice_ids[0]
wf_service.trg_validate(uid, 'account.invoice', first_invoice_id.id, 'invoice_cancel', cr)
self.pool.get('account.invoice').signal_invoice_cancel(cr, uid, [first_invoice_id.id])
-
I check order status in "Invoice Exception" and related invoice is in cancel state.
-

View File

@ -132,11 +132,10 @@
I open the Invoice.
-
!python {model: sale.order}: |
import netsvc
wf_service = netsvc.LocalService("workflow")
so = self.browse(cr, uid, ref("sale.sale_order_6"))
account_invoice_obj = self.pool.get('account.invoice')
for invoice in so.invoice_ids:
wf_service.trg_validate(uid, 'account.invoice', invoice.id, 'invoice_open', cr)
account_invoice_obj.signal_invoice_open(cr, uid, [invoice.id])
-
I pay the invoice
-