diff --git a/addons/account/account.py b/addons/account/account.py index 971bcec5bb0..98e51d0cf4f 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -2304,8 +2304,13 @@ class account_model(osv.osv): if not line.partner_id: raise osv.except_osv(_('Error!'), _("Maturity date of entry line generated by model line '%s' of model '%s' is based on partner payment term!" \ "\nPlease define partner on it!")%(line.name, model.name)) - if line.partner_id.property_payment_term: + + payment_term_id = False + if model.journal_id.type in ('purchase', 'purchase_refund') and line.partner_id.property_supplier_payment_term: + payment_term_id = line.partner_id.property_supplier_payment_term.id + elif line.partner_id.property_payment_term: payment_term_id = line.partner_id.property_payment_term.id + if payment_term_id: pterm_list = pt_obj.compute(cr, uid, payment_term_id, value=1, date_ref=date_maturity) if pterm_list: pterm_list = [l[0] for l in pterm_list] diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index 15a663f801f..4ba4f1f6642 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -217,7 +217,7 @@ class account_invoice(osv.osv): 'date_invoice': fields.date('Invoice Date', readonly=True, states={'draft':[('readonly',False)]}, select=True, help="Keep empty to use the current date"), 'date_due': fields.date('Due Date', readonly=True, states={'draft':[('readonly',False)]}, select=True, help="If you use payment terms, the due date will be computed automatically at the generation "\ - "of accounting entries. If you keep the payment term and the due date empty, it means direct payment. The payment term may compute several due dates, for example 50% now, 50% in one month."), + "of accounting entries. The payment term may compute several due dates, for example 50% now and 50% in one month, but if you want to force a due date, make sure that the payment term is not set on the invoice. If you keep the payment term and the due date empty, it means direct payment."), 'partner_id': fields.many2one('res.partner', 'Partner', change_default=True, readonly=True, required=True, states={'draft':[('readonly',False)]}), 'payment_term': fields.many2one('account.payment.term', 'Payment Term',readonly=True, states={'draft':[('readonly',False)]}, help="If you use payment terms, the due date will be computed automatically at the generation "\ @@ -294,6 +294,18 @@ class account_invoice(osv.osv): ('number_uniq', 'unique(number, company_id, journal_id, type)', 'Invoice Number must be unique per Company!'), ] + def _find_partner(self, inv): + ''' + Find the partner for which the accounting entries will be created + ''' + #if the chosen partner is not a company and has a parent company, use the parent for the journal entries + #because you want to invoice 'Agrolait, accounting department' but the journal items are for 'Agrolait' + part = inv.partner_id + if part.parent_id and not part.is_company: + part = part.parent_id + return part + + def fields_view_get(self, cr, uid, view_id=None, view_type=False, context=None, toolbar=False, submenu=False): journal_obj = self.pool.get('account.journal') if context is None: @@ -478,10 +490,11 @@ class account_invoice(osv.osv): if type in ('out_invoice', 'out_refund'): acc_id = p.property_account_receivable.id + partner_payment_term = p.property_payment_term and p.property_payment_term.id or False else: acc_id = p.property_account_payable.id + partner_payment_term = p.property_supplier_payment_term and p.property_supplier_payment_term.id or False fiscal_position = p.property_account_position and p.property_account_position.id or False - partner_payment_term = p.property_payment_term and p.property_payment_term.id or False if p.bank_ids: bank_id = p.bank_ids[0].id @@ -957,11 +970,7 @@ class account_invoice(osv.osv): date = inv.date_invoice or time.strftime('%Y-%m-%d') - #if the chosen partner is not a company and has a parent company, use the parent for the journal entries - #because you want to invoice 'Agrolait, accounting department' but the journal items are for 'Agrolait' - part = inv.partner_id - if part.parent_id and not part.is_company: - part = part.parent_id + part = self._find_partner(inv) line = map(lambda x:(0,0,self.line_get_convert(cr, uid, x, part.id, date, context=ctx)),iml) diff --git a/addons/account/account_move_line.py b/addons/account/account_move_line.py index 698b1bcf00c..2c6e651b14b 100644 --- a/addons/account/account_move_line.py +++ b/addons/account/account_move_line.py @@ -672,17 +672,24 @@ class account_move_line(osv.osv): return {'value':val} if not date: date = datetime.now().strftime('%Y-%m-%d') + jt = False + if journal: + jt = journal_obj.browse(cr, uid, journal).type part = partner_obj.browse(cr, uid, partner_id) - if part.property_payment_term: - res = payment_term_obj.compute(cr, uid, part.property_payment_term.id, 100, date) + payment_term_id = False + if jt and jt in ('purchase', 'purchase_refund') and part.property_supplier_payment_term: + payment_term_id = part.property_supplier_payment_term.id + elif jt and part.property_payment_term: + payment_term_id = part.property_payment_term.id + if payment_term_id: + res = payment_term_obj.compute(cr, uid, payment_term_id, 100, date) if res: val['date_maturity'] = res[0][0] if not account_id: id1 = part.property_account_payable.id id2 = part.property_account_receivable.id - if journal: - jt = journal_obj.browse(cr, uid, journal).type + if jt: if jt in ('sale', 'purchase_refund'): val['account_id'] = fiscal_pos_obj.map_account(cr, uid, part and part.property_account_position or False, id2) elif jt in ('purchase', 'sale_refund'): diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index e2c45af8cba..6d3519cc461 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -1105,7 +1105,7 @@ - + @@ -1207,12 +1207,6 @@

- + + + + + + + + + + + + + + + + + diff --git a/addons/account/i18n/de.po b/addons/account/i18n/de.po index 11688732fdb..61f701026c2 100644 --- a/addons/account/i18n/de.po +++ b/addons/account/i18n/de.po @@ -7,14 +7,14 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-12-03 21:51+0000\n" +"PO-Revision-Date: 2012-12-04 23:19+0000\n" "Last-Translator: Thorsten Vocks (OpenBig.org) \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-04 05:22+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:19+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account @@ -204,6 +204,15 @@ msgid "" "

\n" " " msgstr "" +"

\n" +" Klicken Sie, um eine Periode hinzuzufügen.\n" +"

\n" +" Üblicherweise entspricht eine Periode einem Monat oder einem " +"Quartal. \n" +" Im Normalfall sollte es eine Übereinstimmung mit den " +"Steuerperioden geben.\n" +"

\n" +" " #. module: account #: model:ir.actions.act_window,name:account.action_view_created_invoice_dashboard @@ -475,6 +484,13 @@ msgid "" "this box, you will be able to do invoicing & payments,\n" " but not accounting (Journal Items, Chart of Accounts, ...)" msgstr "" +"Verwalten und buchen Sie Ihre betrieblichen oder persönlichen " +"Vermögenswerte.\n" +" Verfolgen Sie die Wertentwicklung Ihres Vermögens und buchen " +"Sie die nutzungsbedingte Abschreibung auf Ihr Anlagevermögen. Es erfolgt " +"eine Installation des Moduls account_asset. Sie können auch einfach nur " +"abrechnen und die Zahlungen managen, und somit keine vollständige " +"Buchhaltung installieren (Buchungssätze im Journal, Kontenpläne, etc.)" #. module: account #. openerp-web @@ -1386,6 +1402,8 @@ msgid "" "The amount expressed in the secondary currency must be positif when journal " "item are debit and negatif when journal item are credit." msgstr "" +"Der Wert, der in der zweiten Währung des Unternehmens dargestellt wird, muß " +"bei Soll-Buchungen positiv sein und negativ bei Buchungen im Haben." #. module: account #: view:account.invoice.cancel:0 @@ -2446,6 +2464,8 @@ msgid "" "You cannot change the type of account to '%s' type as it contains journal " "items!" msgstr "" +"Sie können den Kontotyp nicht einfach auf %s abändern, da es abhängige " +"Buchungszeilen gibt." #. module: account #: model:ir.model,name:account.model_account_aged_trial_balance @@ -2462,7 +2482,7 @@ msgstr "Geschäftsjahr abschließen" #: code:addons/account/static/src/xml/account_move_line_quickadd.xml:14 #, python-format msgid "Journal :" -msgstr "" +msgstr "Journal:" #. module: account #: sql_constraint:account.fiscal.position.tax:0 @@ -5262,7 +5282,7 @@ msgstr "Wiederkehrende Modelle" #. module: account #: view:account.tax:0 msgid "Children/Sub Taxes" -msgstr "" +msgstr "Steuerverbindung" #. module: account #: xsl:account.transfer:0 @@ -6037,6 +6057,11 @@ msgid "" "entry was reconciled, either the user pressed the button \"Fully " "Reconciled\" in the manual reconciliation process" msgstr "" +"Datum zu dem alle Buchungen beim Partner letztmalig automatisch ausgebucht " +"wurden. Dieses Datum unterscheidet sich zum Datum der letzten Zahlung " +"dadurch, daß danach keine offenen Positionen mehr auszugleichen sind. Dieses " +"ist auf zwei Wegen möglich: Entweder wird durch eine Zahlungseingabe oder " +"durch Klick auf \"Ausgleich von Offenen Posten\" das Konto ausgeglichen." #. module: account #: field:account.journal,update_posted:0 @@ -6090,6 +6115,8 @@ msgstr "Steuern und Gesamtbeträge neu berechnen" #, python-format msgid "You cannot modify/delete a journal with entries for this period." msgstr "" +"Sie können kein Journal löschen oder ändern, wenn bereits Buchungen in " +"dieser Periode existieren." #. module: account #: field:account.tax.template,include_base_amount:0 @@ -6099,7 +6126,7 @@ msgstr "In Grundbetrag einbeziehen" #. module: account #: field:account.invoice,supplier_invoice_number:0 msgid "Supplier Invoice Number" -msgstr "" +msgstr "Eingangsrechnung Nummer" #. module: account #: help:account.payment.term.line,days:0 @@ -6123,6 +6150,8 @@ msgstr "Betragsberechnung" #, python-format msgid "You can not add/modify entries in a closed period %s of journal %s." msgstr "" +"Sie können nicht in eine abgeschlossenen Periode %s des Journals %s buchen " +"oder ändern." #. module: account #: view:account.journal:0 @@ -6147,7 +6176,7 @@ msgstr "Start Periode" #. module: account #: model:account.account.type,name:account.account_type_asset_view1 msgid "Asset View" -msgstr "" +msgstr "Anlagevermögen Ansicht" #. module: account #: model:ir.model,name:account.model_account_common_account_report @@ -6173,6 +6202,10 @@ msgid "" "that you should have your last line with the type 'Balance' to ensure that " "the whole amount will be treated." msgstr "" +"Wählen Sie die Berechnungsform der Position einer Zahlungsbedingung. " +"Berücksichtigen Sie dabei, dass in der letzten Zeile der Typ \"Saldo\" " +"hinterlegt werden muss, damit der komplette Rechnungsbetrag Berücksichtigung " +"findet." #. module: account #: field:account.partner.ledger,initial_balance:0 @@ -6220,12 +6253,12 @@ msgstr "Journal Eröffnungsbuchungen" #. module: account #: view:account.invoice:0 msgid "Draft Refund " -msgstr "" +msgstr "Entwurf Gutschrift " #. module: account #: view:cash.box.in:0 msgid "Fill in this form if you put money in the cash register:" -msgstr "" +msgstr "Füllen Sie dieses Formular aus, wenn Sie Geld in die Kasse einlegen" #. module: account #: field:account.payment.term.line,value_amount:0 @@ -7228,7 +7261,7 @@ msgstr "Benutzerfehler !" #. module: account #: view:account.open.closed.fiscalyear:0 msgid "Discard" -msgstr "" +msgstr "Abbrechen" #. module: account #: selection:account.account,type:0 @@ -7393,6 +7426,8 @@ msgid "" "Percentages for Payment Term Line must be between 0 and 1, Example: 0.02 for " "2%." msgstr "" +"Die Prozenteinstellung einer Zahlungsbedingung sollte zwischen 0 und 1 " +"sein, z.B. 0,02 für 2%." #. module: account #: report:account.invoice:0 @@ -7542,13 +7577,14 @@ msgstr "Gewinn & Verlust ( Aufwandskonto )" #. module: account #: field:account.bank.statement,total_entry_encoding:0 msgid "Total Transactions" -msgstr "" +msgstr "Gesamtbetrag Transaktionen" #. module: account #: code:addons/account/account.py:635 #, python-format msgid "You cannot remove an account that contains journal items." msgstr "" +"Sie können nicht einfach ein Konto mit existierenden Buchungen löschen" #. module: account #: code:addons/account/account_move_line.py:1095 @@ -7592,7 +7628,7 @@ msgstr "Manuell" #: code:addons/account/wizard/account_report_aged_partner_balance.py:58 #, python-format msgid "You must set a start date." -msgstr "" +msgstr "Definieren Sie ein Startdatum" #. module: account #: view:account.automatic.reconcile:0 @@ -7641,7 +7677,7 @@ msgstr "Buchungssätze" #: code:addons/account/wizard/account_invoice_refund.py:147 #, python-format msgid "No period found on the invoice." -msgstr "" +msgstr "Keine Periode für diese Rechnung gefunden" #. module: account #: help:account.partner.ledger,page_split:0 @@ -7686,7 +7722,7 @@ msgstr "Alle erstellten Buchungen" #. module: account #: constraint:account.move.reconcile:0 msgid "You can only reconcile journal items with the same partner." -msgstr "" +msgstr "Sie können lediglich Buchungssätze des selben Partners ausgleichen" #. module: account #: view:account.journal.select:0 @@ -7746,7 +7782,7 @@ msgstr "Vollständige Liste der Steuern" #, python-format msgid "" "Selected Entry Lines does not have any account move enties in draft state." -msgstr "" +msgstr "Die ausgewählten Buchungen haben keine Buchungszeilen im Entwurf" #. module: account #: view:account.chart.template:0 @@ -7776,6 +7812,8 @@ msgid "" "Configuration error!\n" "The currency chosen should be shared by the default accounts too." msgstr "" +"Konfigurationsfehler !\n" +"Die Währung sollte auch durch die Standard Konten freigegeben werden." #. module: account #: code:addons/account/account.py:2251 @@ -7802,7 +7840,7 @@ msgstr "" #. module: account #: field:account.config.settings,module_account_voucher:0 msgid "Manage customer payments" -msgstr "" +msgstr "Management Kundenzahlungen" #. module: account #: help:report.invoice.created,origin:0 @@ -7821,6 +7859,9 @@ msgid "" "Error!\n" "The start date of a fiscal year must precede its end date." msgstr "" +"Fehler !\n" +"Das Startdatum sollte nach dem Ende Datum des laufenden Geschäftsjahres " +"enden." #. module: account #: view:account.tax.template:0 @@ -7836,7 +7877,7 @@ msgstr "Ausgangsrechnungen" #. module: account #: view:account.tax:0 msgid "Misc" -msgstr "" +msgstr "Verschiedenes" #. module: account #: view:account.analytic.line:0 @@ -7859,6 +7900,10 @@ msgid "" "Make sure you have configured payment terms properly.\n" "The latest payment term line should be of the \"Balance\" type." msgstr "" +"Sie können keine nicht ausgeglichenen Positionen buchen.\n" +"Stellen Sie eine vollständige Konfiguration der Zahlungsbedingungen sicher.\n" +"Die letzte Zeile einer Zahlungsbedingung sollte zwingend vom Typ \"Saldo\" " +"sein." #. module: account #: model:process.transition,note:account.process_transition_invoicemanually0 @@ -7895,7 +7940,7 @@ msgstr "Herkunftsdokument" #: code:addons/account/account_analytic_line.py:90 #, python-format msgid "There is no expense account defined for this product: \"%s\" (id:%d)." -msgstr "" +msgstr "Es gibt kein Aufwandskonto für dieses Produkt: \"%s (id:%d)." #. module: account #: constraint:account.account:0 @@ -7904,6 +7949,9 @@ msgid "" "You cannot define children to an account with internal type different of " "\"View\"." msgstr "" +"Konfigurationsfehler !\n" +"Sie können kein Sub Konto zu einem Konto mit dem internen Typ \"Ansicht\" " +"zuordnen." #. module: account #: model:ir.model,name:account.model_accounting_report @@ -7913,7 +7961,7 @@ msgstr "Finanzbericht" #. module: account #: field:account.analytic.line,currency_id:0 msgid "Account Currency" -msgstr "" +msgstr "Währung der Fibu" #. module: account #: report:account.invoice:0 @@ -7927,6 +7975,10 @@ msgid "" "You can not delete an invoice which is not cancelled. You should refund it " "instead." msgstr "" +"Sie können keine Rechnung löschen, die noch nicht abgebrochen wurde. Anstatt " +"dessen, \r\n" +"können Sie auch einfach eine Gutschrift erstellen und die offenen Positionen " +"ausgleichen." #. module: account #: help:account.tax,amount:0 @@ -7980,7 +8032,7 @@ msgstr "Eröffnungsbuchungen des Aufwandskontos" #. module: account #: view:account.invoice:0 msgid "Customer Reference" -msgstr "" +msgstr "Kundenreferenz" #. module: account #: field:account.account.template,parent_id:0 @@ -7996,7 +8048,7 @@ msgstr "Preis" #: view:account.bank.statement:0 #: field:account.bank.statement,closing_details_ids:0 msgid "Closing Cashbox Lines" -msgstr "" +msgstr "Abschluss Kassenzeilen" #. module: account #: view:account.bank.statement:0 @@ -8037,7 +8089,7 @@ msgstr "Gruppiere nach Rechnungsjahr" #. module: account #: field:account.config.settings,purchase_tax_rate:0 msgid "Purchase tax (%)" -msgstr "" +msgstr "Vorsteuer (xy%)" #. module: account #: help:res.partner,credit:0 @@ -8052,7 +8104,7 @@ msgstr "Unausgeglichene Buchungen" #. module: account #: model:ir.actions.act_window,name:account.open_account_charts_modules msgid "Chart Templates" -msgstr "" +msgstr "Buchungsvorlagen" #. module: account #: field:account.journal.period,icon:0 @@ -8102,7 +8154,7 @@ msgstr "Eröffnungsbilanz Erlöskonto" #. module: account #: field:account.config.settings,group_proforma_invoices:0 msgid "Allow pro-forma invoices" -msgstr "" +msgstr "Ermöglicht Pro-Form Rechnung" #. module: account #: view:account.bank.statement:0 @@ -8137,7 +8189,7 @@ msgstr "" #. module: account #: help:account.config.settings,currency_id:0 msgid "Main currency of the company." -msgstr "" +msgstr "Hauptwährung des Unternehmens" #. module: account #: model:ir.ui.menu,name:account.menu_finance_reports @@ -8165,7 +8217,7 @@ msgstr "Konto-Journal" #. module: account #: field:account.config.settings,tax_calculation_rounding_method:0 msgid "Tax calculation rounding method" -msgstr "" +msgstr "Rundung für Steuerberechnung" #. module: account #: model:process.node,name:account.process_node_paidinvoice0 @@ -8182,6 +8234,10 @@ msgid "" " with the invoice. You will not be able " "to modify the credit note." msgstr "" +"Verwenden Sie diese Option, wenn Sie eine Rechnung stornieren wollen, die " +"Sie ursprünglich so nicht erstellen wollten. Es wird eine Gutschrift " +"erstellt, gebucht und unmittelbar zusammen mit der falschen Rechnung " +"ausgeglichen. Sie können diese Gutschrift dann nicht mehr modifizieren." #. module: account #: help:account.partner.reconcile.process,next_partner_id:0 @@ -8217,6 +8273,8 @@ msgid "" "There is no default credit account defined \n" "on journal \"%s\"." msgstr "" +"Es wurde noch kein Standard Habenkonto für das Journal\n" +"%s erstellt." #. module: account #: view:account.invoice.line:0 @@ -8255,6 +8313,26 @@ msgid "" "

\n" " " msgstr "" +"

\n" +" Klicken Sie zur Erstellung einer Kostenstelle.\n" +"

\n" +" Im Normalfall wird ein Standard Kontenplan durch die " +"Finanzbehörden\n" +" eines Landes empfohlen oder vorgegeben. Der " +"Kostenstellenplan sollte \n" +" ergänzend den Bedarf Ihres Unternehmens für Kosten- und " +"Erlöse \n" +" Auswertungen reflektieren.\n" +"

\n" +" Üblicherweise erfolgt eine Strukturierung nach Verträgen, " +"Projekten, Produkten\n" +" oder Abteilungen. Die meisten OpenERP Geschäftsprozesse " +"(Rechnungen, \n" +" Zeiterfassung, Spesen etc.) generieren " +"Kostenstellenbuchungen auf den \n" +" korrespondierenden Finanzkonten.\n" +"

\n" +" " #. module: account #: model:account.account.type,name:account.data_account_type_view @@ -8380,6 +8458,8 @@ msgid "" "This date will be used as the invoice date for credit note and period will " "be chosen accordingly!" msgstr "" +"Dieses Datum wird als Buchungsdatum für eine Gutschrift verwendet, die " +"Periode wird demgemäß gleichlautend gebucht." #. module: account #: view:product.template:0 @@ -8393,6 +8473,8 @@ msgid "" "You have to set a code for the bank account defined on the selected chart of " "accounts." msgstr "" +"Sie sollten ein Kürzel für ein Bankkonto hinterlegen, möglichst auf Basis " +"eines hinterlegten Kontenplans." #. module: account #: model:ir.ui.menu,name:account.menu_manual_reconcile @@ -8474,7 +8556,7 @@ msgstr "Steuercode Nummer" #. module: account #: field:account.config.settings,sale_refund_sequence_prefix:0 msgid "Credit note sequence" -msgstr "" +msgstr "Gutschrift Belegfolge" #. module: account #: model:ir.actions.act_window,name:account.action_validate_account_move @@ -8488,7 +8570,7 @@ msgstr "Quittiere Buchungen" #. module: account #: field:account.journal,centralisation:0 msgid "Centralised Counterpart" -msgstr "" +msgstr "Zentralisiertes Gegenkonto" #. module: account #: selection:account.bank.statement.line,type:0 @@ -8544,7 +8626,7 @@ msgstr "Sequenz" #. module: account #: field:account.config.settings,paypal_account:0 msgid "Paypal account" -msgstr "" +msgstr "Paypal Konto" #. module: account #: selection:account.print.journal,sort_selection:0 @@ -8563,6 +8645,8 @@ msgid "" "Error!\n" "You cannot create recursive accounts." msgstr "" +"Fehler !\n" +"Sie können keine Konten anlegen, die auf sich selbst referenzieren." #. module: account #: model:ir.model,name:account.model_cash_box_in @@ -8612,7 +8696,7 @@ msgstr "Oberkonto" #: code:addons/account/account_cash_statement.py:292 #, python-format msgid "Profit" -msgstr "" +msgstr "Gewinn" #. module: account #: help:account.payment.term.line,days2:0 @@ -8660,7 +8744,7 @@ msgstr "Barkassenbuchung" #. module: account #: field:account.installer,charts:0 msgid "Accounting Package" -msgstr "" +msgstr "Finanzbuchhaltung" #. module: account #: report:account.third_party_ledger:0 @@ -8675,7 +8759,7 @@ msgstr "Partner Kontoauszug" #: code:addons/account/account_invoice.py:1340 #, python-format msgid "%s cancelled." -msgstr "" +msgstr "%s abgebrochen." #. module: account #: code:addons/account/account.py:652 @@ -8689,12 +8773,12 @@ msgstr "Warnung!" #: help:account.bank.statement,message_unread:0 #: help:account.invoice,message_unread:0 msgid "If checked new messages require your attention." -msgstr "" +msgstr "Benachrichtigung erfordert handeln" #. module: account #: field:res.company,tax_calculation_rounding_method:0 msgid "Tax Calculation Rounding Method" -msgstr "" +msgstr "Runden von Steuern" #. module: account #: field:account.entries.report,move_line_state:0 @@ -8813,7 +8897,7 @@ msgstr "Umgekehrter Saldo (Anal.)" #: help:account.move.reconcile,opening_reconciliation:0 msgid "" "Is this reconciliation produced by the opening of a new fiscal year ?." -msgstr "" +msgstr "Wurde dieser Ausgleich durch eine Jahreseröffnung erzeugt ?" #. module: account #: view:account.analytic.line:0 @@ -8847,7 +8931,7 @@ msgstr "Restbetrag" #. module: account #: view:account.bank.statement:0 msgid "Opening Cash Control" -msgstr "" +msgstr "Öffne Kassenprotokoll" #. module: account #: model:process.node,note:account.process_node_invoiceinvoice0 @@ -8887,7 +8971,7 @@ msgstr "Auszug Aufwandsbuchungen" #. module: account #: view:account.config.settings:0 msgid "No Fiscal Year Defined for This Company" -msgstr "" +msgstr "Es ist noch kein Geschäftsjahr für das Unternehmen angelegt" #. module: account #: view:account.invoice:0 @@ -8918,7 +9002,7 @@ msgstr "Journal zu Gutschriften aus Eingangsrechnungen" #: code:addons/account/account.py:1292 #, python-format msgid "Please define a sequence on the journal." -msgstr "" +msgstr "Bitte definieren Sie eine Nummernfolge für das Journal." #. module: account #: help:account.tax.template,amount:0 @@ -8949,6 +9033,9 @@ msgid "" "recalls.\n" " This installs the module account_followup." msgstr "" +"Diese Anwendung ermöglicht den automatischen elektronischen Versand von " +"mehrstufigen Zahlungserinnerungen.\n" +" Es wird das Modul account_followup installiert." #. module: account #: field:account.automatic.reconcile,period_id:0 @@ -8993,12 +9080,12 @@ msgstr "Nettosumme:" #: code:addons/account/wizard/account_report_common.py:153 #, python-format msgid "Select a starting and an ending period." -msgstr "" +msgstr "Wählen Sie eine Start- und Endeperiode." #. module: account #: field:account.config.settings,sale_sequence_next:0 msgid "Next invoice number" -msgstr "" +msgstr "Nächste Rechnungsnummer" #. module: account #: model:ir.ui.menu,name:account.menu_finance_generic_reporting @@ -9055,6 +9142,9 @@ msgid "" "This wizard will remove the end of year journal entries of selected fiscal " "year. Note that you can run this wizard many times for the same fiscal year." msgstr "" +"Dieser Assistent entfernt die Jahresabschlußbuchungen für das ausgewählte " +"Geschäftsjahr. Beachten Sie dass der Assistent für den Jahresabschluß " +"beliebig oft wiederholt werden kann." #. module: account #: report:account.invoice:0 @@ -9137,6 +9227,10 @@ msgid "" "invoice will be created \n" " so that you can edit it." msgstr "" +"Verwenden Sie diese Option wenn Sie eine Rechnung stornieren und eine Neue " +"erstellen wollen. Die Gutschrift wird erstellt, gebucht und zusammen mit der " +"korrespondierenden Rechnung ausgeglichen. Eine neue Rechnung wurde erstellt " +"und steht zu Ihrer weiteren Bearbeitung bereit." #. module: account #: model:process.transition,name:account.process_transition_filestatement0 @@ -9147,7 +9241,7 @@ msgstr "Auto Import Bankauszug" #: code:addons/account/account_invoice.py:370 #, python-format msgid "Unknown Error!" -msgstr "" +msgstr "Unbekannter Fehler !" #. module: account #: model:ir.model,name:account.model_account_move_bank_reconcile @@ -9157,7 +9251,7 @@ msgstr "Abstimmung Bankbuchungen" #. module: account #: view:account.config.settings:0 msgid "Apply" -msgstr "" +msgstr "Anwenden" #. module: account #: field:account.financial.report,account_type_ids:0 diff --git a/addons/account/i18n/es.po b/addons/account/i18n/es.po index 4ba5d3b3976..a42cede8e38 100644 --- a/addons/account/i18n/es.po +++ b/addons/account/i18n/es.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-11-21 18:46+0000\n" -"Last-Translator: Pedro Manuel Baeza \n" +"PO-Revision-Date: 2012-12-04 19:34+0000\n" +"Last-Translator: Santi (Pexego) \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-04 05:26+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:19+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account @@ -26,6 +26,7 @@ msgstr "Sistema de pagos" msgid "" "An account fiscal position could be defined only once time on same accounts." msgstr "" +"Una posición fiscal solo puede estar definida una vez en las mismas cuentas." #. module: account #: view:account.unreconcile:0 @@ -85,7 +86,7 @@ msgstr "Importar desde factura o pago" #: code:addons/account/account_move_line.py:1198 #, python-format msgid "Bad Account!" -msgstr "" +msgstr "Cuenta erronea." #. module: account #: view:account.move:0 @@ -109,6 +110,8 @@ msgid "" "Error!\n" "You cannot create recursive account templates." msgstr "" +"¡Error!\n" +"No puede crear plantillas de cuentas recursivas." #. module: account #. openerp-web @@ -199,6 +202,14 @@ msgid "" "

\n" " " msgstr "" +"

\n" +" Haga clic para añadir un período fiscal.\n" +"

\n" +" Un período fiscal es habitualmente un mes o un trimestre. \n" +" Normalmente se corresponde con los períodos de presentación " +"de impuestos\n" +"

\n" +" " #. module: account #: model:ir.actions.act_window,name:account.action_view_created_invoice_dashboard @@ -213,7 +224,7 @@ msgstr "Etiqueta de columna" #. module: account #: help:account.config.settings,code_digits:0 msgid "No. of digits to use for account code" -msgstr "" +msgstr "Cantidad de dígitos a usar para el código de la cuenta" #. module: account #: help:account.analytic.journal,type:0 @@ -233,6 +244,9 @@ msgid "" "lines for invoices. Leave empty if you don't want to use an analytic account " "on the invoice tax lines by default." msgstr "" +"Introduzca la cuenta analítica a usar por defecto en las líneas de impuestos " +"de las facturas. Déjelo vacío si no quiere utilizar cuantas analíticas por " +"defecto en las líneas de impuestos." #. module: account #: model:ir.actions.act_window,name:account.action_account_tax_template_form @@ -263,7 +277,7 @@ msgstr "Informes Belgas" #. module: account #: model:account.account.type,name:account.account_type_income_view1 msgid "Income View" -msgstr "" +msgstr "Vista de ingresos" #. module: account #: help:account.account,user_type:0 @@ -288,6 +302,9 @@ msgid "" "sales, purchase, expense, contra, etc.\n" " This installs the module account_voucher." msgstr "" +"Incluye todos los requisitos básicos para la anotación de comprobantes de " +"banco, efectivo, ventas, compras, gastos, etc.. \n" +" Instala el módulo account_voucher" #. module: account #: model:ir.actions.act_window,name:account.action_account_use_model_create_entry @@ -337,7 +354,7 @@ msgstr "Desconciliar cuenta" #. module: account #: field:account.config.settings,module_account_budget:0 msgid "Budget management" -msgstr "" +msgstr "Gestión de presupuestos" #. module: account #: view:product.template:0 @@ -358,7 +375,7 @@ msgstr "" #. module: account #: field:account.config.settings,group_multi_currency:0 msgid "Allow multi currencies" -msgstr "" +msgstr "Permitir multi divisa" #. module: account #: code:addons/account/account_invoice.py:73 @@ -379,12 +396,12 @@ msgstr "Junio" #: code:addons/account/wizard/account_automatic_reconcile.py:148 #, python-format msgid "You must select accounts to reconcile." -msgstr "" +msgstr "Debe seleccionar las cuentas a reconciliar" #. module: account #: help:account.config.settings,group_analytic_accounting:0 msgid "Allows you to use the analytic accounting." -msgstr "" +msgstr "Le permite usar la contabilidad analítica" #. module: account #: view:account.invoice:0 @@ -392,7 +409,7 @@ msgstr "" #: view:account.invoice.report:0 #: field:account.invoice.report,user_id:0 msgid "Salesperson" -msgstr "" +msgstr "Comercial" #. module: account #: model:ir.model,name:account.model_account_tax_template @@ -458,7 +475,7 @@ msgstr "" #: code:addons/account/static/src/xml/account_move_line_quickadd.xml:8 #, python-format msgid "Period :" -msgstr "" +msgstr "Período :" #. module: account #: field:account.account.template,chart_template_id:0 @@ -494,7 +511,7 @@ msgstr "El importe expresado en otra divisa opcional." #. module: account #: view:account.journal:0 msgid "Available Coins" -msgstr "" +msgstr "Monedas disponibles" #. module: account #: field:accounting.report,enable_filter:0 @@ -547,7 +564,7 @@ msgstr "Destino padre" #. module: account #: help:account.invoice.line,sequence:0 msgid "Gives the sequence of this line when displaying the invoice." -msgstr "" +msgstr "Presenta la secuencia de esta línea cuando muestra la factura" #. module: account #: field:account.bank.statement,account_id:0 @@ -616,12 +633,12 @@ msgstr "El contable confirma el extracto." #: code:addons/account/static/src/xml/account_move_reconciliation.xml:31 #, python-format msgid "Nothing to reconcile" -msgstr "" +msgstr "Nada que reconciliar" #. module: account #: field:account.config.settings,decimal_precision:0 msgid "Decimal precision on journal entries" -msgstr "" +msgstr "Precisión decimal en movimientos contables" #. module: account #: selection:account.config.settings,period:0 @@ -657,6 +674,8 @@ msgid "" "Specified journal does not have any account move entries in draft state for " "this period." msgstr "" +"El diario especificado no tiene movimientos en estado borrador en este " +"período" #. module: account #: view:account.fiscal.position:0 @@ -679,12 +698,12 @@ msgstr "¡La secuencia principal debe ser diferente de la actual!" #: code:addons/account/wizard/account_change_currency.py:70 #, python-format msgid "Current currency is not configured properly." -msgstr "" +msgstr "La divisa actual no está configurada correctamente" #. module: account #: field:account.journal,profit_account_id:0 msgid "Profit Account" -msgstr "" +msgstr "Cuenta de ganancias" #. module: account #: code:addons/account/account_move_line.py:1144 @@ -708,7 +727,7 @@ msgstr "VEN" #: code:addons/account/account.py:1546 #, python-format msgid "Cannot create move with currency different from .." -msgstr "" +msgstr "No se puede crear un movimiento con divisa distinta de .." #. module: account #: model:email.template,report_name:account.email_template_edi_invoice @@ -743,6 +762,7 @@ msgstr "Periodo diario" msgid "" "You cannot create more than one move per period on a centralized journal." msgstr "" +"No puede crear más de un movimiento por periodo en un diario centralizado." #. module: account #: help:account.tax,account_analytic_paid_id:0 diff --git a/addons/account/i18n/pt_BR.po b/addons/account/i18n/pt_BR.po index ea622788171..2fea6a66631 100644 --- a/addons/account/i18n/pt_BR.po +++ b/addons/account/i18n/pt_BR.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-10-17 00:11+0000\n" -"Last-Translator: Syllas F. de O. Neto \n" +"PO-Revision-Date: 2012-12-04 13:40+0000\n" +"Last-Translator: Luis Felipe Miléo - http://www.akretion.com \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-04 05:27+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:19+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account @@ -51,7 +51,7 @@ msgstr "Reconciliar a Entrada de Diário" #: view:account.bank.statement:0 #: view:account.move.line:0 msgid "Account Statistics" -msgstr "Estatísticas da Conta" +msgstr "Estatisticas da conta" #. module: account #: view:account.invoice:0 @@ -85,7 +85,7 @@ msgstr "Importar da fatura ou do pagamento" #: code:addons/account/account_move_line.py:1198 #, python-format msgid "Bad Account!" -msgstr "" +msgstr "Conta Inválida" #. module: account #: view:account.move:0 @@ -108,6 +108,8 @@ msgid "" "Error!\n" "You cannot create recursive account templates." msgstr "" +"Erro!\n" +"Não é permitido criar modelos recursivos de contas" #. module: account #. openerp-web @@ -198,6 +200,13 @@ msgid "" "

\n" " " msgstr "" +"

\n" +" Click para adicionar um período fiscal.\n" +"

\n" +" Um período fiscal geralmente é de um mês ou de um trimestre. " +"Correspondendo a data de pagamento dos impostos\n" +"

\n" +" " #. module: account #: model:ir.actions.act_window,name:account.action_view_created_invoice_dashboard diff --git a/addons/account/i18n/zh_CN.po b/addons/account/i18n/zh_CN.po index a1da0632462..77efde5acd5 100644 --- a/addons/account/i18n/zh_CN.po +++ b/addons/account/i18n/zh_CN.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-11-30 17:32+0000\n" +"PO-Revision-Date: 2012-12-04 16:27+0000\n" "Last-Translator: ccdos \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-04 05:29+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account @@ -10443,7 +10443,7 @@ msgstr "发票的状态已完成" #. module: account #: field:account.config.settings,module_account_followup:0 msgid "Manage customer payment follow-ups" -msgstr "" +msgstr "管理客户付款 催款" #. module: account #: model:ir.model,name:account.model_report_account_sales diff --git a/addons/account/partner.py b/addons/account/partner.py index 3355363308b..b5e0a9538ef 100644 --- a/addons/account/partner.py +++ b/addons/account/partner.py @@ -215,9 +215,16 @@ class res_partner(osv.osv): 'account.payment.term', type='many2one', relation='account.payment.term', - string ='Payment Term', + string ='Customer Payment Term', view_load=True, - help="This payment term will be used instead of the default one for the current partner"), + help="This payment term will be used instead of the default one for sale orders and customer invoices"), + 'property_supplier_payment_term': fields.property( + 'account.payment.term', + type='many2one', + relation='account.payment.term', + string ='Supplier Payment Term', + view_load=True, + help="This payment term will be used instead of the default one for purchase orders and supplier invoices"), 'ref_companies': fields.one2many('res.company', 'partner_id', 'Companies that refers to partner'), 'last_reconciliation_date': fields.datetime('Latest Reconciliation Date', help='Date on which the partner accounting entries were fully reconciled last time. It differs from the date of the last reconciliation made for this partner, as here we depict the fact that nothing more was to be reconciled at this date. This can be achieved in 2 ways: either the last debit/credit entry was reconciled, either the user pressed the button "Fully Reconciled" in the manual reconciliation process') diff --git a/addons/account/partner_view.xml b/addons/account/partner_view.xml index d17f8c18eee..8623bd03922 100644 --- a/addons/account/partner_view.xml +++ b/addons/account/partner_view.xml @@ -89,6 +89,7 @@ + diff --git a/addons/account_accountant/i18n/de.po b/addons/account_accountant/i18n/de.po index 9b612d5c6ac..83d63025bd2 100644 --- a/addons/account_accountant/i18n/de.po +++ b/addons/account_accountant/i18n/de.po @@ -8,20 +8,19 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-11-24 02:51+0000\n" -"PO-Revision-Date: 2010-12-25 19:02+0000\n" -"Last-Translator: Thorsten Vocks (OpenBig.org) \n" +"PO-Revision-Date: 2012-12-04 07:23+0000\n" +"Last-Translator: Ferdinand @ Camptocamp \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2012-11-25 06:28+0000\n" -"X-Generator: Launchpad (build 16293)\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" +"X-Generator: Launchpad (build 16335)\n" #. module: account_accountant #: model:ir.actions.client,name:account_accountant.action_client_account_menu msgid "Open Accounting Menu" -msgstr "" +msgstr "Öffne Finanz Menü" #~ msgid "Accountant" #~ msgstr "Finanzbuchhaltung Administrator" diff --git a/addons/account_analytic_analysis/i18n/es_MX.po b/addons/account_analytic_analysis/i18n/es_MX.po index 451f5b9a4f0..0c7bc17d5dd 100644 --- a/addons/account_analytic_analysis/i18n/es_MX.po +++ b/addons/account_analytic_analysis/i18n/es_MX.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-11-27 23:22+0000\n" +"PO-Revision-Date: 2012-12-04 05:45+0000\n" "Last-Translator: OscarAlca \n" "Language-Team: Spanish (Mexico) \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:34+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account_analytic_analysis @@ -218,6 +218,8 @@ msgid "" "{'required': [('type','=','contract')], 'invisible': [('type','in',['view', " "'normal','template'])]}" msgstr "" +"{'required': [('type','=','contract')], 'invisible': [('type','in',['view', " +"'normal','template'])]}" #. module: account_analytic_analysis #: field:account.analytic.account,real_margin_rate:0 @@ -253,7 +255,7 @@ msgstr "Plantilla de contrato" #. module: account_analytic_analysis #: model:res.groups,name:account_analytic_analysis.group_template_required msgid "Mandatory use of templates in contracts" -msgstr "" +msgstr "Uso obligatorio de plantillas en contratos" #. module: account_analytic_analysis #: field:account.analytic.account,hours_quantity:0 @@ -437,6 +439,8 @@ msgid "" "Allows you to set the template field as required when creating an analytic " "account or a contract." msgstr "" +"Le permite configurar el campo plantilla como se requiera cuando se crea una " +"cuenta analítica o contrato." #. module: account_analytic_analysis #: help:account.analytic.account,hours_qtt_invoiced:0 @@ -608,12 +612,12 @@ msgstr "Fecha del último trabajo realizado en esta cuenta." #. module: account_analytic_analysis #: model:ir.model,name:account_analytic_analysis.model_sale_config_settings msgid "sale.config.settings" -msgstr "" +msgstr "Configuración de venta" #. module: account_analytic_analysis #: field:sale.config.settings,group_template_required:0 msgid "Mandatory use of templates." -msgstr "" +msgstr "Uso obligatorio de plantillas" #. module: account_analytic_analysis #: view:account.analytic.account:0 @@ -659,6 +663,7 @@ msgstr "Tiempo Total" msgid "" "the field template of the analytic accounts and contracts will be required." msgstr "" +"El campo plantilla de las cuentas analíticas y contratos será requerido" #. module: account_analytic_analysis #: field:account.analytic.account,invoice_on_timesheets:0 diff --git a/addons/account_asset/i18n/nl.po b/addons/account_asset/i18n/nl.po index 9f09d68e30a..1c5249de89b 100644 --- a/addons/account_asset/i18n/nl.po +++ b/addons/account_asset/i18n/nl.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-12-01 16:19+0000\n" +"PO-Revision-Date: 2012-12-04 17:19+0000\n" "Last-Translator: Erwin van der Ploeg (Endian Solutions) \n" "Language-Team: Dutch \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-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account_asset @@ -448,6 +448,12 @@ msgid "" "You can manually close an asset when the depreciation is over. If the last " "line of depreciation is posted, the asset automatically goes in that status." msgstr "" +"Wanneer een activa is aangemaakt is de status 'Concept'.\n" +"Als de activa is bevestigd, wordt de status gezet op 'In bewerking' en " +"kunnen de afschrijvingsregels wporden geboekt in de boekhouding.\n" +"Het is mogelijk een activa handmatig af te sluiten als de afschrijving is " +"voltooid. Als de laatste afschrijvingsregels is geboekt, wordt deze status " +"automatisch ingesteld" #. module: account_asset #: field:account.asset.asset,state:0 diff --git a/addons/account_bank_statement_extensions/i18n/nl.po b/addons/account_bank_statement_extensions/i18n/nl.po index 113052428cd..9d288c778f8 100644 --- a/addons/account_bank_statement_extensions/i18n/nl.po +++ b/addons/account_bank_statement_extensions/i18n/nl.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-11-24 22:05+0000\n" +"PO-Revision-Date: 2012-12-04 17:22+0000\n" "Last-Translator: Erwin van der Ploeg (Endian Solutions) \n" "Language-Team: Dutch \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:54+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account_bank_statement_extensions @@ -59,7 +59,7 @@ msgstr "Geselecteerde bankafschriftregels annuleren" #. module: account_bank_statement_extensions #: field:account.bank.statement.line,val_date:0 msgid "Value Date" -msgstr "" +msgstr "Betaaldatum" #. module: account_bank_statement_extensions #: view:account.bank.statement.line:0 @@ -113,6 +113,8 @@ msgid "" "Delete operation not allowed. Please go to the associated bank " "statement in order to delete and/or modify bank statement line." msgstr "" +"Verwijderen is niet mogelijk. Ga naar het betreffende bankafschrift om een " +"bankafschrift te bewerken of te verwijderen." #. module: account_bank_statement_extensions #: view:confirm.statement.line:0 @@ -220,7 +222,7 @@ msgstr "Handmatig" #. module: account_bank_statement_extensions #: view:account.bank.statement.line:0 msgid "Bank Transaction" -msgstr "" +msgstr "Bank transactie" #. module: account_bank_statement_extensions #: view:account.bank.statement.line:0 diff --git a/addons/account_budget/i18n/de.po b/addons/account_budget/i18n/de.po index 978211d4636..47d67284dd2 100644 --- a/addons/account_budget/i18n/de.po +++ b/addons/account_budget/i18n/de.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-02-08 08:46+0000\n" +"PO-Revision-Date: 2012-12-04 07:23+0000\n" "Last-Translator: Ferdinand @ Camptocamp \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-04 05:42+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account_budget @@ -234,7 +234,7 @@ msgstr "Budgets genehmigen" #. module: account_budget #: view:crossovered.budget:0 msgid "Duration" -msgstr "" +msgstr "Dauer" #. module: account_budget #: field:account.budget.post,code:0 @@ -332,7 +332,7 @@ msgstr "Sollwert" #: view:account.budget.crossvered.summary.report:0 #: view:account.budget.report:0 msgid "or" -msgstr "" +msgstr "oder" #. module: account_budget #: field:crossovered.budget.lines,analytic_account_id:0 diff --git a/addons/account_followup/i18n/nb.po b/addons/account_followup/i18n/nb.po index 4d54d42af10..6da2f411163 100644 --- a/addons/account_followup/i18n/nb.po +++ b/addons/account_followup/i18n/nb.po @@ -8,20 +8,20 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-11-29 13:37+0000\n" +"PO-Revision-Date: 2012-12-04 10:32+0000\n" "Last-Translator: Kaare Pettersen \n" "Language-Team: Norwegian Bokmal \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:19+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:19+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account_followup #: view:account_followup.followup.line:0 #: field:account_followup.followup.line,manual_action:0 msgid "Manual Action" -msgstr "" +msgstr "Manuell handling." #. module: account_followup #: help:res.partner,latest_followup_level_id:0 @@ -31,7 +31,7 @@ msgstr "" #. module: account_followup #: view:res.partner:0 msgid "Group by" -msgstr "" +msgstr "Grupper etter." #. module: account_followup #: view:account_followup.stat:0 @@ -47,27 +47,27 @@ msgstr "Oppfølging" #. module: account_followup #: view:account_followup.followup.line:0 msgid "%(date)s" -msgstr "" +msgstr "%(Dato)s" #. module: account_followup #: field:res.partner,payment_next_action_date:0 msgid "Next Action Date" -msgstr "" +msgstr "Neste handling dato." #. module: account_followup #: field:account_followup.sending.results,needprinting:0 msgid "Needs Printing" -msgstr "" +msgstr "Trenger utskrift." #. module: account_followup #: view:res.partner:0 msgid "⇾ Mark as Done" -msgstr "" +msgstr "Merk som ferdig." #. module: account_followup #: field:account_followup.followup.line,manual_action_note:0 msgid "Action To Do" -msgstr "" +msgstr "Handling å gjøre." #. module: account_followup #: model:email.template,body_html:account_followup.email_template_account_followup_level0 @@ -149,7 +149,7 @@ msgstr "" #. module: account_followup #: view:res.partner:0 msgid "Follow-ups to do" -msgstr "" +msgstr "Oppfølginger å gjøre." #. module: account_followup #: field:account_followup.followup,company_id:0 @@ -208,12 +208,12 @@ msgstr "E-post kropp." #. module: account_followup #: help:res.partner,payment_responsible_id:0 msgid "Responsible for making sure the action happens." -msgstr "" +msgstr "Ansvarlig for å sørge for at handlingen skjer." #. module: account_followup #: view:res.partner:0 msgid "Overdue amount" -msgstr "" +msgstr "Forfalte beløpet." #. module: account_followup #: model:ir.actions.act_window,name:account_followup.action_account_followup_print @@ -228,7 +228,7 @@ msgstr "Beløp" #. module: account_followup #: view:res.partner:0 msgid "No Responsible" -msgstr "" +msgstr "Ingen ansvarlige." #. module: account_followup #: view:account_followup.stat.by.partner:0 @@ -243,12 +243,12 @@ msgstr "Total debet" #. module: account_followup #: field:res.partner,payment_next_action:0 msgid "Next Action" -msgstr "" +msgstr "Neste handling." #. module: account_followup #: view:account_followup.followup.line:0 msgid ": Partner Name" -msgstr "" +msgstr ": Partner navn." #. module: account_followup #: view:account_followup.followup:0 @@ -283,12 +283,12 @@ msgstr "Dato :" #. module: account_followup #: view:res.partner:0 msgid "I am responsible" -msgstr "" +msgstr "Jeg er ansvarlig." #. module: account_followup #: sql_constraint:account_followup.followup:0 msgid "Only one follow-up per company is allowed" -msgstr "" +msgstr "Bare en oppfølgning per. firma er lov." #. module: account_followup #: model:account_followup.followup.line,description:account_followup.demo_followup_line4 @@ -325,22 +325,22 @@ msgstr "Ikke Prosedyre" #. module: account_followup #: view:res.partner:0 msgid "Without responsible" -msgstr "" +msgstr "Uten ansvar." #. module: account_followup #: view:account_followup.print:0 msgid "Send emails and generate letters" -msgstr "" +msgstr "Send e-poster og lage brever." #. module: account_followup #: model:ir.actions.act_window,name:account_followup.action_customer_followup msgid "Manual Follow-Ups" -msgstr "" +msgstr "Manuelle oppfølgninger." #. module: account_followup #: view:account_followup.followup.line:0 msgid "%(partner_name)s" -msgstr "" +msgstr "%(partner_navn)s" #. module: account_followup #: field:account_followup.stat,debit:0 @@ -355,7 +355,7 @@ msgstr "Oppfølging statistikk." #. module: account_followup #: view:res.partner:0 msgid "Send Overdue Email" -msgstr "" +msgstr "Send forfalte e-poster." #. module: account_followup #: model:ir.model,name:account_followup.model_account_followup_followup_line @@ -371,23 +371,23 @@ msgstr "Gir rekkefølgen av når du viser en liste over oppfølging linjer." #: code:addons/account_followup/wizard/account_followup_print.py:166 #, python-format msgid " will be sent" -msgstr "" +msgstr " Vil bli sendt." #. module: account_followup #: view:account_followup.followup.line:0 msgid ": User's Company Name" -msgstr "" +msgstr ": Brukerens firma navn." #. module: account_followup #: view:account_followup.followup.line:0 #: field:account_followup.followup.line,send_letter:0 msgid "Send a Letter" -msgstr "" +msgstr "Send et brev." #. module: account_followup #: model:ir.actions.act_window,name:account_followup.action_account_followup_definition_form msgid "Payment Follow-ups" -msgstr "" +msgstr "Betaling oppfølgninger." #. module: account_followup #: field:account_followup.followup.line,delay:0 @@ -398,7 +398,7 @@ msgstr "" #: code:addons/account_followup/wizard/account_followup_print.py:155 #, python-format msgid "Nobody" -msgstr "" +msgstr "Ingen." #. module: account_followup #: field:account.move.line,followup_line_id:0 @@ -420,7 +420,7 @@ msgstr "" #. module: account_followup #: model:ir.ui.menu,name:account_followup.account_followup_s msgid "Do Manual Follow-Ups" -msgstr "" +msgstr "Gjøre manuell oppfølging." #. module: account_followup #: report:account_followup.followup.print:0 @@ -451,7 +451,7 @@ msgstr "Send E-post på Partnerens språk" #: code:addons/account_followup/wizard/account_followup_print.py:169 #, python-format msgid " email(s) sent" -msgstr "" +msgstr " E-post(er) sendt." #. module: account_followup #: model:ir.model,name:account_followup.model_account_followup_print @@ -501,12 +501,12 @@ msgstr "" #. module: account_followup #: view:res.partner:0 msgid "Partners with Credits" -msgstr "" +msgstr "Partnere med kreditter." #. module: account_followup #: help:account_followup.followup.line,send_email:0 msgid "When processing, it will send an email" -msgstr "" +msgstr "Ved behandling, vil den sende en e-post." #. module: account_followup #: view:account_followup.stat.by.partner:0 @@ -528,7 +528,7 @@ msgstr "Oppfølginger" #: code:addons/account_followup/account_followup.py:227 #, python-format msgid "Email not sent because of email address of partner not filled in" -msgstr "" +msgstr "E-posten er ikke send fordi e-postadressen partner ikke er fylt ut." #. module: account_followup #: model:ir.model,name:account_followup.model_account_followup_followup @@ -561,12 +561,12 @@ msgstr "" #: code:addons/account_followup/wizard/account_followup_print.py:172 #, python-format msgid " manual action(s) assigned:" -msgstr "" +msgstr " Manuell handling(er) tilordnet:" #. module: account_followup #: view:res.partner:0 msgid "Search Partner" -msgstr "" +msgstr "Søk partner." #. module: account_followup #: view:res.partner:0 @@ -581,7 +581,7 @@ msgstr "" #. module: account_followup #: model:ir.ui.menu,name:account_followup.account_followup_print_menu msgid "Send Letters and Emails" -msgstr "" +msgstr "Send brever og e-poster." #. module: account_followup #: view:account_followup.followup:0 @@ -597,7 +597,7 @@ msgstr "" #: code:addons/account_followup/wizard/account_followup_print.py:240 #, python-format msgid "Send Letters and Emails: Actions Summary" -msgstr "" +msgstr "Send brever og e-poster: Handling oppsummering." #. module: account_followup #: view:account_followup.print:0 @@ -612,17 +612,17 @@ msgstr "Blokkert" #. module: account_followup #: sql_constraint:account_followup.followup.line:0 msgid "Days of the follow-up levels must be different" -msgstr "" +msgstr "Dagene for oppfølgnings nivåene må være annerledes." #. module: account_followup #: view:res.partner:0 msgid "Click to mark the action as done." -msgstr "" +msgstr "Klikk for å markere handling som ferdig." #. module: account_followup #: model:ir.ui.menu,name:account_followup.menu_action_followup_stat_follow msgid "Follow-Ups Analysis" -msgstr "" +msgstr "Oppfølgnings analyse." #. module: account_followup #: help:account_followup.print,date:0 @@ -640,7 +640,7 @@ msgstr "Oppfølgings sendedato" #. module: account_followup #: field:res.partner,payment_responsible_id:0 msgid "Follow-up Responsible" -msgstr "" +msgstr "Oppfølgning ansvarlig." #. module: account_followup #: report:account_followup.followup.print:0 @@ -656,12 +656,12 @@ msgstr "Faktura påminnelse" #. module: account_followup #: model:ir.ui.menu,name:account_followup.account_followup_menu msgid "Follow-up Levels" -msgstr "" +msgstr "Oppfølgnings nivåer." #. module: account_followup #: view:res.partner:0 msgid "Future Follow-ups" -msgstr "" +msgstr "Fremtidige Oppfølgninger." #. module: account_followup #: view:account_followup.followup:0 @@ -689,13 +689,13 @@ msgstr "Siste Oppfølging" #. module: account_followup #: view:account_followup.sending.results:0 msgid "Download Letters" -msgstr "" +msgstr "Last ned brevene." #. module: account_followup #: field:account_followup.print,company_id:0 #: field:res.partner,unreconciled_aml_ids:0 msgid "unknown" -msgstr "" +msgstr "Ukjent." #. module: account_followup #: code:addons/account_followup/account_followup.py:245 @@ -706,7 +706,7 @@ msgstr "" #. module: account_followup #: model:ir.model,name:account_followup.model_email_template msgid "Email Templates" -msgstr "" +msgstr "E-post maler." #. module: account_followup #: help:account_followup.followup.line,manual_action:0 @@ -719,7 +719,7 @@ msgstr "" #: code:addons/account_followup/wizard/account_followup_print.py:171 #, python-format msgid " email(s) should have been sent, but " -msgstr "" +msgstr " e-post (e) skal ha blitt sendt, men. " #. module: account_followup #: help:account_followup.print,test_print:0 @@ -740,12 +740,12 @@ msgstr "Totalt:" #. module: account_followup #: field:account_followup.followup.line,email_template_id:0 msgid "Email Template" -msgstr "" +msgstr "E-post mal." #. module: account_followup #: view:account_followup.followup.line:0 msgid "%(user_signature)s" -msgstr "" +msgstr "%(Bruker_signatur)s" #. module: account_followup #: model:ir.model,name:account_followup.model_res_company @@ -761,7 +761,7 @@ msgstr "Oppsummering" #: view:account_followup.followup.line:0 #: field:account_followup.followup.line,send_email:0 msgid "Send an Email" -msgstr "" +msgstr "Send en e-post." #. module: account_followup #: model:account_followup.followup.line,description:account_followup.demo_followup_line2 @@ -979,17 +979,17 @@ msgstr "Balanse" #. module: account_followup #: help:res.partner,payment_note:0 msgid "Payment Note" -msgstr "" +msgstr "Betalings notat." #. module: account_followup #: view:res.partner:0 msgid "My Follow-ups" -msgstr "" +msgstr "Mine oppfølgninger." #. module: account_followup #: view:account_followup.followup.line:0 msgid "%(company_name)s" -msgstr "" +msgstr "%(Firma_navn)s" #. module: account_followup #: field:account_followup.stat,date_move_last:0 @@ -1011,7 +1011,7 @@ msgstr "Periode" #: code:addons/account_followup/wizard/account_followup_print.py:231 #, python-format msgid "%s partners have no credits and as such the action is cleared" -msgstr "" +msgstr "% s partnere har ingen kreditter og slik at handlingen er fjernet." #. module: account_followup #: model:ir.actions.report.xml,name:account_followup.account_followup_followup_report @@ -1024,6 +1024,8 @@ msgid "" ", the latest payment follow-up\n" " was:" msgstr "" +"Den siste betalingen oppfølging\n" +"var." #. module: account_followup #: view:account_followup.print:0 @@ -1033,7 +1035,7 @@ msgstr "Avbryt" #. module: account_followup #: view:account_followup.sending.results:0 msgid "Close" -msgstr "" +msgstr "Lukk." #. module: account_followup #: view:account_followup.stat:0 @@ -1050,33 +1052,33 @@ msgstr "Maks Oppfølgings Nivå" #: code:addons/account_followup/wizard/account_followup_print.py:171 #, python-format msgid " had unknown email address(es)" -msgstr "" +msgstr " hadde ukjente e-postadresse(r)" #. module: account_followup #: view:res.partner:0 msgid "Responsible" -msgstr "" +msgstr "Ansvarlig." #. module: account_followup #: model:ir.ui.menu,name:account_followup.menu_finance_followup #: view:res.partner:0 msgid "Payment Follow-up" -msgstr "" +msgstr "Betaling oppfølgning." #. module: account_followup #: view:account_followup.followup.line:0 msgid ": Current Date" -msgstr "" +msgstr ": Nåværende dato." #. module: account_followup #: field:res.partner,payment_amount_due:0 msgid "Total amount due" -msgstr "" +msgstr "Totalbeløpet." #. module: account_followup #: field:account_followup.followup.line,name:0 msgid "Follow-Up Action" -msgstr "" +msgstr "Oppfølgning handling." #. module: account_followup #: view:account_followup.stat:0 @@ -1100,7 +1102,7 @@ msgstr "" #. module: account_followup #: view:account_followup.sending.results:0 msgid "Summary of actions" -msgstr "" +msgstr "Oppsummering av handlinger." #. module: account_followup #: report:account_followup.followup.print:0 @@ -1110,7 +1112,7 @@ msgstr "Ref" #. module: account_followup #: view:account_followup.followup.line:0 msgid "After" -msgstr "" +msgstr "Etter." #. module: account_followup #: view:account_followup.stat:0 @@ -1132,6 +1134,10 @@ msgid "" "

\n" " " msgstr "" +"

\n" +"Ingen tidsskriftet elementer funnet.\n" +"\n" +" " #. module: account_followup #: view:account.move.line:0 @@ -1190,7 +1196,7 @@ msgstr "Navn" #. module: account_followup #: field:res.partner,latest_followup_level_id:0 msgid "Latest Follow-up Level" -msgstr "" +msgstr "Siste Oppfølging nivå." #. module: account_followup #: field:account_followup.stat,date_move:0 @@ -1207,12 +1213,12 @@ msgstr "Oppfølging statistikk av partner." #: code:addons/account_followup/wizard/account_followup_print.py:172 #, python-format msgid " letter(s) in report" -msgstr "" +msgstr " Brev(er) i rapport." #. module: account_followup #: view:res.partner:0 msgid "Customer Followup" -msgstr "" +msgstr "Kundens oppfølgning." #. module: account_followup #: model:ir.actions.act_window,help:account_followup.action_account_followup_definition_form @@ -1321,12 +1327,12 @@ msgstr "" #: code:addons/account_followup/wizard/account_followup_print.py:166 #, python-format msgid "Follow-up letter of " -msgstr "" +msgstr "Oppfølgning brev av. " #. module: account_followup #: view:res.partner:0 msgid "The" -msgstr "" +msgstr "Den." #. module: account_followup #: view:account_followup.print:0 @@ -1346,7 +1352,7 @@ msgstr "Kredit" #. module: account_followup #: view:res.partner:0 msgid "Follow-ups To Do" -msgstr "" +msgstr "Oppfølgninger å gjøre." #. module: account_followup #: report:account_followup.followup.print:0 @@ -1364,7 +1370,7 @@ msgstr "" #. module: account_followup #: help:res.partner,latest_followup_date:0 msgid "Latest date that the follow-up level of the partner was changed" -msgstr "" +msgstr "Siste dato som oppfølging nivå av partner ble endret." #. module: account_followup #: field:account_followup.print,test_print:0 diff --git a/addons/account_followup/i18n/nl.po b/addons/account_followup/i18n/nl.po index 7eee8406237..c4a52167a46 100644 --- a/addons/account_followup/i18n/nl.po +++ b/addons/account_followup/i18n/nl.po @@ -7,30 +7,30 @@ msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-12-01 16:25+0000\n" +"PO-Revision-Date: 2012-12-04 17:33+0000\n" "Last-Translator: Erwin van der Ploeg (Endian Solutions) \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-04 05:19+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:19+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account_followup #: view:account_followup.followup.line:0 #: field:account_followup.followup.line,manual_action:0 msgid "Manual Action" -msgstr "" +msgstr "Handmatige actie" #. module: account_followup #: help:res.partner,latest_followup_level_id:0 msgid "The maximum follow-up level" -msgstr "" +msgstr "Het maximale herinneringsniveau" #. module: account_followup #: view:res.partner:0 msgid "Group by" -msgstr "" +msgstr "Groeperen op" #. module: account_followup #: view:account_followup.stat:0 @@ -46,27 +46,27 @@ msgstr "Betalingsherinnering" #. module: account_followup #: view:account_followup.followup.line:0 msgid "%(date)s" -msgstr "" +msgstr "%(date)s" #. module: account_followup #: field:res.partner,payment_next_action_date:0 msgid "Next Action Date" -msgstr "" +msgstr "Volgende actiedatum" #. module: account_followup #: field:account_followup.sending.results,needprinting:0 msgid "Needs Printing" -msgstr "" +msgstr "Moet worden afgedrukt" #. module: account_followup #: view:res.partner:0 msgid "⇾ Mark as Done" -msgstr "" +msgstr "⇾ Markeer als gereed" #. module: account_followup #: field:account_followup.followup.line,manual_action_note:0 msgid "Action To Do" -msgstr "" +msgstr "Actie Te doen" #. module: account_followup #: model:email.template,body_html:account_followup.email_template_account_followup_level0 @@ -148,7 +148,7 @@ msgstr "" #. module: account_followup #: view:res.partner:0 msgid "Follow-ups to do" -msgstr "" +msgstr "Betalingsherinneringen nog te doen" #. module: account_followup #: field:account_followup.followup,company_id:0 @@ -192,7 +192,7 @@ msgstr "" #. module: account_followup #: view:account_followup.followup.line:0 msgid "days overdue, do the following actions:" -msgstr "" +msgstr "dagen verlopen, doe de navolgende acties:" #. module: account_followup #: view:account_followup.followup.line:0 @@ -207,12 +207,12 @@ msgstr "Email bericht" #. module: account_followup #: help:res.partner,payment_responsible_id:0 msgid "Responsible for making sure the action happens." -msgstr "" +msgstr "Verantwoordelijke die ervoor zorgt dat de actie gebeurt." #. module: account_followup #: view:res.partner:0 msgid "Overdue amount" -msgstr "" +msgstr "Vervallen bedrag" #. module: account_followup #: model:ir.actions.act_window,name:account_followup.action_account_followup_print @@ -242,12 +242,12 @@ msgstr "Totaal debet" #. module: account_followup #: field:res.partner,payment_next_action:0 msgid "Next Action" -msgstr "" +msgstr "Volgende actie" #. module: account_followup #: view:account_followup.followup.line:0 msgid ": Partner Name" -msgstr "" +msgstr ": Relatie naam" #. module: account_followup #: view:account_followup.followup:0 @@ -282,7 +282,7 @@ msgstr "Datum :" #. module: account_followup #: view:res.partner:0 msgid "I am responsible" -msgstr "" +msgstr "Ik ben verantwoordelijk" #. module: account_followup #: sql_constraint:account_followup.followup:0 @@ -314,7 +314,7 @@ msgstr "" #. module: account_followup #: help:account_followup.followup.line,send_letter:0 msgid "When processing, it will print a letter" -msgstr "" +msgstr "Bij verwerken wordt een brieg gemaakt" #. module: account_followup #: view:account_followup.stat:0 @@ -324,22 +324,22 @@ msgstr "Geen geschil" #. module: account_followup #: view:res.partner:0 msgid "Without responsible" -msgstr "" +msgstr "Zonder verantwoordelijke" #. module: account_followup #: view:account_followup.print:0 msgid "Send emails and generate letters" -msgstr "" +msgstr "Verstuur e-mails en genereer brieven" #. module: account_followup #: model:ir.actions.act_window,name:account_followup.action_customer_followup msgid "Manual Follow-Ups" -msgstr "" +msgstr "Handmatige herinnneringen" #. module: account_followup #: view:account_followup.followup.line:0 msgid "%(partner_name)s" -msgstr "" +msgstr "%(partner_name)s" #. module: account_followup #: field:account_followup.stat,debit:0 @@ -354,7 +354,7 @@ msgstr "Betalingsherinneringen analyses" #. module: account_followup #: view:res.partner:0 msgid "Send Overdue Email" -msgstr "" +msgstr "Stuur betalingsherinnnering e-mail" #. module: account_followup #: model:ir.model,name:account_followup.model_account_followup_followup_line @@ -371,34 +371,34 @@ msgstr "" #: code:addons/account_followup/wizard/account_followup_print.py:166 #, python-format msgid " will be sent" -msgstr "" +msgstr " wordt verstuurt" #. module: account_followup #: view:account_followup.followup.line:0 msgid ": User's Company Name" -msgstr "" +msgstr ": Bedrijfsnaam van gebruiker" #. module: account_followup #: view:account_followup.followup.line:0 #: field:account_followup.followup.line,send_letter:0 msgid "Send a Letter" -msgstr "" +msgstr "Stuur een brief" #. module: account_followup #: model:ir.actions.act_window,name:account_followup.action_account_followup_definition_form msgid "Payment Follow-ups" -msgstr "" +msgstr "Betalingsherinnneringen" #. module: account_followup #: field:account_followup.followup.line,delay:0 msgid "Due Days" -msgstr "" +msgstr "Vervallen dagen" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:155 #, python-format msgid "Nobody" -msgstr "" +msgstr "Niemand" #. module: account_followup #: field:account.move.line,followup_line_id:0 @@ -415,12 +415,12 @@ msgstr "Laatste betalingsherinnering" #: model:ir.actions.act_window,name:account_followup.action_account_manual_reconcile_receivable #: model:ir.ui.menu,name:account_followup.menu_manual_reconcile_followup msgid "Reconcile Invoices & Payments" -msgstr "" +msgstr "Afletteren van facturen en betalingen" #. module: account_followup #: model:ir.ui.menu,name:account_followup.account_followup_s msgid "Do Manual Follow-Ups" -msgstr "" +msgstr "Maak handmatige betalingsherinneringen" #. module: account_followup #: report:account_followup.followup.print:0 @@ -435,7 +435,7 @@ msgstr "Stuur e-mail bevestiging" #. module: account_followup #: view:res.partner:0 msgid "Print Overdue Payments" -msgstr "" +msgstr "Vervallen betalingen afdrukken" #. module: account_followup #: field:account_followup.stat.by.partner,date_followup:0 @@ -451,7 +451,7 @@ msgstr "Stuur e-mail in de taal van de relatie" #: code:addons/account_followup/wizard/account_followup_print.py:169 #, python-format msgid " email(s) sent" -msgstr "" +msgstr " e-mail(s) verstuurd" #. module: account_followup #: model:ir.model,name:account_followup.model_account_followup_print @@ -529,6 +529,8 @@ msgstr "Betalingsherinneringen" #, python-format msgid "Email not sent because of email address of partner not filled in" msgstr "" +"E-mail is niet verstuurd omdat het e-mail adres van de relatie niet is " +"ingevuld." #. module: account_followup #: model:ir.model,name:account_followup.model_account_followup_followup @@ -566,7 +568,7 @@ msgstr "" #. module: account_followup #: view:res.partner:0 msgid "Search Partner" -msgstr "" +msgstr "Zoek relatie" #. module: account_followup #: view:res.partner:0 @@ -581,7 +583,7 @@ msgstr "" #. module: account_followup #: model:ir.ui.menu,name:account_followup.account_followup_print_menu msgid "Send Letters and Emails" -msgstr "" +msgstr "Stuur brieven en e-mails" #. module: account_followup #: view:account_followup.followup:0 @@ -591,7 +593,7 @@ msgstr "Zoek betalingsherinnering" #. module: account_followup #: view:res.partner:0 msgid "Account Move line" -msgstr "" +msgstr "Journaalpostregel" #. module: account_followup #: code:addons/account_followup/wizard/account_followup_print.py:240 @@ -617,12 +619,12 @@ msgstr "" #. module: account_followup #: view:res.partner:0 msgid "Click to mark the action as done." -msgstr "" +msgstr "Klik om de actie als gereed te kenmerken" #. module: account_followup #: model:ir.ui.menu,name:account_followup.menu_action_followup_stat_follow msgid "Follow-Ups Analysis" -msgstr "" +msgstr "Betalingsherinneringanalyse" #. module: account_followup #: help:account_followup.print,date:0 @@ -640,7 +642,7 @@ msgstr "Verzenddatum betalingsherinnering" #. module: account_followup #: field:res.partner,payment_responsible_id:0 msgid "Follow-up Responsible" -msgstr "" +msgstr "Betalingsherinnering verantwoordelijke" #. module: account_followup #: report:account_followup.followup.print:0 @@ -656,12 +658,12 @@ msgstr "Betalingsherinnering" #. module: account_followup #: model:ir.ui.menu,name:account_followup.account_followup_menu msgid "Follow-up Levels" -msgstr "" +msgstr "Betalingsherinnering niveau's" #. module: account_followup #: view:res.partner:0 msgid "Future Follow-ups" -msgstr "" +msgstr "Toekomstige betalingsherinneringen" #. module: account_followup #: view:account_followup.followup:0 @@ -689,13 +691,13 @@ msgstr "Laatste betalingsherinnering" #. module: account_followup #: view:account_followup.sending.results:0 msgid "Download Letters" -msgstr "" +msgstr "Download brieven" #. module: account_followup #: field:account_followup.print,company_id:0 #: field:res.partner,unreconciled_aml_ids:0 msgid "unknown" -msgstr "" +msgstr "onbekend" #. module: account_followup #: code:addons/account_followup/account_followup.py:245 @@ -706,7 +708,7 @@ msgstr "" #. module: account_followup #: model:ir.model,name:account_followup.model_email_template msgid "Email Templates" -msgstr "" +msgstr "Email-sjablonen" #. module: account_followup #: help:account_followup.followup.line,manual_action:0 @@ -742,12 +744,12 @@ msgstr "Totaal:" #. module: account_followup #: field:account_followup.followup.line,email_template_id:0 msgid "Email Template" -msgstr "" +msgstr "Email sjabloon" #. module: account_followup #: view:account_followup.followup.line:0 msgid "%(user_signature)s" -msgstr "" +msgstr "%(user_signature)s" #. module: account_followup #: model:ir.model,name:account_followup.model_res_company @@ -763,7 +765,7 @@ msgstr "Samenvatting" #: view:account_followup.followup.line:0 #: field:account_followup.followup.line,send_email:0 msgid "Send an Email" -msgstr "" +msgstr "Verstuur een e-mail" #. module: account_followup #: model:account_followup.followup.line,description:account_followup.demo_followup_line2 @@ -981,17 +983,17 @@ msgstr "Saldo" #. module: account_followup #: help:res.partner,payment_note:0 msgid "Payment Note" -msgstr "" +msgstr "Betalingsbewijs" #. module: account_followup #: view:res.partner:0 msgid "My Follow-ups" -msgstr "" +msgstr "Mijn betalingsherinneringen" #. module: account_followup #: view:account_followup.followup.line:0 msgid "%(company_name)s" -msgstr "" +msgstr "%(company_name)s" #. module: account_followup #: field:account_followup.stat,date_move_last:0 @@ -1035,7 +1037,7 @@ msgstr "Annuleren" #. module: account_followup #: view:account_followup.sending.results:0 msgid "Close" -msgstr "" +msgstr "Afsluiten" #. module: account_followup #: view:account_followup.stat:0 @@ -1052,12 +1054,12 @@ msgstr "Max. betalingsherinnering niveau" #: code:addons/account_followup/wizard/account_followup_print.py:171 #, python-format msgid " had unknown email address(es)" -msgstr "" +msgstr " had een onbekend e-mail adres" #. module: account_followup #: view:res.partner:0 msgid "Responsible" -msgstr "" +msgstr "Verantwoordelijke" #. module: account_followup #: model:ir.ui.menu,name:account_followup.menu_finance_followup @@ -1068,17 +1070,17 @@ msgstr "" #. module: account_followup #: view:account_followup.followup.line:0 msgid ": Current Date" -msgstr "" +msgstr ": Huidige datum" #. module: account_followup #: field:res.partner,payment_amount_due:0 msgid "Total amount due" -msgstr "" +msgstr "Totaal vervallen bedrag" #. module: account_followup #: field:account_followup.followup.line,name:0 msgid "Follow-Up Action" -msgstr "" +msgstr "Betalingsherinnering actie" #. module: account_followup #: view:account_followup.stat:0 @@ -1102,7 +1104,7 @@ msgstr "" #. module: account_followup #: view:account_followup.sending.results:0 msgid "Summary of actions" -msgstr "" +msgstr "Samenvatting van acties" #. module: account_followup #: report:account_followup.followup.print:0 @@ -1112,7 +1114,7 @@ msgstr "Factuur" #. module: account_followup #: view:account_followup.followup.line:0 msgid "After" -msgstr "" +msgstr "Erna" #. module: account_followup #: view:account_followup.stat:0 @@ -1134,6 +1136,10 @@ msgid "" "

\n" " " msgstr "" +"

\n" +" Geen journaalposten gevonden.\n" +"

\n" +" " #. module: account_followup #: view:account.move.line:0 @@ -1148,7 +1154,7 @@ msgstr "Betalingsherinneringregels" #. module: account_followup #: field:account_followup.followup.line,manual_action_responsible_id:0 msgid "Assign a Responsible" -msgstr "" +msgstr "Wijs een verantwoordelijke toe" #. module: account_followup #: view:account_followup.print:0 diff --git a/addons/account_voucher/i18n/nb.po b/addons/account_voucher/i18n/nb.po index f326d258e47..bffa649ab3a 100644 --- a/addons/account_voucher/i18n/nb.po +++ b/addons/account_voucher/i18n/nb.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-12-03 16:01+0000\n" -"PO-Revision-Date: 2012-11-29 20:14+0000\n" +"PO-Revision-Date: 2012-12-04 10:00+0000\n" "Last-Translator: Kaare Pettersen \n" "Language-Team: Norwegian Bokmal \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:41+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: account_voucher @@ -36,7 +36,7 @@ msgstr "Nedskrivning." #. module: account_voucher #: view:account.voucher:0 msgid "Payment Ref" -msgstr "" +msgstr "Betaling referanse." #. module: account_voucher #: view:account.voucher:0 @@ -89,7 +89,7 @@ msgstr "Import" #. module: account_voucher #: view:account.voucher:0 msgid "Voucher Entry" -msgstr "" +msgstr "Kupong inngang." #. module: account_voucher #: selection:sale.receipt.report,month:0 @@ -148,7 +148,7 @@ msgstr "" #. module: account_voucher #: view:account.voucher:0 msgid "Validate" -msgstr "" +msgstr "Valider." #. module: account_voucher #: model:ir.actions.act_window,help:account_voucher.action_purchase_receipt @@ -170,7 +170,7 @@ msgstr "Søk kuponger." #. module: account_voucher #: field:account.voucher,writeoff_acc_id:0 msgid "Counterpart Account" -msgstr "" +msgstr "Motparts konto." #. module: account_voucher #: field:account.voucher,account_id:0 @@ -257,6 +257,7 @@ msgstr "Kansellert." msgid "" "You have to configure account base code and account tax code on the '%s' tax!" msgstr "" +"Du må konfigurere kontoens basiskode og kontoens skatteklasse på '% s' skatt!" #. module: account_voucher #: model:ir.actions.act_window,help:account_voucher.action_sale_receipt @@ -342,7 +343,7 @@ msgstr "Importer fakturaer." #: selection:account.voucher,pay_now:0 #: selection:sale.receipt.report,pay_now:0 msgid "Pay Later or Group Funds" -msgstr "" +msgstr "Betal senere eller gruppe fondene." #. module: account_voucher #: view:account.voucher:0 @@ -379,7 +380,7 @@ msgstr "Leverandør" #. module: account_voucher #: view:account.voucher:0 msgid "Supplier Voucher" -msgstr "" +msgstr "Leverandør kupong." #. module: account_voucher #: field:account.voucher,message_follower_ids:0 @@ -395,13 +396,13 @@ msgstr "Debet." #: code:addons/account_voucher/account_voucher.py:1558 #, python-format msgid "Unable to change journal !" -msgstr "" +msgstr "Kan ikke endre journal!" #. module: account_voucher #: view:sale.receipt.report:0 #: field:sale.receipt.report,nbr:0 msgid "# of Voucher Lines" -msgstr "" +msgstr "# av kupong linjer." #. module: account_voucher #: view:sale.receipt.report:0 @@ -423,7 +424,7 @@ msgstr "Kupong oppføringer." #. module: account_voucher #: view:account.voucher:0 msgid "Open Supplier Journal Entries" -msgstr "" +msgstr "Åpen leverandør journal inngang." #. module: account_voucher #: model:ir.actions.act_window,name:account_voucher.action_review_voucher_list @@ -450,7 +451,7 @@ msgstr "Salgs kvittering." #. module: account_voucher #: field:account.voucher,is_multi_currency:0 msgid "Multi Currency Voucher" -msgstr "" +msgstr "Fler valuta kupong." #. module: account_voucher #: view:account.voucher:0 @@ -478,7 +479,7 @@ msgstr "" #. module: account_voucher #: field:account.voucher,writeoff_amount:0 msgid "Difference Amount" -msgstr "" +msgstr "Forskjellig beløp." #. module: account_voucher #: view:sale.receipt.report:0 @@ -506,7 +507,7 @@ msgstr "Skatt beløp." #. module: account_voucher #: view:sale.receipt.report:0 msgid "Validated Vouchers" -msgstr "" +msgstr "Validert kupong." #. module: account_voucher #: model:ir.actions.act_window,help:account_voucher.action_vendor_receipt @@ -538,13 +539,13 @@ msgstr "Betalt beløp." #. module: account_voucher #: field:account.voucher,payment_option:0 msgid "Payment Difference" -msgstr "" +msgstr "Betaling forskjell." #. module: account_voucher #: view:account.voucher:0 #: field:account.voucher,audit:0 msgid "To Review" -msgstr "" +msgstr "Til gjennomgang." #. module: account_voucher #: code:addons/account_voucher/account_voucher.py:1008 @@ -598,7 +599,7 @@ msgstr "Desember." #. module: account_voucher #: view:sale.receipt.report:0 msgid "Group by month of Invoice Date" -msgstr "" +msgstr "Grupper etter måned fra fakturadato." #. module: account_voucher #: view:sale.receipt.report:0 @@ -616,7 +617,7 @@ msgstr "Valuta." #. module: account_voucher #: view:account.statement.from.invoice.lines:0 msgid "Payable and Receivables" -msgstr "" +msgstr "Betalbar og Fordringer." #. module: account_voucher #: view:account.voucher:0 @@ -1019,7 +1020,7 @@ msgstr "Lagt ut kuponger." #. module: account_voucher #: field:account.voucher,payment_rate:0 msgid "Exchange Rate" -msgstr "" +msgstr "Vekslings vurdering." #. module: account_voucher #: view:account.voucher:0 @@ -1064,7 +1065,7 @@ msgstr "Interne notater." #: view:account.voucher:0 #: field:account.voucher,line_cr_ids:0 msgid "Credits" -msgstr "" +msgstr "Kreditter." #. module: account_voucher #: field:account.voucher.line,amount_original:0 @@ -1142,7 +1143,7 @@ msgstr "April." #. module: account_voucher #: help:account.voucher,tax_id:0 msgid "Only for tax excluded from price" -msgstr "" +msgstr "Bare for skatt ekskludert fra pris" #. module: account_voucher #: field:account.voucher,type:0 @@ -1157,7 +1158,7 @@ msgstr "Meldinger og kommunikasjon historie." #. module: account_voucher #: model:ir.model,name:account_voucher.model_account_statement_from_invoice_lines msgid "Entries by Statement from Invoices" -msgstr "" +msgstr "Påmeldingene med erklæringen fra fakturaer." #. module: account_voucher #: view:account.voucher:0 @@ -1233,7 +1234,7 @@ msgstr "Partner." #. module: account_voucher #: field:account.voucher.line,amount_unreconciled:0 msgid "Open Balance" -msgstr "" +msgstr "Åpen balanse." #. module: account_voucher #: code:addons/account_voucher/account_voucher.py:997 diff --git a/addons/account_voucher/invoice.py b/addons/account_voucher/invoice.py index 91ba438756e..426027f984c 100644 --- a/addons/account_voucher/invoice.py +++ b/addons/account_voucher/invoice.py @@ -40,7 +40,7 @@ class invoice(osv.osv): 'target': 'new', 'domain': '[]', 'context': { - 'default_partner_id': inv.partner_id.id, + 'default_partner_id': self._find_partner(inv), 'default_amount': inv.type in ('out_refund', 'in_refund') and -inv.residual or inv.residual, 'default_number':inv.name, 'close_after_process': True, diff --git a/addons/analytic/analytic.py b/addons/analytic/analytic.py index dc294fbf19b..964edd077cb 100644 --- a/addons/analytic/analytic.py +++ b/addons/analytic/analytic.py @@ -120,7 +120,7 @@ class account_analytic_account(osv.osv): def _get_one_full_name(self, elmt, level=6): if level<=0: return '...' - if elmt.parent_id: + if elmt.parent_id and not elmt.type == 'template': parent_path = self._get_one_full_name(elmt.parent_id, level-1) + "/" else: parent_path = '' diff --git a/addons/auth_openid/i18n/de.po b/addons/auth_openid/i18n/de.po index a1cefc7e855..10330c21691 100644 --- a/addons/auth_openid/i18n/de.po +++ b/addons/auth_openid/i18n/de.po @@ -8,14 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-02-15 22:54+0000\n" -"Last-Translator: Thorsten Vocks (OpenBig.org) \n" +"PO-Revision-Date: 2012-12-04 07:24+0000\n" +"Last-Translator: Ferdinand @ Camptocamp \n" "Language-Team: German \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:54+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: auth_openid @@ -97,7 +96,7 @@ msgstr "Google Apps" #. module: auth_openid #: model:ir.model,name:auth_openid.model_res_users msgid "Users" -msgstr "" +msgstr "Benutzer" #~ msgid "res.users" #~ msgstr "res.users" diff --git a/addons/auth_openid/i18n/fr.po b/addons/auth_openid/i18n/fr.po index 7ebad3542d1..700cecf965b 100644 --- a/addons/auth_openid/i18n/fr.po +++ b/addons/auth_openid/i18n/fr.po @@ -8,13 +8,13 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2012-12-03 16:02+0000\n" -"PO-Revision-Date: 2012-02-22 10:02+0000\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2012-12-04 10:02+0000\n" +"Last-Translator: WANTELLET Sylvain \n" "Language-Team: French \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:54+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: auth_openid @@ -94,7 +94,7 @@ msgstr "Google Apps" #. module: auth_openid #: model:ir.model,name:auth_openid.model_res_users msgid "Users" -msgstr "" +msgstr "Utilisateurs" #~ msgid "OpenID URL:" #~ msgstr "Adresse URL OpenID :" diff --git a/addons/auth_reset_password/__init__.py b/addons/auth_reset_password/__init__.py deleted file mode 100644 index 8341ccd60c7..00000000000 --- a/addons/auth_reset_password/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2012-today OpenERP SA () -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see -# -############################################################################## - -import controllers -import res_users diff --git a/addons/auth_reset_password/__openerp__.py b/addons/auth_reset_password/__openerp__.py deleted file mode 100644 index 2c5b61bf378..00000000000 --- a/addons/auth_reset_password/__openerp__.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2012-today OpenERP SA () -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see -# -############################################################################## - -{ - 'name': 'Reset Password', - 'description': """ -Reset Password -============== - -Allow users to reset their password from the login page. -Allow administrator to click a button to send a "Reset Password" request to a user. -""", - 'author': 'OpenERP SA', - 'version': '1.0', - 'category': 'Authentication', - 'website': 'http://www.openerp.com', - 'installable': True, - 'depends': ['auth_signup', 'email_template'], - 'data': [ - 'auth_reset_password.xml', - 'res_users_view.xml', - ], - 'js': ['static/src/js/reset_password.js'], - 'qweb': ['static/src/xml/reset_password.xml'], -} diff --git a/addons/auth_reset_password/auth_reset_password.xml b/addons/auth_reset_password/auth_reset_password.xml deleted file mode 100644 index 90f08a25899..00000000000 --- a/addons/auth_reset_password/auth_reset_password.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - Reset Password - - ]]> - ${object.email} - Password reset - A password reset was requested for the OpenERP account linked to this email.

- -

You may change your password following this link.

- -

Note: If you did not ask for a password reset, you can safely ignore this email.

]]>
-
- -
-
diff --git a/addons/auth_reset_password/controllers/__init__.py b/addons/auth_reset_password/controllers/__init__.py deleted file mode 100644 index f40f0ee976e..00000000000 --- a/addons/auth_reset_password/controllers/__init__.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2012-today OpenERP SA () -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see -# -############################################################################## - -import main - -# vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/auth_reset_password/controllers/main.py b/addons/auth_reset_password/controllers/main.py deleted file mode 100644 index 639945cfc09..00000000000 --- a/addons/auth_reset_password/controllers/main.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2012-today OpenERP SA () -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see -# -############################################################################## -import logging - -import werkzeug - -import openerp -from openerp import SUPERUSER_ID -from openerp.modules.registry import RegistryManager - -_logger = logging.getLogger(__name__) - -class Controller(openerp.addons.web.http.Controller): - _cp_path = '/auth_reset_password' - - @openerp.addons.web.http.httprequest - def reset_password(self, req, dbname, login): - """ retrieve user, and perform reset password """ - url = '/' - registry = RegistryManager.get(dbname) - with registry.cursor() as cr: - try: - res_users = registry.get('res.users') - res_users.reset_password(cr, SUPERUSER_ID, login) - cr.commit() - message = 'An email has been sent with credentials to reset your password' - except Exception as e: - # signup error - _logger.exception('error when resetting password') - message = e.message - url = "/#action=login&error_message=%s" % werkzeug.urls.url_quote(message) - return werkzeug.utils.redirect(url) - -# vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/auth_reset_password/i18n/ar.po b/addons/auth_reset_password/i18n/ar.po deleted file mode 100644 index 7d39cee63e4..00000000000 --- a/addons/auth_reset_password/i18n/ar.po +++ /dev/null @@ -1,70 +0,0 @@ -# Arabic translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-12-01 10:40+0000\n" -"Last-Translator: FULL NAME \n" -"Language-Team: Arabic \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:55+0000\n" -"X-Generator: Launchpad (build 16335)\n" - -#. module: auth_reset_password -#: model:email.template,body_html:auth_reset_password.reset_password_email -msgid "" -"\n" -"

A password reset was requested for the OpenERP account linked to this " -"email.

\n" -"\n" -"

You may change your password following this link.

\n" -"\n" -"

Note: If you did not ask for a password reset, you can safely ignore this " -"email.

" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Send a special url by email to make the user (re)set their password." -msgstr "" - -#. module: auth_reset_password -#: code:addons/auth_reset_password/res_users.py:59 -#, python-format -msgid "Cannot send email: user has no email address." -msgstr "" - -#. module: auth_reset_password -#: model:ir.model,name:auth_reset_password.model_res_users -msgid "Users" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "{}" -msgstr "" - -#. module: auth_reset_password -#. openerp-web -#: code:addons/auth_reset_password/static/src/xml/reset_password.xml:7 -#, python-format -msgid "Reset password" -msgstr "" - -#. module: auth_reset_password -#: model:email.template,subject:auth_reset_password.reset_password_email -msgid "Password reset" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Reset Password" -msgstr "" diff --git a/addons/auth_reset_password/i18n/auth_reset_password.pot b/addons/auth_reset_password/i18n/auth_reset_password.pot deleted file mode 100644 index aa1c2b2eaf0..00000000000 --- a/addons/auth_reset_password/i18n/auth_reset_password.pot +++ /dev/null @@ -1,65 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * auth_reset_password -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 7.0alpha\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-12-03 16:03+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Plural-Forms: \n" - -#. module: auth_reset_password -#: model:email.template,body_html:auth_reset_password.reset_password_email -msgid "\n" -"

A password reset was requested for the OpenERP account linked to this email.

\n" -"\n" -"

You may change your password following this link.

\n" -"\n" -"

Note: If you did not ask for a password reset, you can safely ignore this email.

" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Send a special url by email to make the user (re)set their password." -msgstr "" - -#. module: auth_reset_password -#: code:addons/auth_reset_password/res_users.py:59 -#, python-format -msgid "Cannot send email: user has no email address." -msgstr "" - -#. module: auth_reset_password -#: model:ir.model,name:auth_reset_password.model_res_users -msgid "Users" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "{}" -msgstr "" - -#. module: auth_reset_password -#. openerp-web -#: code:addons/auth_reset_password/static/src/xml/reset_password.xml:7 -#, python-format -msgid "Reset password" -msgstr "" - -#. module: auth_reset_password -#: model:email.template,subject:auth_reset_password.reset_password_email -msgid "Password reset" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Reset Password" -msgstr "" - diff --git a/addons/auth_reset_password/i18n/it.po b/addons/auth_reset_password/i18n/it.po deleted file mode 100644 index 571e6af83cc..00000000000 --- a/addons/auth_reset_password/i18n/it.po +++ /dev/null @@ -1,70 +0,0 @@ -# Italian translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-11-28 19:58+0000\n" -"Last-Translator: Davide Corio - agilebg.com \n" -"Language-Team: Italian \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:55+0000\n" -"X-Generator: Launchpad (build 16335)\n" - -#. module: auth_reset_password -#: model:email.template,body_html:auth_reset_password.reset_password_email -msgid "" -"\n" -"

A password reset was requested for the OpenERP account linked to this " -"email.

\n" -"\n" -"

You may change your password following this link.

\n" -"\n" -"

Note: If you did not ask for a password reset, you can safely ignore this " -"email.

" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Send a special url by email to make the user (re)set their password." -msgstr "" - -#. module: auth_reset_password -#: code:addons/auth_reset_password/res_users.py:59 -#, python-format -msgid "Cannot send email: user has no email address." -msgstr "" - -#. module: auth_reset_password -#: model:ir.model,name:auth_reset_password.model_res_users -msgid "Users" -msgstr "Utenti" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "{}" -msgstr "" - -#. module: auth_reset_password -#. openerp-web -#: code:addons/auth_reset_password/static/src/xml/reset_password.xml:7 -#, python-format -msgid "Reset password" -msgstr "Reimposta password" - -#. module: auth_reset_password -#: model:email.template,subject:auth_reset_password.reset_password_email -msgid "Password reset" -msgstr "Ripristino password" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Reset Password" -msgstr "Reimposta Password" diff --git a/addons/auth_reset_password/i18n/nl.po b/addons/auth_reset_password/i18n/nl.po deleted file mode 100644 index 3b88d2fcd64..00000000000 --- a/addons/auth_reset_password/i18n/nl.po +++ /dev/null @@ -1,70 +0,0 @@ -# Dutch translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-11-29 15:12+0000\n" -"Last-Translator: Erwin van der Ploeg (Endian Solutions) \n" -"Language-Team: Dutch \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:55+0000\n" -"X-Generator: Launchpad (build 16335)\n" - -#. module: auth_reset_password -#: model:email.template,body_html:auth_reset_password.reset_password_email -msgid "" -"\n" -"

A password reset was requested for the OpenERP account linked to this " -"email.

\n" -"\n" -"

You may change your password following this link.

\n" -"\n" -"

Note: If you did not ask for a password reset, you can safely ignore this " -"email.

" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Send a special url by email to make the user (re)set their password." -msgstr "" - -#. module: auth_reset_password -#: code:addons/auth_reset_password/res_users.py:59 -#, python-format -msgid "Cannot send email: user has no email address." -msgstr "" - -#. module: auth_reset_password -#: model:ir.model,name:auth_reset_password.model_res_users -msgid "Users" -msgstr "Gebruikers" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "{}" -msgstr "" - -#. module: auth_reset_password -#. openerp-web -#: code:addons/auth_reset_password/static/src/xml/reset_password.xml:7 -#, python-format -msgid "Reset password" -msgstr "Reset wachtwoord" - -#. module: auth_reset_password -#: model:email.template,subject:auth_reset_password.reset_password_email -msgid "Password reset" -msgstr "Reset wachtwoord" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Reset Password" -msgstr "Stel wachtwoord opnieuw in" diff --git a/addons/auth_reset_password/i18n/ru.po b/addons/auth_reset_password/i18n/ru.po deleted file mode 100644 index e5134f2e89b..00000000000 --- a/addons/auth_reset_password/i18n/ru.po +++ /dev/null @@ -1,70 +0,0 @@ -# Russian translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-11-30 19:40+0000\n" -"Last-Translator: FULL NAME \n" -"Language-Team: Russian \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:55+0000\n" -"X-Generator: Launchpad (build 16335)\n" - -#. module: auth_reset_password -#: model:email.template,body_html:auth_reset_password.reset_password_email -msgid "" -"\n" -"

A password reset was requested for the OpenERP account linked to this " -"email.

\n" -"\n" -"

You may change your password following this link.

\n" -"\n" -"

Note: If you did not ask for a password reset, you can safely ignore this " -"email.

" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Send a special url by email to make the user (re)set their password." -msgstr "" - -#. module: auth_reset_password -#: code:addons/auth_reset_password/res_users.py:59 -#, python-format -msgid "Cannot send email: user has no email address." -msgstr "" - -#. module: auth_reset_password -#: model:ir.model,name:auth_reset_password.model_res_users -msgid "Users" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "{}" -msgstr "" - -#. module: auth_reset_password -#. openerp-web -#: code:addons/auth_reset_password/static/src/xml/reset_password.xml:7 -#, python-format -msgid "Reset password" -msgstr "" - -#. module: auth_reset_password -#: model:email.template,subject:auth_reset_password.reset_password_email -msgid "Password reset" -msgstr "" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Reset Password" -msgstr "" diff --git a/addons/auth_reset_password/i18n/tr.po b/addons/auth_reset_password/i18n/tr.po deleted file mode 100644 index abd4d74b01f..00000000000 --- a/addons/auth_reset_password/i18n/tr.po +++ /dev/null @@ -1,79 +0,0 @@ -# Turkish translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-11-27 22:15+0000\n" -"Last-Translator: Ahmet Altınışık \n" -"Language-Team: Turkish \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:55+0000\n" -"X-Generator: Launchpad (build 16335)\n" - -#. module: auth_reset_password -#: model:email.template,body_html:auth_reset_password.reset_password_email -msgid "" -"\n" -"

A password reset was requested for the OpenERP account linked to this " -"email.

\n" -"\n" -"

You may change your password following this link.

\n" -"\n" -"

Note: If you did not ask for a password reset, you can safely ignore this " -"email.

" -msgstr "" -"\n" -"

Bu epostayla ilişkili OpenERP hesabı için bir parola sıfırlama isteği " -"istendi.

\n" -"\n" -"

Şifrenizi şu adresten değiştirebilirsiniz. this link.

\n" -"\n" -"

Not: Eğer bu parola değiştirme isteğini siz yapmadıysanız bu mesajı " -"görmezden gelebilirsiniz.

" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Send a special url by email to make the user (re)set their password." -msgstr "" - -#. module: auth_reset_password -#: code:addons/auth_reset_password/res_users.py:59 -#, python-format -msgid "Cannot send email: user has no email address." -msgstr "" - -#. module: auth_reset_password -#: model:ir.model,name:auth_reset_password.model_res_users -msgid "Users" -msgstr "Kullanıcılar" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "{}" -msgstr "" - -#. module: auth_reset_password -#. openerp-web -#: code:addons/auth_reset_password/static/src/xml/reset_password.xml:7 -#, python-format -msgid "Reset password" -msgstr "Parolayı sıfırla" - -#. module: auth_reset_password -#: model:email.template,subject:auth_reset_password.reset_password_email -msgid "Password reset" -msgstr "Parola sıfırlandı" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Reset Password" -msgstr "Parolayı Sıfırla" diff --git a/addons/auth_reset_password/i18n/zh_CN.po b/addons/auth_reset_password/i18n/zh_CN.po deleted file mode 100644 index f021be3af60..00000000000 --- a/addons/auth_reset_password/i18n/zh_CN.po +++ /dev/null @@ -1,74 +0,0 @@ -# Chinese (Simplified) translation for openobject-addons -# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-11-28 07:14+0000\n" -"Last-Translator: ccdos \n" -"Language-Team: Chinese (Simplified) \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:55+0000\n" -"X-Generator: Launchpad (build 16335)\n" - -#. module: auth_reset_password -#: model:email.template,body_html:auth_reset_password.reset_password_email -msgid "" -"\n" -"

A password reset was requested for the OpenERP account linked to this " -"email.

\n" -"\n" -"

You may change your password following this link.

\n" -"\n" -"

Note: If you did not ask for a password reset, you can safely ignore this " -"email.

" -msgstr "" -"\n" -"一个关联到这个Email地址的Openerp帐号请求复位密码。\n" -"你可以修改你的密码通过下面这个链接 。\n" -"提醒:如果你没请求复位密码,请忽略这封邮件。" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Send a special url by email to make the user (re)set their password." -msgstr "" - -#. module: auth_reset_password -#: code:addons/auth_reset_password/res_users.py:59 -#, python-format -msgid "Cannot send email: user has no email address." -msgstr "" - -#. module: auth_reset_password -#: model:ir.model,name:auth_reset_password.model_res_users -msgid "Users" -msgstr "用户" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "{}" -msgstr "" - -#. module: auth_reset_password -#. openerp-web -#: code:addons/auth_reset_password/static/src/xml/reset_password.xml:7 -#, python-format -msgid "Reset password" -msgstr "重设密码" - -#. module: auth_reset_password -#: model:email.template,subject:auth_reset_password.reset_password_email -msgid "Password reset" -msgstr "重置密码" - -#. module: auth_reset_password -#: view:res.users:0 -msgid "Reset Password" -msgstr "重置密码" diff --git a/addons/auth_reset_password/res_users.py b/addons/auth_reset_password/res_users.py deleted file mode 100644 index cfac20c76f9..00000000000 --- a/addons/auth_reset_password/res_users.py +++ /dev/null @@ -1,62 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2012-today OpenERP SA () -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see -# -############################################################################## - -from openerp.osv import osv, fields -from openerp.tools.misc import DEFAULT_SERVER_DATETIME_FORMAT -from openerp.tools.translate import _ - -from datetime import datetime, timedelta - -def now(**kwargs): - dt = datetime.now() + timedelta(**kwargs) - return dt.strftime(DEFAULT_SERVER_DATETIME_FORMAT) - - -class res_users(osv.osv): - _inherit = 'res.users' - - def reset_password(self, cr, uid, login, context=None): - """ retrieve the user corresponding to login (login or email), - and reset their password - """ - user_ids = self.search(cr, uid, [('login', '=', login)], context=context) - if not user_ids: - user_ids = self.search(cr, uid, [('email', '=', login)], context=context) - if len(user_ids) != 1: - raise Exception('Reset password: invalid username or email') - return self.action_reset_password(cr, uid, user_ids, context=context) - - def action_reset_password(self, cr, uid, ids, context=None): - """ create signup token for each user, and send their signup url by email """ - # prepare reset password signup - res_partner = self.pool.get('res.partner') - partner_ids = [user.partner_id.id for user in self.browse(cr, uid, ids, context)] - res_partner.signup_prepare(cr, uid, partner_ids, expiration=now(days=+1), context=context) - - # send email to users with their signup url - template = self.pool.get('ir.model.data').get_object(cr, uid, 'auth_reset_password', 'reset_password_email') - assert template._name == 'email.template' - for user in self.browse(cr, uid, ids, context): - if not user.email: - raise osv.except_osv(_("Cannot send email: user has no email address."), user.name) - self.pool.get('email.template').send_mail(cr, uid, template.id, user.id, context=context) - - return True diff --git a/addons/auth_reset_password/res_users_view.xml b/addons/auth_reset_password/res_users_view.xml deleted file mode 100644 index 628e95b6ff9..00000000000 --- a/addons/auth_reset_password/res_users_view.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - user.form.reset_password - res.users - - - - -
-
-
- - - {} - -
-
- -
-
diff --git a/addons/auth_reset_password/static/src/js/reset_password.js b/addons/auth_reset_password/static/src/js/reset_password.js deleted file mode 100644 index 13fe2a39ce5..00000000000 --- a/addons/auth_reset_password/static/src/js/reset_password.js +++ /dev/null @@ -1,30 +0,0 @@ -openerp.auth_reset_password = function(instance) { - var _t = instance.web._t; - - instance.web.Login.include({ - start: function() { - this.$('a.oe_reset_password').click(this.do_reset_password); - return this._super(); - }, - do_reset_password: function(ev) { - if (ev) { - ev.preventDefault(); - } - var db = this.$("form [name=db]").val(); - var login = this.$("form input[name=login]").val(); - if (!db) { - this.do_warn("Login", "No database selected !"); - return false; - } else if (!login) { - this.do_warn("Login", "Please enter a username or email address.") - return false; - } - var params = { - dbname : db, - login: login, - }; - var url = "/auth_reset_password/reset_password?" + $.param(params); - window.location = url; - } - }); -}; diff --git a/addons/auth_reset_password/static/src/xml/reset_password.xml b/addons/auth_reset_password/static/src/xml/reset_password.xml deleted file mode 100644 index 841f3906622..00000000000 --- a/addons/auth_reset_password/static/src/xml/reset_password.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - -
  • Reset password
  • - - - - diff --git a/addons/auth_signup/__openerp__.py b/addons/auth_signup/__openerp__.py index 235ac047346..5fe705a4440 100644 --- a/addons/auth_signup/__openerp__.py +++ b/addons/auth_signup/__openerp__.py @@ -22,15 +22,18 @@ { 'name': 'Signup', 'description': """ -Allow users to sign up. -======================= +Allow users to sign up and reset their password +=============================================== """, 'author': 'OpenERP SA', 'version': '1.0', 'category': 'Authentication', 'website': 'http://www.openerp.com', 'installable': True, - 'depends': ['base_setup'], + 'depends': [ + 'base_setup', + 'email_template', + ], 'data': [ 'auth_signup_data.xml', 'res_config.xml', diff --git a/addons/auth_signup/auth_signup_data.xml b/addons/auth_signup/auth_signup_data.xml index 39b62148494..32e397b1ba6 100644 --- a/addons/auth_signup/auth_signup_data.xml +++ b/addons/auth_signup/auth_signup_data.xml @@ -18,5 +18,20 @@ + + + Reset Password + + ]]> + ${object.email} + Password reset + A password reset was requested for the OpenERP account linked to this email.

    + +

    You may change your password by following this link.

    + +

    Note: If you do not expect this, you can safely ignore this email.

    ]]>
    +
    + diff --git a/addons/auth_signup/controllers/main.py b/addons/auth_signup/controllers/main.py index 888d2131f42..d2429e8dfd2 100644 --- a/addons/auth_signup/controllers/main.py +++ b/addons/auth_signup/controllers/main.py @@ -19,10 +19,12 @@ # ############################################################################## import logging +import urllib + +import werkzeug import openerp from openerp.modules.registry import RegistryManager - from ..res_users import SignupError _logger = logging.getLogger(__name__) @@ -30,6 +32,18 @@ _logger = logging.getLogger(__name__) class Controller(openerp.addons.web.http.Controller): _cp_path = '/auth_signup' + @openerp.addons.web.http.jsonrequest + def get_config(self, req, dbname): + """ retrieve the module config (which features are enabled) for the login page """ + registry = RegistryManager.get(dbname) + with registry.cursor() as cr: + icp = registry.get('ir.config_parameter') + config = { + 'signup': icp.get_param(cr, openerp.SUPERUSER_ID, 'auth_signup.allow_uninvited') == 'True', + 'reset_password': icp.get_param(cr, openerp.SUPERUSER_ID, 'auth_signup.reset_password') == 'True', + } + return config + @openerp.addons.web.http.jsonrequest def retrieve(self, req, dbname, token): """ retrieve the user info (name, login or email) corresponding to a signup token """ @@ -56,4 +70,21 @@ class Controller(openerp.addons.web.http.Controller): cr.commit() return {} + @openerp.addons.web.http.httprequest + def reset_password(self, req, dbname, login): + """ retrieve user, and perform reset password """ + registry = RegistryManager.get(dbname) + with registry.cursor() as cr: + try: + res_users = registry.get('res.users') + res_users.reset_password(cr, openerp.SUPERUSER_ID, login) + cr.commit() + message = 'An email has been sent with credentials to reset your password' + except Exception as e: + # signup error + _logger.exception('error when resetting password') + message = e.message + params = [('action', 'login'), ('error_message', message)] + return werkzeug.utils.redirect("/#" + urllib.urlencode(params)) + # vim:expandtab:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/auth_signup/i18n/ar.po b/addons/auth_signup/i18n/ar.po index 6f3c45fecf1..90814343ae6 100644 --- a/addons/auth_signup/i18n/ar.po +++ b/addons/auth_signup/i18n/ar.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" +"POT-Creation-Date: 2012-12-04 14:41+0000\n" "PO-Revision-Date: 2012-12-01 11:08+0000\n" "Last-Translator: FULL NAME \n" "Language-Team: Arabic \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:54+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: auth_signup @@ -29,16 +29,51 @@ msgstr "" msgid "Confirm Password" msgstr "" +#. module: auth_signup +#: help:base.config.settings,auth_signup_uninvited:0 +msgid "If unchecked, only invited users may sign up." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_base_config_settings msgid "base.config.settings" msgstr "" +#. module: auth_signup +#: code:addons/auth_signup/res_users.py:248 +#, python-format +msgid "Cannot send email: user has no email address." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:25 +#, python-format +msgid "Reset password" +msgstr "" + #. module: auth_signup #: field:base.config.settings,auth_signup_template_user_id:0 msgid "Template user for new users created through signup" msgstr "" +#. module: auth_signup +#: model:email.template,subject:auth_signup.reset_password_email +msgid "Password reset" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#, python-format +msgid "Please enter a password and confirm it." +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Send an email to the user to (re)set their password." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:23 @@ -56,6 +91,26 @@ msgstr "" msgid "Status" msgstr "" +#. module: auth_signup +#: model:email.template,body_html:auth_signup.reset_password_email +msgid "" +"\n" +"

    A password reset was requested for the OpenERP account linked to this " +"email.

    \n" +"\n" +"

    You may change your password by following this link.

    \n" +"\n" +"

    Note: If you do not expect this, you can safely ignore this email.

    " +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#, python-format +msgid "Please enter a name." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_res_users msgid "Users" @@ -67,13 +122,15 @@ msgid "Signup URL" msgstr "" #. module: auth_signup -#: selection:res.users,state:0 -msgid "Active" +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#, python-format +msgid "Please enter a username." msgstr "" #. module: auth_signup -#: help:base.config.settings,auth_signup_uninvited:0 -msgid "If unchecked, only invited users may sign up" +#: selection:res.users,state:0 +msgid "Active" msgstr "" #. module: auth_signup @@ -90,6 +147,18 @@ msgstr "" msgid "Name" msgstr "" +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Please enter a username or email address." +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Resetting Password" +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:13 @@ -102,6 +171,11 @@ msgstr "" msgid "Signup Expiration" msgstr "" +#. module: auth_signup +#: help:base.config.settings,auth_signup_reset_password:0 +msgid "This allows users to trigger a password reset from the Login page." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:21 @@ -115,8 +189,48 @@ msgid "Signup Token is Valid" msgstr "" #. module: auth_signup -#: selection:res.users,state:0 -msgid "Resetting Password" +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Login" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:94 +#, python-format +msgid "Invalid signup token" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#, python-format +msgid "Passwords do not match; please retype them." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#, python-format +msgid "No database selected !" +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Reset Password" +msgstr "" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_reset_password:0 +msgid "Enable password reset from Login page" msgstr "" #. module: auth_signup diff --git a/addons/auth_signup/i18n/auth_signup.pot b/addons/auth_signup/i18n/auth_signup.pot index 478a4a25e16..bde3b33684e 100644 --- a/addons/auth_signup/i18n/auth_signup.pot +++ b/addons/auth_signup/i18n/auth_signup.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: OpenERP Server 7.0alpha\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-12-03 16:03+0000\n" +"POT-Creation-Date: 2012-12-04 14:41+0000\n" +"PO-Revision-Date: 2012-12-04 14:41+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -27,16 +27,51 @@ msgstr "" msgid "Confirm Password" msgstr "" +#. module: auth_signup +#: help:base.config.settings,auth_signup_uninvited:0 +msgid "If unchecked, only invited users may sign up." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_base_config_settings msgid "base.config.settings" msgstr "" +#. module: auth_signup +#: code:addons/auth_signup/res_users.py:248 +#, python-format +msgid "Cannot send email: user has no email address." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:25 +#, python-format +msgid "Reset password" +msgstr "" + #. module: auth_signup #: field:base.config.settings,auth_signup_template_user_id:0 msgid "Template user for new users created through signup" msgstr "" +#. module: auth_signup +#: model:email.template,subject:auth_signup.reset_password_email +msgid "Password reset" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#, python-format +msgid "Please enter a password and confirm it." +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Send an email to the user to (re)set their password." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:23 @@ -54,6 +89,23 @@ msgstr "" msgid "Status" msgstr "" +#. module: auth_signup +#: model:email.template,body_html:auth_signup.reset_password_email +msgid "\n" +"

    A password reset was requested for the OpenERP account linked to this email.

    \n" +"\n" +"

    You may change your password by following this link.

    \n" +"\n" +"

    Note: If you do not expect this, you can safely ignore this email.

    " +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#, python-format +msgid "Please enter a name." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_res_users msgid "Users" @@ -65,13 +117,15 @@ msgid "Signup URL" msgstr "" #. module: auth_signup -#: selection:res.users,state:0 -msgid "Active" +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#, python-format +msgid "Please enter a username." msgstr "" #. module: auth_signup -#: help:base.config.settings,auth_signup_uninvited:0 -msgid "If unchecked, only invited users may sign up" +#: selection:res.users,state:0 +msgid "Active" msgstr "" #. module: auth_signup @@ -88,6 +142,18 @@ msgstr "" msgid "Name" msgstr "" +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Please enter a username or email address." +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Resetting Password" +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:13 @@ -100,6 +166,11 @@ msgstr "" msgid "Signup Expiration" msgstr "" +#. module: auth_signup +#: help:base.config.settings,auth_signup_reset_password:0 +msgid "This allows users to trigger a password reset from the Login page." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:21 @@ -113,8 +184,48 @@ msgid "Signup Token is Valid" msgstr "" #. module: auth_signup -#: selection:res.users,state:0 -msgid "Resetting Password" +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Login" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:94 +#, python-format +msgid "Invalid signup token" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#, python-format +msgid "Passwords do not match; please retype them." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#, python-format +msgid "No database selected !" +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Reset Password" +msgstr "" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_reset_password:0 +msgid "Enable password reset from Login page" msgstr "" #. module: auth_signup diff --git a/addons/auth_signup/i18n/it.po b/addons/auth_signup/i18n/it.po new file mode 100644 index 00000000000..854bdd34185 --- /dev/null +++ b/addons/auth_signup/i18n/it.po @@ -0,0 +1,258 @@ +# Italian translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-12-04 14:41+0000\n" +"PO-Revision-Date: 2012-12-04 20:16+0000\n" +"Last-Translator: Davide Corio - agilebg.com \n" +"Language-Team: Italian \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-05 05:20+0000\n" +"X-Generator: Launchpad (build 16335)\n" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_uninvited:0 +msgid "Allow external users to sign up" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:16 +#, python-format +msgid "Confirm Password" +msgstr "" + +#. module: auth_signup +#: help:base.config.settings,auth_signup_uninvited:0 +msgid "If unchecked, only invited users may sign up." +msgstr "" + +#. module: auth_signup +#: model:ir.model,name:auth_signup.model_base_config_settings +msgid "base.config.settings" +msgstr "" + +#. module: auth_signup +#: code:addons/auth_signup/res_users.py:248 +#, python-format +msgid "Cannot send email: user has no email address." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:25 +#, python-format +msgid "Reset password" +msgstr "Reimposta password" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_template_user_id:0 +msgid "Template user for new users created through signup" +msgstr "" + +#. module: auth_signup +#: model:email.template,subject:auth_signup.reset_password_email +msgid "Password reset" +msgstr "Ripristino password" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#, python-format +msgid "Please enter a password and confirm it." +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Send an email to the user to (re)set their password." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:23 +#, python-format +msgid "Sign Up" +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "New" +msgstr "" + +#. module: auth_signup +#: field:res.users,state:0 +msgid "Status" +msgstr "" + +#. module: auth_signup +#: model:email.template,body_html:auth_signup.reset_password_email +msgid "" +"\n" +"

    A password reset was requested for the OpenERP account linked to this " +"email.

    \n" +"\n" +"

    You may change your password by following this link.

    \n" +"\n" +"

    Note: If you do not expect this, you can safely ignore this email.

    " +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#, python-format +msgid "Please enter a name." +msgstr "" + +#. module: auth_signup +#: model:ir.model,name:auth_signup.model_res_users +msgid "Users" +msgstr "Utenti" + +#. module: auth_signup +#: field:res.partner,signup_url:0 +msgid "Signup URL" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#, python-format +msgid "Please enter a username." +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Active" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:12 +#, python-format +msgid "Username" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:8 +#, python-format +msgid "Name" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Please enter a username or email address." +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Resetting Password" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:13 +#, python-format +msgid "Username (Email)" +msgstr "" + +#. module: auth_signup +#: field:res.partner,signup_expiration:0 +msgid "Signup Expiration" +msgstr "" + +#. module: auth_signup +#: help:base.config.settings,auth_signup_reset_password:0 +msgid "This allows users to trigger a password reset from the Login page." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:21 +#, python-format +msgid "Log in" +msgstr "" + +#. module: auth_signup +#: field:res.partner,signup_valid:0 +msgid "Signup Token is Valid" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Login" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:94 +#, python-format +msgid "Invalid signup token" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#, python-format +msgid "Passwords do not match; please retype them." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#, python-format +msgid "No database selected !" +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Reset Password" +msgstr "Reimposta Password" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_reset_password:0 +msgid "Enable password reset from Login page" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:24 +#, python-format +msgid "Back to Login" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:22 +#, python-format +msgid "Sign up" +msgstr "" + +#. module: auth_signup +#: model:ir.model,name:auth_signup.model_res_partner +msgid "Partner" +msgstr "" + +#. module: auth_signup +#: field:res.partner,signup_token:0 +msgid "Signup Token" +msgstr "" diff --git a/addons/auth_signup/i18n/nb.po b/addons/auth_signup/i18n/nb.po index 531bbb16418..be66d178c58 100644 --- a/addons/auth_signup/i18n/nb.po +++ b/addons/auth_signup/i18n/nb.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" +"POT-Creation-Date: 2012-12-04 14:41+0000\n" "PO-Revision-Date: 2012-12-02 20:32+0000\n" "Last-Translator: Kaare Pettersen \n" "Language-Team: Norwegian Bokmal \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:55+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: auth_signup @@ -29,16 +29,51 @@ msgstr "Tillate eksterne brukere å registrere seg." msgid "Confirm Password" msgstr "Bekreft passord." +#. module: auth_signup +#: help:base.config.settings,auth_signup_uninvited:0 +msgid "If unchecked, only invited users may sign up." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_base_config_settings msgid "base.config.settings" msgstr "Base.Konfigurasjon.Innstillinger." +#. module: auth_signup +#: code:addons/auth_signup/res_users.py:248 +#, python-format +msgid "Cannot send email: user has no email address." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:25 +#, python-format +msgid "Reset password" +msgstr "" + #. module: auth_signup #: field:base.config.settings,auth_signup_template_user_id:0 msgid "Template user for new users created through signup" msgstr "" +#. module: auth_signup +#: model:email.template,subject:auth_signup.reset_password_email +msgid "Password reset" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#, python-format +msgid "Please enter a password and confirm it." +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Send an email to the user to (re)set their password." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:23 @@ -56,6 +91,26 @@ msgstr "Ny." msgid "Status" msgstr "Status." +#. module: auth_signup +#: model:email.template,body_html:auth_signup.reset_password_email +msgid "" +"\n" +"

    A password reset was requested for the OpenERP account linked to this " +"email.

    \n" +"\n" +"

    You may change your password by following this link.

    \n" +"\n" +"

    Note: If you do not expect this, you can safely ignore this email.

    " +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#, python-format +msgid "Please enter a name." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_res_users msgid "Users" @@ -66,16 +121,18 @@ msgstr "Brukere" msgid "Signup URL" msgstr "Regitrer deg URL." +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#, python-format +msgid "Please enter a username." +msgstr "" + #. module: auth_signup #: selection:res.users,state:0 msgid "Active" msgstr "Aktiv." -#. module: auth_signup -#: help:base.config.settings,auth_signup_uninvited:0 -msgid "If unchecked, only invited users may sign up" -msgstr "" - #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:12 @@ -90,6 +147,18 @@ msgstr "Brukernavn." msgid "Name" msgstr "Navn." +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Please enter a username or email address." +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Resetting Password" +msgstr "Tilbakestill Passord." + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:13 @@ -102,6 +171,11 @@ msgstr "Brukernavn (E-post)" msgid "Signup Expiration" msgstr "Registrerings utløpsdato." +#. module: auth_signup +#: help:base.config.settings,auth_signup_reset_password:0 +msgid "This allows users to trigger a password reset from the Login page." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:21 @@ -115,9 +189,49 @@ msgid "Signup Token is Valid" msgstr "" #. module: auth_signup -#: selection:res.users,state:0 -msgid "Resetting Password" -msgstr "Tilbakestill Passord." +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Login" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:94 +#, python-format +msgid "Invalid signup token" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#, python-format +msgid "Passwords do not match; please retype them." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#, python-format +msgid "No database selected !" +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Reset Password" +msgstr "" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_reset_password:0 +msgid "Enable password reset from Login page" +msgstr "" #. module: auth_signup #. openerp-web diff --git a/addons/auth_signup/i18n/nl.po b/addons/auth_signup/i18n/nl.po index b986f545710..96bbebd9134 100644 --- a/addons/auth_signup/i18n/nl.po +++ b/addons/auth_signup/i18n/nl.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-11-29 15:29+0000\n" -"Last-Translator: Erwin van der Ploeg (Endian Solutions) \n" +"POT-Creation-Date: 2012-12-04 14:41+0000\n" +"PO-Revision-Date: 2012-12-04 20:16+0000\n" +"Last-Translator: Olivier Dony (OpenERP) \n" "Language-Team: Dutch \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:54+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: auth_signup @@ -29,16 +29,51 @@ msgstr "Toestaan dat externe gebruikers inloggen" msgid "Confirm Password" msgstr "Bevestig wachtwoord" +#. module: auth_signup +#: help:base.config.settings,auth_signup_uninvited:0 +msgid "If unchecked, only invited users may sign up." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_base_config_settings msgid "base.config.settings" msgstr "base.config.settings" +#. module: auth_signup +#: code:addons/auth_signup/res_users.py:248 +#, python-format +msgid "Cannot send email: user has no email address." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:25 +#, python-format +msgid "Reset password" +msgstr "Reset wachtwoord" + #. module: auth_signup #: field:base.config.settings,auth_signup_template_user_id:0 msgid "Template user for new users created through signup" msgstr "" +#. module: auth_signup +#: model:email.template,subject:auth_signup.reset_password_email +msgid "Password reset" +msgstr "Reset wachtwoord" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#, python-format +msgid "Please enter a password and confirm it." +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Send an email to the user to (re)set their password." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:23 @@ -56,6 +91,26 @@ msgstr "Nieuw" msgid "Status" msgstr "Status" +#. module: auth_signup +#: model:email.template,body_html:auth_signup.reset_password_email +msgid "" +"\n" +"

    A password reset was requested for the OpenERP account linked to this " +"email.

    \n" +"\n" +"

    You may change your password by following this link.

    \n" +"\n" +"

    Note: If you do not expect this, you can safely ignore this email.

    " +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#, python-format +msgid "Please enter a name." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_res_users msgid "Users" @@ -66,16 +121,18 @@ msgstr "Gebruikers" msgid "Signup URL" msgstr "URL voor aanmelden" +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#, python-format +msgid "Please enter a username." +msgstr "" + #. module: auth_signup #: selection:res.users,state:0 msgid "Active" msgstr "Actief" -#. module: auth_signup -#: help:base.config.settings,auth_signup_uninvited:0 -msgid "If unchecked, only invited users may sign up" -msgstr "" - #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:12 @@ -90,6 +147,18 @@ msgstr "Gebruikersnaam" msgid "Name" msgstr "Naam" +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Please enter a username or email address." +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Resetting Password" +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:13 @@ -102,6 +171,11 @@ msgstr "" msgid "Signup Expiration" msgstr "" +#. module: auth_signup +#: help:base.config.settings,auth_signup_reset_password:0 +msgid "This allows users to trigger a password reset from the Login page." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:21 @@ -115,8 +189,48 @@ msgid "Signup Token is Valid" msgstr "" #. module: auth_signup -#: selection:res.users,state:0 -msgid "Resetting Password" +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Login" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:94 +#, python-format +msgid "Invalid signup token" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#, python-format +msgid "Passwords do not match; please retype them." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#, python-format +msgid "No database selected !" +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Reset Password" +msgstr "Stel wachtwoord opnieuw in" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_reset_password:0 +msgid "Enable password reset from Login page" msgstr "" #. module: auth_signup diff --git a/addons/auth_signup/i18n/pt_BR.po b/addons/auth_signup/i18n/pt_BR.po new file mode 100644 index 00000000000..4fa96cf0535 --- /dev/null +++ b/addons/auth_signup/i18n/pt_BR.po @@ -0,0 +1,270 @@ +# Brazilian Portuguese translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2012-12-04 14:41+0000\n" +"PO-Revision-Date: 2012-12-04 18:30+0000\n" +"Last-Translator: Cristiano Korndörfer \n" +"Language-Team: Brazilian Portuguese \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-05 05:20+0000\n" +"X-Generator: Launchpad (build 16335)\n" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_uninvited:0 +msgid "Allow external users to sign up" +msgstr "Permitir inscrição de usuários externos" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:16 +#, python-format +msgid "Confirm Password" +msgstr "Confirmar Senha" + +#. module: auth_signup +#: help:base.config.settings,auth_signup_uninvited:0 +msgid "If unchecked, only invited users may sign up." +msgstr "Se não marcado, somente usuários convidados poderão inscrever-se" + +#. module: auth_signup +#: model:ir.model,name:auth_signup.model_base_config_settings +msgid "base.config.settings" +msgstr "Configurações" + +#. module: auth_signup +#: code:addons/auth_signup/res_users.py:248 +#, python-format +msgid "Cannot send email: user has no email address." +msgstr "" +"Não foi possível enviar e-mail: o usuário não tem um endereço de e-mail" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:25 +#, python-format +msgid "Reset password" +msgstr "Redefinir Senha" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_template_user_id:0 +msgid "Template user for new users created through signup" +msgstr "Modelo de usuário para novos usuários criados através de inscrição" + +#. module: auth_signup +#: model:email.template,subject:auth_signup.reset_password_email +msgid "Password reset" +msgstr "Redefinir Senha" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#, python-format +msgid "Please enter a password and confirm it." +msgstr "Por favor digite uma senha e sua confirmação." + +#. module: auth_signup +#: view:res.users:0 +msgid "Send an email to the user to (re)set their password." +msgstr "Enviar um e-mail para o usuário para (re)definir sua senha." + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:23 +#, python-format +msgid "Sign Up" +msgstr "Inscreva-se" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "New" +msgstr "Novo" + +#. module: auth_signup +#: field:res.users,state:0 +msgid "Status" +msgstr "Situação" + +#. module: auth_signup +#: model:email.template,body_html:auth_signup.reset_password_email +msgid "" +"\n" +"

    A password reset was requested for the OpenERP account linked to this " +"email.

    \n" +"\n" +"

    You may change your password by following this link.

    \n" +"\n" +"

    Note: If you do not expect this, you can safely ignore this email.

    " +msgstr "" +"\n" +"

    Uma redefinição de senha foi solicitada para a conta OpenERP associada a " +"este e-mail.

    \n" +"\n" +"

    Você pode mudar sua senha acessando este " +"endereço.

    \n" +"\n" +"

    Nota: Se esta ação não era esperada, você pode seguramente ignorar este e-" +"mail.

    " + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#, python-format +msgid "Please enter a name." +msgstr "Por favor informe um nome." + +#. module: auth_signup +#: model:ir.model,name:auth_signup.model_res_users +msgid "Users" +msgstr "Usuários" + +#. module: auth_signup +#: field:res.partner,signup_url:0 +msgid "Signup URL" +msgstr "URL de inscrição" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#, python-format +msgid "Please enter a username." +msgstr "Por favor informe um nome de usuário" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Active" +msgstr "Ativo" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:12 +#, python-format +msgid "Username" +msgstr "Nome do Usuário" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:8 +#, python-format +msgid "Name" +msgstr "Nome" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Please enter a username or email address." +msgstr "Por favor informe um nome de usuário ou endereço de e-mail." + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Resetting Password" +msgstr "Redefinindo a Senha" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:13 +#, python-format +msgid "Username (Email)" +msgstr "Nome de Usuário (E-mail)" + +#. module: auth_signup +#: field:res.partner,signup_expiration:0 +msgid "Signup Expiration" +msgstr "Expiração de Inscrição" + +#. module: auth_signup +#: help:base.config.settings,auth_signup_reset_password:0 +msgid "This allows users to trigger a password reset from the Login page." +msgstr "" +"Permite aos usuários disparar a redefinição de senha a partir da página de " +"autenticação." + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:21 +#, python-format +msgid "Log in" +msgstr "Acessar" + +#. module: auth_signup +#: field:res.partner,signup_valid:0 +msgid "Signup Token is Valid" +msgstr "Token de Inscrição é Válido" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Login" +msgstr "Autenticação" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:94 +#, python-format +msgid "Invalid signup token" +msgstr "Token de inscrição inválido" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#, python-format +msgid "Passwords do not match; please retype them." +msgstr "As senhas não combinam; por favor redigite-as." + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#, python-format +msgid "No database selected !" +msgstr "Nenhuma base de dados selecionada !" + +#. module: auth_signup +#: view:res.users:0 +msgid "Reset Password" +msgstr "Redefinir Senha" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_reset_password:0 +msgid "Enable password reset from Login page" +msgstr "Habilitar redefinição de senha a partir da página de autenticação" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:24 +#, python-format +msgid "Back to Login" +msgstr "Voltar para a Página de Autenticação" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:22 +#, python-format +msgid "Sign up" +msgstr "Inscreva-se" + +#. module: auth_signup +#: model:ir.model,name:auth_signup.model_res_partner +msgid "Partner" +msgstr "Parceiro" + +#. module: auth_signup +#: field:res.partner,signup_token:0 +msgid "Signup Token" +msgstr "Token de Inscrição" diff --git a/addons/auth_signup/i18n/tr.po b/addons/auth_signup/i18n/tr.po new file mode 100644 index 00000000000..b5b0822191e --- /dev/null +++ b/addons/auth_signup/i18n/tr.po @@ -0,0 +1,258 @@ +# Turkish translation for openobject-addons +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-12-04 14:41+0000\n" +"PO-Revision-Date: 2012-12-04 20:16+0000\n" +"Last-Translator: Olivier Dony (OpenERP) \n" +"Language-Team: Turkish \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-05 05:20+0000\n" +"X-Generator: Launchpad (build 16335)\n" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_uninvited:0 +msgid "Allow external users to sign up" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:16 +#, python-format +msgid "Confirm Password" +msgstr "" + +#. module: auth_signup +#: help:base.config.settings,auth_signup_uninvited:0 +msgid "If unchecked, only invited users may sign up." +msgstr "" + +#. module: auth_signup +#: model:ir.model,name:auth_signup.model_base_config_settings +msgid "base.config.settings" +msgstr "" + +#. module: auth_signup +#: code:addons/auth_signup/res_users.py:248 +#, python-format +msgid "Cannot send email: user has no email address." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:25 +#, python-format +msgid "Reset password" +msgstr "Parolayı sıfırla" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_template_user_id:0 +msgid "Template user for new users created through signup" +msgstr "" + +#. module: auth_signup +#: model:email.template,subject:auth_signup.reset_password_email +msgid "Password reset" +msgstr "Parola sıfırlandı" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#, python-format +msgid "Please enter a password and confirm it." +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Send an email to the user to (re)set their password." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:23 +#, python-format +msgid "Sign Up" +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "New" +msgstr "" + +#. module: auth_signup +#: field:res.users,state:0 +msgid "Status" +msgstr "" + +#. module: auth_signup +#: model:email.template,body_html:auth_signup.reset_password_email +msgid "" +"\n" +"

    A password reset was requested for the OpenERP account linked to this " +"email.

    \n" +"\n" +"

    You may change your password by following this link.

    \n" +"\n" +"

    Note: If you do not expect this, you can safely ignore this email.

    " +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#, python-format +msgid "Please enter a name." +msgstr "" + +#. module: auth_signup +#: model:ir.model,name:auth_signup.model_res_users +msgid "Users" +msgstr "Kullanıcılar" + +#. module: auth_signup +#: field:res.partner,signup_url:0 +msgid "Signup URL" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#, python-format +msgid "Please enter a username." +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Active" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:12 +#, python-format +msgid "Username" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:8 +#, python-format +msgid "Name" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Please enter a username or email address." +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Resetting Password" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:13 +#, python-format +msgid "Username (Email)" +msgstr "" + +#. module: auth_signup +#: field:res.partner,signup_expiration:0 +msgid "Signup Expiration" +msgstr "" + +#. module: auth_signup +#: help:base.config.settings,auth_signup_reset_password:0 +msgid "This allows users to trigger a password reset from the Login page." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:21 +#, python-format +msgid "Log in" +msgstr "" + +#. module: auth_signup +#: field:res.partner,signup_valid:0 +msgid "Signup Token is Valid" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Login" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:94 +#, python-format +msgid "Invalid signup token" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#, python-format +msgid "Passwords do not match; please retype them." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#, python-format +msgid "No database selected !" +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Reset Password" +msgstr "Parolayı Sıfırla" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_reset_password:0 +msgid "Enable password reset from Login page" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:24 +#, python-format +msgid "Back to Login" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:22 +#, python-format +msgid "Sign up" +msgstr "" + +#. module: auth_signup +#: model:ir.model,name:auth_signup.model_res_partner +msgid "Partner" +msgstr "" + +#. module: auth_signup +#: field:res.partner,signup_token:0 +msgid "Signup Token" +msgstr "" diff --git a/addons/auth_signup/i18n/zh_CN.po b/addons/auth_signup/i18n/zh_CN.po index 562ea9e53cf..813db8acad6 100644 --- a/addons/auth_signup/i18n/zh_CN.po +++ b/addons/auth_signup/i18n/zh_CN.po @@ -7,14 +7,14 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" -"POT-Creation-Date: 2012-12-03 16:03+0000\n" -"PO-Revision-Date: 2012-11-28 16:52+0000\n" +"POT-Creation-Date: 2012-12-04 14:41+0000\n" +"PO-Revision-Date: 2012-12-04 20:16+0000\n" "Last-Translator: ccdos \n" "Language-Team: Chinese (Simplified) \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:55+0000\n" +"X-Launchpad-Export-Date: 2012-12-05 05:20+0000\n" "X-Generator: Launchpad (build 16335)\n" #. module: auth_signup @@ -29,16 +29,51 @@ msgstr "允许外部用户登录" msgid "Confirm Password" msgstr "确认密码" +#. module: auth_signup +#: help:base.config.settings,auth_signup_uninvited:0 +msgid "If unchecked, only invited users may sign up." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_base_config_settings msgid "base.config.settings" msgstr "base.config.settings" +#. module: auth_signup +#: code:addons/auth_signup/res_users.py:248 +#, python-format +msgid "Cannot send email: user has no email address." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/xml/auth_signup.xml:25 +#, python-format +msgid "Reset password" +msgstr "重设密码" + #. module: auth_signup #: field:base.config.settings,auth_signup_template_user_id:0 msgid "Template user for new users created through signup" msgstr "用作通过注册创建的新用户的模版" +#. module: auth_signup +#: model:email.template,subject:auth_signup.reset_password_email +msgid "Password reset" +msgstr "重置密码" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#, python-format +msgid "Please enter a password and confirm it." +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Send an email to the user to (re)set their password." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:23 @@ -56,6 +91,26 @@ msgstr "新建" msgid "Status" msgstr "状态" +#. module: auth_signup +#: model:email.template,body_html:auth_signup.reset_password_email +msgid "" +"\n" +"

    A password reset was requested for the OpenERP account linked to this " +"email.

    \n" +"\n" +"

    You may change your password by following this link.

    \n" +"\n" +"

    Note: If you do not expect this, you can safely ignore this email.

    " +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#, python-format +msgid "Please enter a name." +msgstr "" + #. module: auth_signup #: model:ir.model,name:auth_signup.model_res_users msgid "Users" @@ -66,16 +121,18 @@ msgstr "用户" msgid "Signup URL" msgstr "注册 URL" +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#, python-format +msgid "Please enter a username." +msgstr "" + #. module: auth_signup #: selection:res.users,state:0 msgid "Active" msgstr "启用" -#. module: auth_signup -#: help:base.config.settings,auth_signup_uninvited:0 -msgid "If unchecked, only invited users may sign up" -msgstr "如果不选中,只有被邀请用户方可注册。" - #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:12 @@ -90,6 +147,18 @@ msgstr "用户名" msgid "Name" msgstr "姓名" +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Please enter a username or email address." +msgstr "" + +#. module: auth_signup +#: selection:res.users,state:0 +msgid "Resetting Password" +msgstr "复位密码" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:13 @@ -102,6 +171,11 @@ msgstr "用户名(Email)" msgid "Signup Expiration" msgstr "注册过期" +#. module: auth_signup +#: help:base.config.settings,auth_signup_reset_password:0 +msgid "This allows users to trigger a password reset from the Login page." +msgstr "" + #. module: auth_signup #. openerp-web #: code:addons/auth_signup/static/src/xml/auth_signup.xml:21 @@ -115,9 +189,49 @@ msgid "Signup Token is Valid" msgstr "注册令牌( Token )是有效的" #. module: auth_signup -#: selection:res.users,state:0 -msgid "Resetting Password" -msgstr "复位密码" +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:114 +#: code:addons/auth_signup/static/src/js/auth_signup.js:117 +#: code:addons/auth_signup/static/src/js/auth_signup.js:120 +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#: code:addons/auth_signup/static/src/js/auth_signup.js:160 +#, python-format +msgid "Login" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:94 +#, python-format +msgid "Invalid signup token" +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:123 +#, python-format +msgid "Passwords do not match; please retype them." +msgstr "" + +#. module: auth_signup +#. openerp-web +#: code:addons/auth_signup/static/src/js/auth_signup.js:111 +#: code:addons/auth_signup/static/src/js/auth_signup.js:157 +#, python-format +msgid "No database selected !" +msgstr "" + +#. module: auth_signup +#: view:res.users:0 +msgid "Reset Password" +msgstr "重置密码" + +#. module: auth_signup +#: field:base.config.settings,auth_signup_reset_password:0 +msgid "Enable password reset from Login page" +msgstr "" #. module: auth_signup #. openerp-web diff --git a/addons/auth_signup/res_config.py b/addons/auth_signup/res_config.py index 21fce19745c..9cdb41568ff 100644 --- a/addons/auth_signup/res_config.py +++ b/addons/auth_signup/res_config.py @@ -26,14 +26,19 @@ class base_config_settings(osv.TransientModel): _inherit = 'base.config.settings' _columns = { - 'auth_signup_uninvited': fields.boolean('Allow external users to sign up', help="If unchecked, only invited users may sign up"), - 'auth_signup_template_user_id': fields.many2one('res.users', 'Template user for new users created through signup'), + 'auth_signup_reset_password': fields.boolean('Enable password reset from Login page', + help="This allows users to trigger a password reset from the Login page."), + 'auth_signup_uninvited': fields.boolean('Allow external users to sign up', + help="If unchecked, only invited users may sign up."), + 'auth_signup_template_user_id': fields.many2one('res.users', + string='Template user for new users created through signup'), } def get_default_auth_signup_template_user_id(self, cr, uid, fields, context=None): icp = self.pool.get('ir.config_parameter') # we use safe_eval on the result, since the value of the parameter is a nonempty string return { + 'auth_signup_reset_password': safe_eval(icp.get_param(cr, uid, 'auth_signup.reset_password', 'False')), 'auth_signup_uninvited': safe_eval(icp.get_param(cr, uid, 'auth_signup.allow_uninvited', 'False')), 'auth_signup_template_user_id': safe_eval(icp.get_param(cr, uid, 'auth_signup.template_user_id', 'False')), } @@ -42,5 +47,6 @@ class base_config_settings(osv.TransientModel): config = self.browse(cr, uid, ids[0], context=context) icp = self.pool.get('ir.config_parameter') # we store the repr of the values, since the value of the parameter is a required string + icp.set_param(cr, uid, 'auth_signup.reset_password', repr(config.auth_signup_reset_password)) icp.set_param(cr, uid, 'auth_signup.allow_uninvited', repr(config.auth_signup_uninvited)) icp.set_param(cr, uid, 'auth_signup.template_user_id', repr(config.auth_signup_template_user_id.id)) diff --git a/addons/auth_signup/res_config.xml b/addons/auth_signup/res_config.xml index 9d3eb4eaa5a..86c56a065a7 100644 --- a/addons/auth_signup/res_config.xml +++ b/addons/auth_signup/res_config.xml @@ -8,6 +8,10 @@ +
    + +