From 5ea774f883f1ac71ca98906a5ec5811b7e55e132 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 13 Oct 2011 16:33:39 +0200 Subject: [PATCH 001/119] [IMP] use authenticate() method to log the user in bzr revid: chs@openerp.com-20111013143339-dtasfi7kvvn7wusq --- addons/web/common/openerplib/main.py | 3 ++- addons/web/common/session.py | 5 +++-- addons/web/controllers/main.py | 10 ++++++---- addons/web/static/src/js/chrome.js | 2 +- addons/web/static/src/js/core.js | 7 ++++--- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/addons/web/common/openerplib/main.py b/addons/web/common/openerplib/main.py index 217cb221cd9..052c8243271 100644 --- a/addons/web/common/openerplib/main.py +++ b/addons/web/common/openerplib/main.py @@ -351,7 +351,8 @@ class Connection(object): if not self.database or not self.login or self.password is None: raise AuthenticationError("Creditentials not provided") - + + # TODO use authenticate instead of login self.user_id = self.get_service("common").login(self.database, self.login, self.password) if not self.user_id: raise AuthenticationError("Authentication failure") diff --git a/addons/web/common/session.py b/addons/web/common/session.py index ef38fc6a154..3b1dc9d3ca9 100644 --- a/addons/web/common/session.py +++ b/addons/web/common/session.py @@ -58,8 +58,9 @@ class OpenERPSession(object): self._login = login self._password = password - def login(self, db, login, password, env): - uid = self.proxy('common').login_env(db, login, password, 'web', env) + def authenticate(self, db, login, password, env): + # TODO use the lib once it use authenticate + uid = self.proxy('common').authenticate(db, login, password, env) self.bind(db, uid, login, password) if uid: self.get_context() diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 2432edc71ea..c4cde50e06f 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -265,14 +265,16 @@ class Session(openerpweb.Controller): _cp_path = "/web/session" @openerpweb.jsonrequest - def login(self, req, db, login, password): + def authenticate(self, req, db, login, password, base_location=None): wsgienv = req.httprequest.environ + release = web.common.release env = dict( - host='%s://%s' % (wsgienv['wsgi.url_scheme'], wsgienv['HTTP_HOST']), - referrer=wsgienv.get('HTTP_REFERER'), + base_location=base_location, + HTTP_HOST=wsgienv['HTTP_HOST'], REMOTE_ADDR=wsgienv['REMOTE_ADDR'], + user_agent="%s / %s" % (release.name, release.version), ) - req.session.login(db, login, password, env) + req.session.authenticate(db, login, password, env) ctx = req.session.get_context() if req.session._uid else {} return { diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index 1742bd91c95..8a0c1a93ecc 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -543,7 +543,7 @@ openerp.web.Login = openerp.web.Widget.extend(/** @lends openerp.web.Login# */{ */ do_login: function (db, login, password) { var self = this; - this.session.session_login(db, login, password, function() { + this.session.session_authenticate(db, login, password, function() { if(self.session.session_is_valid()) { if (self.has_local_storage) { if(self.remember_creditentials) { diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js index da9c21bf551..0279102feeb 100644 --- a/addons/web/static/src/js/core.js +++ b/addons/web/static/src/js/core.js @@ -477,10 +477,11 @@ openerp.web.Session = openerp.web.CallbackEnabled.extend( /** @lends openerp.web session_is_valid: function() { return this.uid; }, - session_login: function(db, login, password, success_callback) { + session_authenticate: function(db, login, password, success_callback) { var self = this; - var params = { db: db, login: login, password: password }; - return this.rpc("/web/session/login", params, function(result) { + var base_location = document.location.protocol + '//' + document.location.host; + var params = { db: db, login: login, password: password, base_location: base_location }; + return this.rpc("/web/session/authenticate", params, function(result) { self.session_id = result.session_id; self.uid = result.uid; self.user_context = result.context; From 216d028ad66c59bec3018cff954d9b49ba264920 Mon Sep 17 00:00:00 2001 From: "Ujjvala Collins (OpenERP)" Date: Tue, 8 Nov 2011 19:00:12 +0530 Subject: [PATCH 002/119] [IMP] crm_profiling: Converted Open Questionnaire wizard to osv_memory wizard. bzr revid: uco@tinyerp.com-20111108133012-wjqhjrif02h18oxh --- addons/crm_profiling/__openerp__.py | 2 +- addons/crm_profiling/crm_profiling.py | 40 +------ addons/crm_profiling/crm_profiling_view.xml | 9 +- addons/crm_profiling/crm_profiling_wizard.xml | 5 - .../crm_profiling/test/test_crm_profiling.yml | 12 +-- .../wizard/open_questionnaire.py | 100 +++++++++++------- .../wizard/open_questionnaire_view.xml | 86 +++++++++++++++ 7 files changed, 156 insertions(+), 98 deletions(-) delete mode 100644 addons/crm_profiling/crm_profiling_wizard.xml create mode 100644 addons/crm_profiling/wizard/open_questionnaire_view.xml diff --git a/addons/crm_profiling/__openerp__.py b/addons/crm_profiling/__openerp__.py index 656f8360f0b..382fbcb1b28 100644 --- a/addons/crm_profiling/__openerp__.py +++ b/addons/crm_profiling/__openerp__.py @@ -39,7 +39,7 @@ It also has been merged with the earlier CRM & SRM segmentation tool because the 'website': 'http://www.openerp.com', 'depends': ['base', 'crm'], 'init_xml': [], - 'update_xml': ['security/ir.model.access.csv', 'crm_profiling_view.xml'], + 'update_xml': ['security/ir.model.access.csv', 'wizard/open_questionnaire_view.xml', 'crm_profiling_view.xml'], 'demo_xml': ['crm_profiling_demo.xml'], 'test': ['test/test_crm_profiling.yml'], 'installable': True, diff --git a/addons/crm_profiling/crm_profiling.py b/addons/crm_profiling/crm_profiling.py index 59137966da0..587ddbe0b52 100644 --- a/addons/crm_profiling/crm_profiling.py +++ b/addons/crm_profiling/crm_profiling.py @@ -159,30 +159,6 @@ class questionnaire(osv.osv): _name="crm_profiling.questionnaire" _description= "Questionnaire" - def build_form(self, cr, uid, data, context=None): - """ - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param data: Get Data - @param context: A standard dictionary for contextual values """ - - query = """ - select name, id - from crm_profiling_question - where id in ( select question from profile_questionnaire_quest_rel where questionnaire = %s)""" - res = cr.execute(query, (data['form']['questionnaire_name'],)) - result = cr.fetchall() - quest_fields={} - quest_form=''' -
''' % _('Questionnaire') - for name, oid in result: - quest_form = quest_form + '' % (oid,) - quest_fields['quest_form%d' % (oid,)] = {'string': name, 'type': 'many2one', \ - 'relation': 'crm_profiling.answer', 'domain': [('question_id','=',oid)] } - quest_form = quest_form + '''''' - return quest_form, quest_fields - _columns = { 'name': fields.char("Questionnaire",size=128, required=True), 'description':fields.text("Description", required=True), @@ -210,25 +186,19 @@ class partner(osv.osv): "partner","answer","Answers"), } - def _questionnaire_compute(self, cr, uid, data, context=None): + def _questionnaire_compute(self, cr, uid, answers, context=None): """ @param self: The object pointer @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security checks, @param data: Get Data @param context: A standard dictionary for contextual values """ - - temp = [] - for x in data['form']: - if x.startswith("quest_form") and data['form'][x] != 0 : - temp.append(data['form'][x]) - + partner_id = context.get('active_id') query = "select answer from partner_question_rel where partner=%s" - cr.execute(query, (data['id'],)) + cr.execute(query, (partner_id,)) for x in cr.fetchall(): - temp.append(x[0]) - - self.write(cr, uid, [data['id']], {'answers_ids':[[6, 0, temp]]}, context=context) + answers.append(x[0]) + self.write(cr, uid, [partner_id], {'answers_ids': [[6, 0, answers]]}, context=context) return {} diff --git a/addons/crm_profiling/crm_profiling_view.xml b/addons/crm_profiling/crm_profiling_view.xml index 258de2e4e2d..a54d3d4b0a9 100644 --- a/addons/crm_profiling/crm_profiling_view.xml +++ b/addons/crm_profiling/crm_profiling_view.xml @@ -2,13 +2,6 @@ - - Questionnaires crm_profiling.questionnaire @@ -140,7 +133,7 @@ -
From 5fe485b645f89d46223b70664d31ac673c306c05 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Tue, 13 Dec 2011 17:11:44 +0100 Subject: [PATCH 118/119] [FIX] o2m uses weird class sets bzr revid: xmo@openerp.com-20111213161144-6mhs22l10xmz2j4z --- addons/web/static/src/css/base.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 00e8e1f5e55..0fa3a44a4cd 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -1108,7 +1108,8 @@ label.error { white-space: normal; } -.openerp .oe_form_field_one2many .oe-actions h3.oe_view_title { +.openerp .oe_form_field_one2many .oe-actions h3.oe_view_title, +.openerp .oe_form_field_one2many_list .oe-actions h3.oe_view_title{ display: inline; margin: 0 0.5em 0 0; } From 3ad3baefbadf1f31347e994fccf4470608cbf5ba Mon Sep 17 00:00:00 2001 From: Launchpad Translations on behalf of openerp <> Date: Wed, 14 Dec 2011 04:45:21 +0000 Subject: [PATCH 119/119] Launchpad automatic translations update. bzr revid: launchpad_translations_on_behalf_of_openerp-20111214044521-noijt6jiqm918uoh --- addons/account_payment/i18n/sr@latin.po | 116 +++++++++++++----------- 1 file changed, 63 insertions(+), 53 deletions(-) diff --git a/addons/account_payment/i18n/sr@latin.po b/addons/account_payment/i18n/sr@latin.po index 6efe331146d..13925099baf 100644 --- a/addons/account_payment/i18n/sr@latin.po +++ b/addons/account_payment/i18n/sr@latin.po @@ -8,19 +8,19 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2011-01-11 11:14+0000\n" -"PO-Revision-Date: 2010-12-23 15:17+0000\n" -"Last-Translator: Olivier Dony (OpenERP) \n" +"PO-Revision-Date: 2011-12-13 15:21+0000\n" +"Last-Translator: Milan Milosevic \n" "Language-Team: Serbian latin \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-11-05 05:22+0000\n" -"X-Generator: Launchpad (build 14231)\n" +"X-Launchpad-Export-Date: 2011-12-14 04:45+0000\n" +"X-Generator: Launchpad (build 14487)\n" #. module: account_payment #: field:payment.order,date_scheduled:0 msgid "Scheduled date if fixed" -msgstr "Zakazani datum ako je fiskno" +msgstr "Zakazani datum ako je fiksiran" #. module: account_payment #: field:payment.line,currency:0 @@ -30,7 +30,7 @@ msgstr "Valuta partnera" #. module: account_payment #: view:payment.order:0 msgid "Set to draft" -msgstr "Postavi za obradu" +msgstr "Postavi kao pripremu" #. module: account_payment #: help:payment.order,mode:0 @@ -41,7 +41,7 @@ msgstr "Odaberite način plaćanja koji će biti primenjen." #: view:payment.mode:0 #: view:payment.order:0 msgid "Group By..." -msgstr "Grupirano po" +msgstr "Grupiši po..." #. module: account_payment #: model:ir.module.module,description:account_payment.module_meta_information @@ -52,6 +52,11 @@ msgid "" "* a basic mechanism to easily plug various automated payment.\n" " " msgstr "" +"\n" +"Ovaj modul omogućava:\n" +"*efikasniji način za upravljanje isplaćivanja faktura\n" +"*osnovni mehanizam za lako obrađivanje automatizovanih načina isplate\n" +" " #. module: account_payment #: field:payment.order,line_ids:0 @@ -98,7 +103,7 @@ msgstr "Zeljeni Datum" #. module: account_payment #: selection:payment.line,state:0 msgid "Free" -msgstr "slobodno" +msgstr "Slobodno" #. module: account_payment #: field:payment.order.create,entries:0 @@ -108,18 +113,18 @@ msgstr "Stavke" #. module: account_payment #: report:payment.order:0 msgid "Used Account" -msgstr "Koristeni Nalog" +msgstr "Korišteni nalog" #. module: account_payment #: field:payment.line,ml_maturity_date:0 #: field:payment.order.create,duedate:0 msgid "Due Date" -msgstr "Datum dospeća" +msgstr "Krajnji rok" #. module: account_payment #: constraint:account.move.line:0 msgid "You can not create move line on closed account." -msgstr "" +msgstr "Ne možete da napravite poteznu liniju na zatvorenim računima." #. module: account_payment #: view:account.move.line:0 @@ -135,7 +140,7 @@ msgstr "_Dodaj u nalog za plaćanje" #: model:ir.actions.act_window,name:account_payment.action_account_payment_populate_statement #: model:ir.actions.act_window,name:account_payment.action_account_populate_statement_confirm msgid "Payment Populate statement" -msgstr "Ispuna sadrzaja fakture" +msgstr "Ispunjavanje sadržaja fakture" #. module: account_payment #: report:payment.order:0 @@ -146,12 +151,12 @@ msgstr "Iznos" #. module: account_payment #: sql_constraint:account.move.line:0 msgid "Wrong credit or debit value in accounting entry !" -msgstr "" +msgstr "Pogrešna vrednost kredita ili debita u ulazu računa !" #. module: account_payment #: view:payment.order:0 msgid "Total in Company Currency" -msgstr "Ukupno u valuti preduzeca" +msgstr "Ukupno u valuti preduzeća" #. module: account_payment #: selection:payment.order,state:0 @@ -172,7 +177,7 @@ msgstr "Referenca" #. module: account_payment #: sql_constraint:payment.line:0 msgid "The payment line name must be unique!" -msgstr "" +msgstr "Red plaćanja mora biti jedinstven!" #. module: account_payment #: model:ir.actions.act_window,name:account_payment.action_payment_order_tree @@ -212,7 +217,7 @@ msgstr "Efektivni datum fakture" #. module: account_payment #: report:payment.order:0 msgid "Execution Type" -msgstr "Tip Izuzetka" +msgstr "Tip Izvršavanja" #. module: account_payment #: selection:payment.line,state:0 @@ -229,7 +234,7 @@ msgstr "Stanje" #: view:payment.line:0 #: view:payment.order:0 msgid "Transaction Information" -msgstr "Informacije Transakcije" +msgstr "Informacije o transakciji" #. module: account_payment #: model:ir.actions.act_window,name:account_payment.action_payment_mode_form @@ -257,8 +262,8 @@ msgid "" "by you.'Directly' stands for the direct execution.'Due date' stands for the " "scheduled date of execution." msgstr "" -"Odaberite opciju za nalog za plaćanje: \"Fiksno\" znači datum naveden od " -"vaše strane. \"Direktno\" znači direktno izvršenje. \"Datum odgode\" znači " +"Odaberite opciju za nalog za plaćanje: \"Fiksirano\" znači datum naveden s " +"Vaše strane. \"Direktno\" znači direktno izvršenje. \"Datum odgode\" znači " "zakazan datum izvršenja." #. module: account_payment @@ -280,12 +285,12 @@ msgstr "Datum izvršenja" #. module: account_payment #: help:payment.mode,journal:0 msgid "Bank or Cash Journal for the Payment Mode" -msgstr "" +msgstr "Dnevnik banke ili keša za način plaćanja" #. module: account_payment #: selection:payment.order,date_prefered:0 msgid "Fixed date" -msgstr "Fiksni datum" +msgstr "Fiksirani datum" #. module: account_payment #: field:payment.line,info_partner:0 @@ -301,18 +306,19 @@ msgstr "Ciljni račun" #. module: account_payment #: view:payment.order:0 msgid "Search Payment Orders" -msgstr "Pretrazi naloge za placanje" +msgstr "Pretraži naloge za plaćanje" #. module: account_payment #: constraint:account.move.line:0 msgid "" "You can not create move line on receivable/payable account without partner" msgstr "" +"Ne možete napraviti poteznu liniju na primaćem/platežnom računu bez partnera" #. module: account_payment #: field:payment.line,create_date:0 msgid "Created" -msgstr "Kreirano" +msgstr "Napravljeno" #. module: account_payment #: view:payment.order:0 @@ -327,17 +333,17 @@ msgstr "Ukupni iznos valute" #. module: account_payment #: view:payment.order:0 msgid "Make Payments" -msgstr "Napravite plaćanja" +msgstr "Izvršite plaćanja" #. module: account_payment #: field:payment.line,state:0 msgid "Communication Type" -msgstr "Tip Komunikacije" +msgstr "Tip komunikacije" #. module: account_payment #: model:ir.module.module,shortdesc:account_payment.module_meta_information msgid "Payment Management" -msgstr "Menadzment Plaćanja" +msgstr "Upravljanje plaćanjem" #. module: account_payment #: field:payment.line,bank_statement_line_id:0 @@ -347,7 +353,7 @@ msgstr "Red Izvoda iz Banke" #. module: account_payment #: selection:payment.order,date_prefered:0 msgid "Due date" -msgstr "Krajnji Rok" +msgstr "Krajnji rok" #. module: account_payment #: field:account.invoice,amount_to_pay:0 @@ -391,7 +397,7 @@ msgstr "Način plaćanja" #. module: account_payment #: report:payment.order:0 msgid "Value Date" -msgstr "Datum" +msgstr "Datum valute" #. module: account_payment #: report:payment.order:0 @@ -412,23 +418,23 @@ msgstr "Priprema" #. module: account_payment #: help:payment.line,communication2:0 msgid "The successor message of Communication." -msgstr "Nasljedna poruka komunikacije." +msgstr "Naredna poruka komunikacije." #. module: account_payment #: code:addons/account_payment/account_move_line.py:110 #, python-format msgid "No partner defined on entry line" -msgstr "Partner nije definisan" +msgstr "Partner nije definisan na redu stavke" #. module: account_payment #: help:payment.line,info_partner:0 msgid "Address of the Ordering Customer." -msgstr "Adresa kupca naručitelja." +msgstr "Adresa naručitelja." #. module: account_payment #: view:account.payment.populate.statement:0 msgid "Populate Statement:" -msgstr "Popuni sadrzaj:" +msgstr "Popuni sadržaj:" #. module: account_payment #: view:account.move.line:0 @@ -438,7 +444,7 @@ msgstr "Ukupno potražuje" #. module: account_payment #: help:payment.order,date_scheduled:0 msgid "Select a date if you have chosen Preferred Date to be fixed." -msgstr "Odaberite datum ako ste odabrali fiksni željeni datum" +msgstr "Odaberite datum ako ste odabrali fiksirani željeni datum" #. module: account_payment #: field:payment.order,user_id:0 @@ -454,12 +460,12 @@ msgstr "Redovi plaćanja" #. module: account_payment #: model:ir.model,name:account_payment.model_account_move_line msgid "Journal Items" -msgstr "Sadrzaj Dnevnika" +msgstr "Stavke dnevnika" #. module: account_payment #: constraint:account.move.line:0 msgid "Company must be same for its related account and period." -msgstr "" +msgstr "Preduzeće mora biti isto za sve vezane račune i periode." #. module: account_payment #: help:payment.line,move_line_id:0 @@ -492,12 +498,12 @@ msgstr "Ukupno:" #. module: account_payment #: field:payment.order,date_created:0 msgid "Creation date" -msgstr "Datum kreiranja" +msgstr "Datum pravljenja" #. module: account_payment #: view:account.payment.populate.statement:0 msgid "ADD" -msgstr "Dodaj" +msgstr "DODAJ" #. module: account_payment #: view:account.bank.statement:0 @@ -517,22 +523,22 @@ msgstr "Iznos u valuti preduzeca" #. module: account_payment #: help:payment.line,partner_id:0 msgid "The Ordering Customer" -msgstr "Kupac naručitelj" +msgstr "Naručitelj" #. module: account_payment #: model:ir.model,name:account_payment.model_account_payment_make_payment msgid "Account make payment" -msgstr "Izvrsi placanje naloga" +msgstr "Izvrši plaćanje naloga" #. module: account_payment #: report:payment.order:0 msgid "Invoice Ref" -msgstr "Referenca fakture" +msgstr "Ref. fakture" #. module: account_payment #: field:payment.line,name:0 msgid "Your Reference" -msgstr "Vaše veze" +msgstr "Vaš poziv na broj" #. module: account_payment #: field:payment.order,mode:0 @@ -578,7 +584,7 @@ msgstr "Otkaži" #: view:payment.line:0 #: view:payment.order:0 msgid "Information" -msgstr "Informacija" +msgstr "Informacije" #. module: account_payment #: model:ir.actions.act_window,help:account_payment.action_payment_order_tree @@ -588,6 +594,10 @@ msgid "" "that should be done, keep track of all payment orders and mention the " "invoice reference and the partner the payment should be done for." msgstr "" +"Nalog za plaćanje je zahtev za plaćanje od strane Vašeg preduzeća za isplatu " +"faktura nabavke ili kupaca. Ovde možete snimiti sve naloge za plaćanje na " +"čekanju, pratite sve naloge za plaćanje i pomenete poziv na broj za datu " +"fakturu i kom partneru treba izvršiti isplatu." #. module: account_payment #: help:payment.line,amount:0 @@ -612,12 +622,12 @@ msgstr "Komunikacija 2" #. module: account_payment #: field:payment.line,bank_id:0 msgid "Destination Bank account" -msgstr "Destinacioni bankovni račun" +msgstr "Ciljni bankovni račun" #. module: account_payment #: view:account.payment.make.payment:0 msgid "Are you sure you want to make payment?" -msgstr "Jeste li sigurni da zelite da izvrsite isplatu?" +msgstr "Jeste li sigurni da želite da izvršite isplatu?" #. module: account_payment #: view:payment.mode:0 @@ -639,7 +649,7 @@ msgstr "Potvrdi plaćanja" #: field:payment.line,company_currency:0 #: report:payment.order:0 msgid "Company Currency" -msgstr "Valuta preduzeca" +msgstr "Valuta preduzeća" #. module: account_payment #: model:ir.ui.menu,name:account_payment.menu_main_payment @@ -651,7 +661,7 @@ msgstr "Isplata" #. module: account_payment #: report:payment.order:0 msgid "Payment Order / Payment" -msgstr "Isplata Faktura / Placanje" +msgstr "Isplata Faktura / Plaćanje" #. module: account_payment #: field:payment.line,move_line_id:0 @@ -664,13 +674,13 @@ msgid "" "Used as the message between ordering customer and current company. Depicts " "'What do you want to say to the recipient about this order ?'" msgstr "" -"Koristi se kao poruka izmedju narucioca i date kompanije. Objasnjava ' Sta " -"ste to hteli reci kupcu o ovoj narudzbi?'" +"Koristi se kao poruka između naručioca i date kompanije. Prikazuje ' Šta " +"želite reći kupcu o ovoj narudžbini?'" #. module: account_payment #: field:payment.mode,name:0 msgid "Name" -msgstr "Ime" +msgstr "Naziv" #. module: account_payment #: report:payment.order:0 @@ -681,7 +691,7 @@ msgstr "Bankovni račun" #: view:payment.line:0 #: view:payment.order:0 msgid "Entry Information" -msgstr "Unos Informacije" +msgstr "Informacije o unosu" #. module: account_payment #: model:ir.model,name:account_payment.model_payment_order_create @@ -702,7 +712,7 @@ msgstr "Ukupno" #: view:account.payment.make.payment:0 #: model:ir.actions.act_window,name:account_payment.action_account_payment_make_payment msgid "Make Payment" -msgstr "Izvrsi placanje" +msgstr "Izvrši placanje" #. module: account_payment #: field:payment.line,partner_id:0 @@ -713,7 +723,7 @@ msgstr "Partner" #. module: account_payment #: model:ir.actions.act_window,name:account_payment.action_create_payment_order msgid "Populate Payment" -msgstr "Popuni Placanje" +msgstr "Popuni plaćanje" #. module: account_payment #: help:payment.mode,bank_id:0 @@ -723,7 +733,7 @@ msgstr "Bankovni račun za način plaćanja" #. module: account_payment #: constraint:account.move.line:0 msgid "You can not create move line on view account." -msgstr "" +msgstr "Ne možete napraviti poteznu liniju na računu po viđenju" #~ msgid "Invalid model name in the action definition." #~ msgstr "Pogrešno ime modela u definiciji akcije."