diff --git a/addons/account/__terp__.py b/addons/account/__terp__.py index 1fe6bd355bd..bfa5f8fb47b 100644 --- a/addons/account/__terp__.py +++ b/addons/account/__terp__.py @@ -79,13 +79,15 @@ module named account_voucherss 'report/account_report_view.xml', ], 'demo_xml': [ - #'demo/price_accuracy00.yml', 'account_demo.xml', 'project/project_demo.xml', 'project/analytic_account_demo.xml', 'demo/account_minimal.xml', 'account_unit_test.xml', ], + 'test': [ + 'test/price_accuracy00.yml', + ], 'installable': True, 'active': False, 'certificate': '0080331923549', diff --git a/addons/account/i18n/cs.po b/addons/account/i18n/cs.po index faff571118c..21e7c708e8f 100644 --- a/addons/account/i18n/cs.po +++ b/addons/account/i18n/cs.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.0\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2010-04-01 22:39+0000\n" +"PO-Revision-Date: 2010-04-08 18:06+0000\n" "Last-Translator: mitev.dmitry \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: 2010-04-03 03:54+0000\n" +"X-Launchpad-Export-Date: 2010-04-10 03:49+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account @@ -115,7 +115,7 @@ msgstr "Rodič" #. module: account #: selection:account.move,type:0 msgid "Journal Voucher" -msgstr "" +msgstr "Rada" #. module: account #: field:account.invoice,residual:0 @@ -134,7 +134,7 @@ msgstr "Základní kódová značka" #: model:ir.actions.wizard,name:account.wizard_unreconcile_select #: model:ir.ui.menu,name:account.menu_unreconcile_select msgid "Unreconcile entries" -msgstr "" +msgstr "Nepotvrzené záznamy" #. module: account #: constraint:account.period:0 @@ -159,7 +159,7 @@ msgstr "Debetní Centralizace" #. module: account #: model:ir.actions.wizard,name:account.wizard_invoice_state_confirm msgid "Confirm draft invoices" -msgstr "" +msgstr "Potvrdit návrh faktury" #. module: account #: help:account.payment.term.line,days2:0 @@ -182,7 +182,7 @@ msgstr "Grafy účtu" #. module: account #: model:ir.actions.wizard,name:account.wizard_move_line_select msgid "Move line select" -msgstr "" +msgstr "Přesun řádku vyberte" #. module: account #: rml:account.journal.period.print:0 @@ -310,7 +310,7 @@ msgstr "Původ" #. module: account #: rml:account.analytic.account.journal:0 msgid "Move Name" -msgstr "" +msgstr "Název Pohybu" #. module: account #: xsl:account.transfer:0 @@ -325,7 +325,7 @@ msgstr "Vypočítat předpaltné(Subscription Compute)" #. module: account #: rml:account.central.journal:0 msgid "Account Num." -msgstr "" +msgstr "Číslo účtu" #. module: account #: rml:account.analytic.account.analytic.check:0 @@ -337,12 +337,12 @@ msgstr "" #: field:account.invoice,amount_tax:0 #: field:account.move.line,account_tax_id:0 msgid "Tax" -msgstr "" +msgstr "Daň" #. module: account #: rml:account.general.journal:0 msgid "Debit Trans." -msgstr "" +msgstr "Debetní transakce" #. module: account #: field:account.analytic.line,account_id:0 @@ -356,24 +356,24 @@ msgstr "Analytický účet" #: field:account.tax,child_depend:0 #: field:account.tax.template,child_depend:0 msgid "Tax on Children" -msgstr "" +msgstr "Daň z dětí" #. module: account #: rml:account.central.journal:0 #: rml:account.general.journal:0 #: field:account.journal,name:0 msgid "Journal Name" -msgstr "" +msgstr "Název časopisu" #. module: account #: view:account.payment.term:0 msgid "Description on invoices" -msgstr "" +msgstr "Popis na fakturách" #. module: account #: constraint:account.analytic.account:0 msgid "Error! You can not create recursive analytic accounts." -msgstr "" +msgstr "Chyba! Nemůžete vytvářet rekurzivní analytické účty." #. module: account #: field:account.bank.statement.reconcile,total_entry:0 @@ -389,13 +389,13 @@ msgstr "Zdroj účtu" #. module: account #: field:account.journal,update_posted:0 msgid "Allow Cancelling Entries" -msgstr "" +msgstr "Povolit Zrušení Příspěvky" #. module: account #: model:process.transition,name:account.process_transition_paymentorderbank0 #: model:process.transition,name:account.process_transition_paymentorderreconcilation0 msgid "Payment Reconcilation" -msgstr "" +msgstr "Platba usmíření" #. module: account #: model:account.journal,name:account.expenses_journal @@ -425,7 +425,7 @@ msgstr "(Účet / Partner) Název" #. module: account #: selection:account.move,type:0 msgid "Contra" -msgstr "" +msgstr "Kontraindikace" #. module: account #: field:account.analytic.account,state:0 @@ -447,7 +447,7 @@ msgstr "" #: view:account.tax:0 #: view:account.tax.template:0 msgid "Special Computation" -msgstr "" +msgstr "Speciální výpočetní" #. module: account #: model:process.transition,note:account.process_transition_confirmstatementfromdraft0 @@ -506,7 +506,7 @@ msgstr "" #. module: account #: view:account.invoice:0 msgid "Supplier invoice" -msgstr "" +msgstr "Dodavatele uvedený na faktuře" #. module: account #: model:process.transition,name:account.process_transition_reconcilepaid0 @@ -533,7 +533,7 @@ msgstr "" #. module: account #: field:account.account.type,close_method:0 msgid "Deferral Method" -msgstr "" +msgstr "Metoda zpoždění" #. module: account #: field:account.tax.template,include_base_amount:0 @@ -560,7 +560,7 @@ msgstr "" #: selection:account.tax,applicable_type:0 #: selection:account.tax.template,applicable_type:0 msgid "True" -msgstr "" +msgstr "Pravda" #. module: account #: help:account.payment.term.line,days:0 @@ -577,7 +577,7 @@ msgstr "" #. module: account #: rml:account.central.journal:0 msgid "Printing Date" -msgstr "" +msgstr "Datum vydání" #. module: account #: rml:account.general.ledger:0 @@ -593,7 +593,7 @@ msgstr "" #. module: account #: view:account.journal:0 msgid "Entry Controls" -msgstr "" +msgstr "Vstupní kontrolou" #. module: account #: help:account.model.line,sequence:0 @@ -616,13 +616,13 @@ msgstr "" #. module: account #: field:account.analytic.account,contact_id:0 msgid "Contact" -msgstr "" +msgstr "Kontakt" #. module: account #: selection:account.model.line,date:0 #: selection:account.model.line,date_maturity:0 msgid "Partner Payment Term" -msgstr "" +msgstr "Partner splatnosti" #. module: account #: view:account.move.reconcile:0 @@ -637,13 +637,13 @@ msgstr "Otevřeno pro bankovní vyrovnání(Open for bank reconciliation)" #. module: account #: field:account.invoice.line,discount:0 msgid "Discount (%)" -msgstr "" +msgstr "Sleva (%)" #. module: account #: wizard_field:account.move.line.reconcile,init_full,writeoff:0 #: wizard_field:account.move.line.reconcile,init_partial,writeoff:0 msgid "Write-Off amount" -msgstr "" +msgstr "Odpis části" #. module: account #: help:account.fiscalyear,company_id:0 @@ -653,7 +653,7 @@ msgstr "" #. module: account #: model:ir.ui.menu,name:account.menu_analytic_accounting msgid "Analytic Accounting" -msgstr "" +msgstr "Analytické účetnictví" #. module: account #: rml:account.overdue:0 @@ -666,22 +666,22 @@ msgstr "" #: model:ir.actions.act_window,name:account.action_account_analytic_line_form #: model:ir.ui.menu,name:account.next_id_41 msgid "Analytic Entries" -msgstr "" +msgstr "Analytická Příspěvky" #. module: account #: selection:account.subscription,period_type:0 msgid "month" -msgstr "" +msgstr "měsíc" #. module: account #: field:account.analytic.account,partner_id:0 msgid "Associated Partner" -msgstr "" +msgstr "Přidruženého partnera" #. module: account #: field:account.invoice,comment:0 msgid "Additional Information" -msgstr "" +msgstr "Další informace" #. module: account #: selection:account.invoice,type:0 @@ -719,18 +719,18 @@ msgstr "" #. module: account #: model:process.transition,name:account.process_transition_supplieranalyticcost0 msgid "Analytic Invoice" -msgstr "" +msgstr "Analytická faktury" #. module: account #: field:account.journal.column,field:0 msgid "Field Name" -msgstr "" +msgstr "Název pole" #. module: account #: field:account.tax.code,sign:0 #: field:account.tax.code.template,sign:0 msgid "Sign for parent" -msgstr "" +msgstr "Přihlaste se na mateřské" #. module: account #: field:account.fiscalyear,end_journal_period_id:0 @@ -741,7 +741,7 @@ msgstr "" #: view:product.product:0 #: view:product.template:0 msgid "Purchase Properties" -msgstr "" +msgstr "Nákup Nemovitosti" #. module: account #: model:process.node,note:account.process_node_paymententries0 @@ -751,12 +751,12 @@ msgstr "" #. module: account #: wizard_button:account.invoice.pay,init,reconcile:0 msgid "Partial Payment" -msgstr "" +msgstr "Částečná platba" #. module: account #: wizard_view:account_use_models,create:0 msgid "Move Lines Created." -msgstr "" +msgstr "Přesun vytvořených linek." #. module: account #: field:account.fiscalyear,state:0 @@ -766,18 +766,18 @@ msgstr "" #: field:account.period,state:0 #: field:account.subscription,state:0 msgid "Status" -msgstr "" +msgstr "Stav" #. module: account #: rml:account.analytic.account.cost_ledger:0 #: rml:account.analytic.account.quantity_cost_ledger:0 msgid "Period to" -msgstr "" +msgstr "Období do" #. module: account #: field:account.account.type,partner_account:0 msgid "Partner account" -msgstr "" +msgstr "Partner účet" #. module: account #: wizard_view:account.subscription.generate,init:0 @@ -803,7 +803,7 @@ msgstr "" #. module: account #: field:account.invoice,move_lines:0 msgid "Move Lines" -msgstr "" +msgstr "Přesun Linky" #. module: account #: model:ir.model,name:account.model_account_config_wizard @@ -831,26 +831,26 @@ msgstr "" #. module: account #: model:ir.ui.menu,name:account.next_id_30 msgid "Bank Reconciliation" -msgstr "" +msgstr "Bankovní usmíření" #. module: account #: model:ir.model,name:account.model_account_account_template msgid "Templates for Accounts" -msgstr "" +msgstr "Šablony pro účty" #. module: account #: model:ir.actions.act_window,name:account.action_account_analytic_account_form #: model:ir.model,name:account.model_account_analytic_account #: model:ir.ui.menu,name:account.account_analytic_def_account msgid "Analytic Accounts" -msgstr "" +msgstr "Analytické účty" #. module: account #: wizard_view:account.print.journal.report,init:0 #: model:ir.actions.wizard,name:account.wizard_print_journal #: model:ir.ui.menu,name:account.menu_print_journal msgid "Print Journal" -msgstr "" +msgstr "Tisk věstníku" #. module: account #: model:ir.model,name:account.model_account_bank_accounts_wizard @@ -861,39 +861,39 @@ msgstr "" #: field:account.move.line,date_created:0 #: field:account.move.reconcile,create_date:0 msgid "Creation date" -msgstr "" +msgstr "Datum vytvoření" #. module: account #: wizard_button:account.invoice.refund,init,cancel_invoice:0 msgid "Cancel Invoice" -msgstr "" +msgstr "Zrušit účet" #. module: account #: field:account.journal.column,required:0 msgid "Required" -msgstr "" +msgstr "Požadované" #. module: account #: field:product.category,property_account_expense_categ:0 #: field:product.template,property_account_expense:0 msgid "Expense Account" -msgstr "" +msgstr "Cestovní účet" #. module: account #: wizard_field:account.move.line.reconcile,addendum,journal_id:0 msgid "Write-Off Journal" -msgstr "" +msgstr "Odpis věstníku" #. module: account #: field:account.model.line,amount_currency:0 #: field:account.move.line,amount_currency:0 msgid "Amount Currency" -msgstr "" +msgstr "Částka měny" #. module: account #: field:account.chart.template,property_account_expense_categ:0 msgid "Expense Category Account" -msgstr "" +msgstr "Kategorie výdajů účtu" #. module: account #: wizard_field:account.fiscalyear.close,init,fy2_id:0 @@ -910,7 +910,7 @@ msgstr "" #. module: account #: wizard_field:account.open_closed_fiscalyear,init,fyear_id:0 msgid "Fiscal Year to Open" -msgstr "" +msgstr "Fiskální rok otevřena" #. module: account #: view:account.config.wizard:0 @@ -928,7 +928,7 @@ msgstr "" #: field:account.model.line,quantity:0 #: field:account.move.line,quantity:0 msgid "Quantity" -msgstr "" +msgstr "Množství" #. module: account #: wizard_field:account.account.balance.report,checktype,date_to:0 @@ -936,7 +936,7 @@ msgstr "" #: wizard_field:account.partner.balance.report,init,date2:0 #: wizard_field:account.third_party_ledger.report,init,date2:0 msgid "End date" -msgstr "" +msgstr "Datum ukončení" #. module: account #: field:account.invoice.tax,base_amount:0 @@ -957,12 +957,12 @@ msgstr "" #: model:ir.actions.act_window,name:account.action_bank_statement_tree #: model:ir.ui.menu,name:account.menu_bank_statement_tree msgid "Entries by Statements" -msgstr "" +msgstr "Příspěvky výroky" #. module: account #: model:process.transition,name:account.process_transition_analyticinvoice0 msgid "analytic Invoice" -msgstr "" +msgstr "analytické faktury" #. module: account #: wizard_field:account.automatic.reconcile,init,period_id:0 @@ -981,22 +981,22 @@ msgstr "" #: wizard_field:account.print.journal.report,init,period_id:0 #: field:account.subscription,period_nbr:0 msgid "Period" -msgstr "" +msgstr "Perioda" #. module: account #: rml:account.partner.balance:0 msgid "Grand total" -msgstr "" +msgstr "Úhrn" #. module: account #: model:ir.ui.menu,name:account.menu_finance_accounting msgid "Financial Accounting" -msgstr "" +msgstr "Finanční účetnictví" #. module: account #: rml:account.invoice:0 msgid "Net Total:" -msgstr "" +msgstr "Čistá celkem:" #. module: account #: view:account.fiscal.position:0 @@ -1010,7 +1010,7 @@ msgstr "" #: model:ir.model,name:account.model_account_fiscal_position #: field:res.partner,property_account_position:0 msgid "Fiscal Position" -msgstr "" +msgstr "Fiskální pozice" #. module: account #: field:account.analytic.line,product_uom_id:0 @@ -1027,7 +1027,7 @@ msgstr "" #: field:account.account,child_parent_ids:0 #: field:account.account.template,child_parent_ids:0 msgid "Children" -msgstr "" +msgstr "Děti" #. module: account #: model:ir.model,name:account.model_account_fiscal_position_tax @@ -1038,35 +1038,35 @@ msgstr "" #: model:ir.actions.act_window,name:account.action_invoice_tree2_new #: model:ir.ui.menu,name:account.menu_action_invoice_tree2_new msgid "New Supplier Invoice" -msgstr "" +msgstr "Nového dodavatele faktury" #. module: account #: wizard_field:account.invoice.pay,init,amount:0 msgid "Amount paid" -msgstr "" +msgstr "Zaplacené částky" #. module: account #: selection:account.invoice,type:0 #: model:process.transition,name:account.process_transition_customerinvoice0 #: model:process.transition,name:account.process_transition_suppliercustomerinvoice0 msgid "Customer Invoice" -msgstr "" +msgstr "Zákazník faktury" #. module: account #: wizard_view:account.open_closed_fiscalyear,init:0 msgid "Choose Fiscal Year" -msgstr "" +msgstr "Vyberte si fiskální rok" #. module: account #: field:account.sequence.fiscalyear,sequence_main_id:0 msgid "Main Sequence" -msgstr "" +msgstr "Hlavní posloupnosti" #. module: account #: model:ir.actions.act_window,name:account.action_account_analytic_journal_tree #: model:ir.ui.menu,name:account.account_analytic_journal_print msgid "Print Analytic Journals" -msgstr "" +msgstr "Tisk Analytické Časopisy" #. module: account #: rml:account.tax.code.entries:0 @@ -1083,7 +1083,7 @@ msgstr "" #. module: account #: field:account.bank.statement.reconcile,total_new:0 msgid "Total write-off" -msgstr "" +msgstr "Celkem odpis" #. module: account #: view:account.tax.template:0 @@ -1095,14 +1095,14 @@ msgstr "" #: model:ir.actions.act_window,name:account.action_tax_code_list #: model:ir.ui.menu,name:account.menu_action_tax_code_list msgid "Tax codes" -msgstr "" +msgstr "Daňové kódy" #. module: account #: field:account.fiscal.position.template,chart_template_id:0 #: field:account.tax.template,chart_template_id:0 #: field:wizard.multi.charts.accounts,chart_template_id:0 msgid "Chart Template" -msgstr "" +msgstr "Graf šablony" #. module: account #: field:account.chart.template,property_account_income_categ:0 @@ -1113,24 +1113,24 @@ msgstr "" #: model:ir.actions.act_window,name:account.analytic_account_form #: model:ir.ui.menu,name:account.account_analytic_form msgid "New Analytic Account" -msgstr "" +msgstr "Nový analitickiý účet" #. module: account #: model:ir.actions.act_window,name:account.action_account_fiscal_position_template_form #: model:ir.ui.menu,name:account.menu_action_account_fiscal_position_form_template msgid "Fiscal Position Templates" -msgstr "" +msgstr "Fiskální pozice Šablony" #. module: account #: rml:account.invoice:0 #: field:account.invoice.line,price_unit:0 msgid "Unit Price" -msgstr "" +msgstr "Cena za kus" #. module: account #: rml:account.analytic.account.journal:0 msgid "Period from :" -msgstr "" +msgstr "Období od:" #. module: account #: model:ir.model,name:account.model_wizard_multi_charts_accounts @@ -1140,7 +1140,7 @@ msgstr "" #. module: account #: model:account.journal,name:account.sales_journal msgid "Journal de vente" -msgstr "" +msgstr "Prodej věstníku" #. module: account #: help:account.model.line,amount_currency:0 @@ -1151,23 +1151,23 @@ msgstr "" #: view:account.fiscal.position.template:0 #: field:account.fiscal.position.template,name:0 msgid "Fiscal Position Template" -msgstr "" +msgstr "Fiskální pozice šablony" #. module: account #: field:account.payment.term,line_ids:0 msgid "Terms" -msgstr "" +msgstr "Podmínky" #. module: account #: rml:account.vat.declaration:0 msgid "Tax Report" -msgstr "" +msgstr "Daňové Report" #. module: account #: wizard_button:account.analytic.account.chart,init,open:0 #: wizard_button:account.chart,init,open:0 msgid "Open Charts" -msgstr "" +msgstr "Zobrazit Grafy" #. module: account #: wizard_view:account.fiscalyear.close.state,init:0 @@ -1177,7 +1177,7 @@ msgstr "" #. module: account #: selection:account.move,type:0 msgid "Bank Receipt" -msgstr "" +msgstr "Bankovní Příjem" #. module: account #: view:res.partner:0 @@ -1187,17 +1187,17 @@ msgstr "Bankovní účet" #. module: account #: field:account.chart.template,tax_template_ids:0 msgid "Tax Template List" -msgstr "" +msgstr "Daňové seznamu šablon" #. module: account #: model:process.transition,name:account.process_transition_invoiceimport0 msgid "Invoice import" -msgstr "" +msgstr "Faktura import" #. module: account #: model:ir.actions.wizard,name:account.action_move_journal_line_form_select msgid "Standard entry" -msgstr "" +msgstr "Standardní vstupní" #. module: account #: help:account.account,currency_mode:0 @@ -1212,7 +1212,7 @@ msgstr "" #. module: account #: field:account.account,company_currency_id:0 msgid "Company Currency" -msgstr "" +msgstr "Společnost měny" #. module: account #: model:ir.model,name:account.model_account_fiscal_position_account_template @@ -1222,7 +1222,7 @@ msgstr "" #. module: account #: field:account.analytic.account,parent_id:0 msgid "Parent Analytic Account" -msgstr "" +msgstr "Parent Analytická účtu" #. module: account #: wizard_button:account.move.line.reconcile,init_partial,addendum:0 @@ -1242,22 +1242,22 @@ msgstr "" #. module: account #: field:account.bank.statement,balance_end_real:0 msgid "Ending Balance" -msgstr "" +msgstr "Konečný zůstatek" #. module: account #: view:product.product:0 msgid "Purchase Taxes" -msgstr "" +msgstr "Nákup Daně" #. module: account #: field:account.payment.term.line,name:0 msgid "Line Name" -msgstr "" +msgstr "Název řádku" #. module: account #: selection:account.payment.term.line,value:0 msgid "Fixed Amount" -msgstr "" +msgstr "Pevná částka" #. module: account #: rml:account.analytic.account.analytic.check:0 @@ -1285,24 +1285,24 @@ msgstr "" #. module: account #: view:account.config.wizard:0 msgid "Continue" -msgstr "" +msgstr "Pokračovat" #. module: account #: field:account.payment.term.line,value:0 msgid "Value" -msgstr "" +msgstr "Hodnota" #. module: account #: wizard_field:account.invoice.pay,addendum,writeoff_acc_id:0 #: wizard_field:account.move.line.reconcile,addendum,writeoff_acc_id:0 msgid "Write-Off account" -msgstr "" +msgstr "Odpis účet" #. module: account #: field:account.model.line,model_id:0 #: field:account.subscription,model_id:0 msgid "Model" -msgstr "" +msgstr "Vzor" #. module: account #: model:ir.actions.wizard,name:account.wizard_fiscalyear_close_state @@ -1313,12 +1313,12 @@ msgstr "" #. module: account #: field:account.journal,centralisation:0 msgid "Centralised counterpart" -msgstr "" +msgstr "Centralizované protějšek" #. module: account #: view:wizard.company.setup:0 msgid "Message" -msgstr "" +msgstr "Zpráva" #. module: account #: model:process.node,note:account.process_node_supplierpaymentorder0 @@ -1332,7 +1332,7 @@ msgstr "" #: selection:account.analytic.account,type:0 #: field:account.journal,view_id:0 msgid "View" -msgstr "" +msgstr "Pohled" #. module: account #: selection:account.account.balance.report,checktype,display_account:0 @@ -1340,13 +1340,13 @@ msgstr "" #: selection:account.tax,type_tax_use:0 #: selection:account.tax.template,type_tax_use:0 msgid "All" -msgstr "" +msgstr "Vše" #. module: account #: field:account.move.line,analytic_lines:0 #: model:ir.model,name:account.model_account_analytic_line msgid "Analytic lines" -msgstr "" +msgstr "Analytická linky" #. module: account #: help:account.tax,type:0 @@ -1370,28 +1370,28 @@ msgstr "" #. module: account #: model:process.node,name:account.process_node_electronicfile0 msgid "Electronic File" -msgstr "" +msgstr "Elektronický soubor" #. module: account #: view:res.partner:0 msgid "Customer Credit" -msgstr "" +msgstr "Odběratelský úvěr" #. module: account #: field:account.invoice,tax_line:0 msgid "Tax Lines" -msgstr "" +msgstr "Daňové Linky" #. module: account #: field:ir.sequence,fiscal_ids:0 msgid "Sequences" -msgstr "" +msgstr "Posloupnosti" #. module: account #: model:ir.actions.act_window,name:account.action_account_type_form #: model:ir.ui.menu,name:account.menu_action_account_type_form msgid "Account Types" -msgstr "" +msgstr "Typy účtů" #. module: account #: wizard_field:account.automatic.reconcile,init,journal_id:0 @@ -1413,18 +1413,18 @@ msgstr "" #: wizard_field:populate_statement_from_inv,init,journal_id:0 #: field:report.hr.timesheet.invoice.journal,journal_id:0 msgid "Journal" -msgstr "" +msgstr "Časopis" #. module: account #: field:account.account,child_id:0 #: field:account.analytic.account,child_ids:0 msgid "Child Accounts" -msgstr "" +msgstr "Dětská konta" #. module: account #: field:account.account,check_history:0 msgid "Display History" -msgstr "" +msgstr "Zobrazení historie" #. module: account #: wizard_field:account.third_party_ledger.report,init,date1:0 @@ -1454,7 +1454,7 @@ msgstr "" #: wizard_view:account.move.line.reconcile,init_full:0 #: wizard_view:account.move.line.reconcile,init_partial:0 msgid "Write-Off" -msgstr "" +msgstr "Odpis" #. module: account #: help:account.invoice,partner_bank:0 @@ -1466,12 +1466,12 @@ msgstr "" #. module: account #: field:res.partner,debit:0 msgid "Total Payable" -msgstr "" +msgstr "Celkem za poplatek" #. module: account #: wizard_button:account.fiscalyear.close.state,init,close:0 msgid "Close states" -msgstr "" +msgstr "Zavřít státy" #. module: account #: model:ir.model,name:account.model_wizard_company_setup @@ -1486,22 +1486,22 @@ msgstr "" #. module: account #: field:account.journal,refund_journal:0 msgid "Refund Journal" -msgstr "" +msgstr "Refundace věstníku" #. module: account #: model:account.account.type,name:account.account_type_income msgid "Income" -msgstr "" +msgstr "Příjem" #. module: account #: selection:account.bank.statement.line,type:0 msgid "Supplier" -msgstr "" +msgstr "Dodavatel" #. module: account #: rml:account.invoice:0 msgid "Tel. :" -msgstr "" +msgstr "Telefonní číslo:" #. module: account #: field:account.invoice.tax,tax_amount:0 diff --git a/addons/account/i18n/es.po b/addons/account/i18n/es.po index 197a6988060..f06d1d557c4 100644 --- a/addons/account/i18n/es.po +++ b/addons/account/i18n/es.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.0\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2010-02-08 18:04+0000\n" -"Last-Translator: Hilario J. Montoliu (hjmf) \n" +"PO-Revision-Date: 2010-04-11 21:46+0000\n" +"Last-Translator: Juan Eduardo Riva \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: 2010-03-30 04:03+0000\n" +"X-Launchpad-Export-Date: 2010-04-12 03:53+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account @@ -4531,7 +4531,7 @@ msgstr "¿Está seguro que desea abrir esta factura?" #. module: account #: model:ir.actions.report.xml,name:account.account_3rdparty_ledger_other msgid "Partner Other Ledger" -msgstr "" +msgstr "Asociar Otro Libro Mayor" #. module: account #: view:res.partner:0 diff --git a/addons/account/i18n/pl.po b/addons/account/i18n/pl.po index b6de147aaae..a172b900b51 100644 --- a/addons/account/i18n/pl.po +++ b/addons/account/i18n/pl.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.0\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2010-02-20 16:07+0000\n" +"PO-Revision-Date: 2010-04-11 12:31+0000\n" "Last-Translator: Grzegorz Grzelak (Cirrus.pl) \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: 2010-03-30 04:03+0000\n" +"X-Launchpad-Export-Date: 2010-04-12 03:53+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account @@ -187,7 +187,7 @@ msgstr "Plan kont" #. module: account #: model:ir.actions.wizard,name:account.wizard_move_line_select msgid "Move line select" -msgstr "" +msgstr "Wybór pozycji zapisów" #. module: account #: rml:account.journal.period.print:0 @@ -217,7 +217,7 @@ msgstr "Oblicz kod (jeśli typ = kod)" #: view:account.move:0 #: view:account.move.line:0 msgid "Account Entry Line" -msgstr "Pozycja zapisu na koncie" +msgstr "Pozycje zapisów" #. module: account #: wizard_view:account.aged.trial.balance,init:0 @@ -533,7 +533,7 @@ msgstr "Uzgodnij zapłacone" #. module: account #: wizard_field:account.chart,init,target_move:0 msgid "Target Moves" -msgstr "" +msgstr "Zapisy docelowe" #. module: account #: model:ir.actions.act_window,name:account.action_account_tax_template_form @@ -776,7 +776,7 @@ msgstr "Płatność częściowa" #. module: account #: wizard_view:account_use_models,create:0 msgid "Move Lines Created." -msgstr "Utworzono pozycje zmian." +msgstr "Utworzono pozycje zapisów." #. module: account #: field:account.fiscalyear,state:0 @@ -823,7 +823,7 @@ msgstr "(Pozostaw puste dla wszystkich otwartych lat podatkowych)" #. module: account #: field:account.invoice,move_lines:0 msgid "Move Lines" -msgstr "Pozycje zmian" +msgstr "Pozycje zapisów" #. module: account #: model:ir.model,name:account.model_account_config_wizard @@ -1562,7 +1562,7 @@ msgstr "Szablony planu kont" #. module: account #: field:account.invoice,move_id:0 msgid "Invoice Movement" -msgstr "" +msgstr "Zapisy faktury" #. module: account #: model:ir.actions.act_window,name:account.action_wizard_multi_chart @@ -1808,7 +1808,7 @@ msgstr "Procentowo" #. module: account #: model:ir.ui.menu,name:account.menu_finance_charts msgid "Charts" -msgstr "Wykresy" +msgstr "Plany kont" #. module: account #: selection:account.analytic.journal,type:0 @@ -2051,9 +2051,9 @@ msgid "" "'draft' state and instead goes directly to the 'posted state' without any " "manual validation." msgstr "" -"Zaznacz to pole, jeśli nie chcesz aby nowe zmiany stanu konta przechodziły " -"przez stan 'projekt' i zamiast tego od razu wchodziły w stan 'zaksięgowane' " -"bez żadnego ręcznego zatwierdzania." +"Zaznacz to pole, jeśli nie chcesz aby nowe zapisy konta przechodziły przez " +"stan 'projekt' i zamiast tego od razu wchodziły w stan 'zaksięgowane' bez " +"żadnego ręcznego zatwierdzania." #. module: account #: field:account.bank.statement.line,partner_id:0 @@ -2114,7 +2114,7 @@ msgstr "" #: model:ir.actions.wizard,name:account.wizard_validate_account_moves_line #: model:ir.ui.menu,name:account.menu_validate_account_moves msgid "Validate Account Moves" -msgstr "Zatwierdź zmiany konta" +msgstr "Zatwierdź zapisy konta" #. module: account #: selection:account.subscription,period_type:0 @@ -2415,7 +2415,7 @@ msgstr "Konto podatkowe" #. module: account #: field:account.analytic.line,move_id:0 msgid "Move Line" -msgstr "Przesuń pozycję" +msgstr "Pozycja zapisu" #. module: account #: field:account.bank.accounts.wizard,acc_no:0 @@ -2868,7 +2868,7 @@ msgstr "ID partnera" #: wizard_view:account.invoice.pay,addendum:0 #: wizard_view:account.move.line.reconcile,addendum:0 msgid "Write-Off Move" -msgstr "Zmiana odpisu" +msgstr "Zapis odpisu" #. module: account #: view:account.move.line:0 @@ -3072,7 +3072,7 @@ msgstr "Dokument" #. module: account #: help:account.move.line,move_id:0 msgid "The move of this entry line." -msgstr "Zmiana tej pozycji zapisu" +msgstr "Zapis dla tej pozycji." #. module: account #: field:account.invoice.line,uos_id:0 @@ -3240,8 +3240,7 @@ msgstr "Uwagi" msgid "" "The account moves of the invoice have been reconciled with account moves of " "the payment(s)." -msgstr "" -"Zmiany konta dla faktury zostały uzgodnione ze zmianami konta płatności." +msgstr "Zapisy konta dla faktury zostały uzgodnione ze zapisami płatności." #. module: account #: rml:account.invoice:0 @@ -3357,7 +3356,7 @@ msgstr "Nie drukowane na fakturze" #. module: account #: field:account.move.line,move_id:0 msgid "Move" -msgstr "Zmiana stanu" +msgstr "Zapis" #. module: account #: field:account.fiscal.position.tax,tax_src_id:0 @@ -4080,7 +4079,7 @@ msgstr "Kody podrzędne" #. module: account #: field:account.invoice,move_name:0 msgid "Account Move" -msgstr "Zmiana stanu konta" +msgstr "Zapis konta" #. module: account #: view:account.bank.statement:0 @@ -4650,7 +4649,7 @@ msgstr "Wyciąg" #: model:ir.actions.act_window,name:account.action_move_line_form_encode_by_move #: model:ir.ui.menu,name:account.menu_encode_entries_by_move msgid "Entries Encoding by Move" -msgstr "Wprowadzanie zapisów przez zmianę stanu" +msgstr "Zapisy" #. module: account #: wizard_view:account.analytic.account.chart,init:0 @@ -5042,7 +5041,7 @@ msgstr "Opis podatku" #. module: account #: help:account.invoice,move_id:0 msgid "Link to the automatically generated account moves." -msgstr "Łącznik do automatycznie wygenerowanych zmian stanu konta." +msgstr "Łącznik do automatycznie wygenerowanych zapisów konta." #. module: account #: wizard_field:account.automatic.reconcile,reconcile,reconciled:0 @@ -5111,7 +5110,7 @@ msgstr "Konto dochodu w szablonie produktu" #: help:account.account,currency_id:0 #: help:account.account.template,currency_id:0 msgid "Force all moves for this account to have this secondary currency." -msgstr "Wymuś, aby wszystkie zmiany tego konta miały tę dodatkową walutę." +msgstr "Wymuś, aby wszystkie zapisy tego konta miały tę dodatkową walutę." #. module: account #: wizard_button:populate_statement_from_inv,go,end:0 @@ -5605,7 +5604,7 @@ msgstr "Zamknięte" #. module: account #: field:account.bank.statement.line,move_ids:0 msgid "Moves" -msgstr "Zmiany stanu" +msgstr "Zapisy" #. module: account #: selection:account.invoice,state:0 diff --git a/addons/account/report/account_invoice_report_view.xml b/addons/account/report/account_invoice_report_view.xml index de046de6211..5976a4fb5fc 100644 --- a/addons/account/report/account_invoice_report_view.xml +++ b/addons/account/report/account_invoice_report_view.xml @@ -43,53 +43,59 @@ search - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + + + + + + + + + - + + diff --git a/addons/account/demo/price_accuracy00.yml b/addons/account/test/price_accuracy00.yml similarity index 91% rename from addons/account/demo/price_accuracy00.yml rename to addons/account/test/price_accuracy00.yml index 81023395141..a3cfc154ad9 100644 --- a/addons/account/demo/price_accuracy00.yml +++ b/addons/account/test/price_accuracy00.yml @@ -44,7 +44,6 @@ Then I should see an account entry linked to this invoice. - !assert {model: account.invoice, id: invoice1}: - test: - bool(move_id) - # This is not working, find a way to do that in YAML, *qty is not @@ -53,14 +52,12 @@ equal to *qty x *price x (1 + *tax) - !assert {model: account.invoice, id: invoice1}: - test: - - abs(sum(x.credit for x in move_id.line_id) - 163.97) < 0.000001 + - abs(sum(x.credit for x in move_id.line_id) - 163.97) < 0.000001 - And this account entry must have a credit equals to the debit - !assert {model: account.invoice, id: invoice1}: - test: - - abs(sum(x.credit - x.debit for x in move_id.line_id)) < 0.000001 + - abs(sum(x.credit - x.debit for x in move_id.line_id)) < 0.000001 - Then, I change the precision of numbers to 3 digits. - @@ -80,8 +77,7 @@ Then this account entry must have a credit equals to the debit - !assert {model: account.invoice, id: invoice2}: - test: - - abs(sum(x.credit - x.debit for x in move_id.line_id)) < 0.000001 + - abs(sum(x.credit - x.debit for x in move_id.line_id)) < 0.000001 - And this account entry must have a credit equals to 163.968€ which is equal to *qty x *price x (1 + *tax) diff --git a/addons/account/test/test_parent_structure.py b/addons/account/test/test_parent_structure.py deleted file mode 100644 index ba27d91c87c..00000000000 --- a/addons/account/test/test_parent_structure.py +++ /dev/null @@ -1,54 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2010 Tiny SPRL (). -# -# 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 . -# -############################################################################## - -# -# TODO: move this in a YAML test with !python tag -# - -import xmlrpclib - -DB = 'training3' -USERID = 1 -USERPASS = 'admin' - - -sock = xmlrpclib.ServerProxy('http://%s:%s/xmlrpc/object' % ('localhost',8069)) - -ids = sock.execute(DB, USERID, USERPASS, 'account.account', 'search', [], {}) -account_lists = sock.execute(DB, USERID, USERPASS, 'account.account', 'read', ids, ['parent_id','parent_left','parent_right']) - -accounts = dict(map(lambda x: (x['id'],x), account_lists)) -for a in account_lists: - if a['parent_id']: - assert a['parent_left'] > accounts[a['parent_id'][0]]['parent_left'] - assert a['parent_right'] < accounts[a['parent_id'][0]]['parent_right'] - assert a['parent_left'] < a['parent_right'] - for a2 in account_lists: - assert not ((a2['parent_right']>a['parent_left']) and - (a2['parent_left']a['parent_left']) and (a2['parent_right'] parent_right of all childs + . if an account is a child it is included in parent_left-parent_right + . if an account is not a child it is not included in parent_left-parent_right - !python {model: account.account}: | ids = self.search(cr, uid, []) diff --git a/addons/account_analytic_analysis/i18n/zh_CN.po b/addons/account_analytic_analysis/i18n/zh_CN.po index f40bcc9fadc..8e21ed1b5b3 100644 --- a/addons/account_analytic_analysis/i18n/zh_CN.po +++ b/addons/account_analytic_analysis/i18n/zh_CN.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.6\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2010-03-19 10:22+0000\n" -"Last-Translator: Black Jack \n" +"PO-Revision-Date: 2010-04-10 04:39+0000\n" +"Last-Translator: digitalsatori \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: 2010-03-30 04:07+0000\n" +"X-Launchpad-Export-Date: 2010-04-11 04:14+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account_analytic_analysis @@ -52,12 +52,12 @@ msgstr "所有辅助核算项目" #: model:ir.actions.act_window,name:account_analytic_analysis.action_account_analytic_managed_open #: model:ir.ui.menu,name:account_analytic_analysis.menu_analytic_account_to_valid_open msgid "My Current Accounts" -msgstr "我当前的项目" +msgstr "我的当前科目" #. module: account_analytic_analysis #: constraint:ir.ui.view:0 msgid "Invalid XML for View Architecture!" -msgstr "无效XML视图结构!" +msgstr "描述视图结构的XML文件无效" #. module: account_analytic_analysis #: help:account.analytic.account,last_invoice_date:0 @@ -72,12 +72,12 @@ msgstr "理论收入" #. module: account_analytic_analysis #: constraint:ir.actions.act_window:0 msgid "Invalid model name in the action definition." -msgstr "在这动作定义中有无效的模块名" +msgstr "在动作定义中输入的对象名称错误" #. module: account_analytic_analysis #: help:account.analytic.account,theorical_margin:0 msgid "Computed using the formula: Theorial Revenue - Total Costs" -msgstr "计算公式为:收入 - 总成本" +msgstr "计算公式:理论收入 - 总费用" #. module: account_analytic_analysis #: constraint:ir.model:0 @@ -89,7 +89,7 @@ msgstr "对象名必须要以X_开头并且不能含有特殊字符!" #: model:ir.actions.act_window,name:account_analytic_analysis.action_account_analytic_new #: model:ir.ui.menu,name:account_analytic_analysis.menu_action_account_analytic_new msgid "New Analytic Account" -msgstr "新的辅助核算项目" +msgstr "新的分析科目" #. module: account_analytic_analysis #: field:account.analytic.account,theorical_margin:0 @@ -105,7 +105,7 @@ msgstr "实际利润(%)" #: model:ir.actions.act_window,name:account_analytic_analysis.action_account_analytic_all_open #: model:ir.ui.menu,name:account_analytic_analysis.menu_action_account_analytic_all_open msgid "Current Analytic Accounts" -msgstr "当前辅助核算项目" +msgstr "当前分析科目" #. module: account_analytic_analysis #: help:account.analytic.account,last_worked_date:0 diff --git a/addons/account_analytic_plans/i18n/es.po b/addons/account_analytic_plans/i18n/es.po index 3d23107d0a8..e7291033c21 100644 --- a/addons/account_analytic_plans/i18n/es.po +++ b/addons/account_analytic_plans/i18n/es.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.0\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-12-24 07:14+0000\n" -"Last-Translator: Paco Molinero \n" +"PO-Revision-Date: 2010-04-11 21:48+0000\n" +"Last-Translator: Juan Eduardo Riva \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: 2010-03-30 04:07+0000\n" +"X-Launchpad-Export-Date: 2010-04-12 03:53+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account_analytic_plans @@ -303,7 +303,7 @@ msgstr "Líneas de plan analítico" #. module: account_analytic_plans #: rml:account.analytic.account.crossovered.analytic:0 msgid "Crossovered Analytic -" -msgstr "" +msgstr "Analítico Entrecruzado -" #. module: account_analytic_plans #: field:account.analytic.plan.instance,plan_id:0 diff --git a/addons/account_payment/i18n/cs.po b/addons/account_payment/i18n/cs.po index efe3a9ada7d..307e7372453 100644 --- a/addons/account_payment/i18n/cs.po +++ b/addons/account_payment/i18n/cs.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.4\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-02-03 06:24+0000\n" -"Last-Translator: <>\n" +"PO-Revision-Date: 2010-04-07 22:24+0000\n" +"Last-Translator: mitev.dmitry \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: 2010-03-30 04:07+0000\n" +"X-Launchpad-Export-Date: 2010-04-08 07:18+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account_payment @@ -46,7 +46,7 @@ msgstr "" #: field:payment.line,info_owner:0 #: view:payment.order:0 msgid "Owner Account" -msgstr "" +msgstr "Majitel účtu" #. module: account_payment #: help:account.invoice,amount_to_pay:0 @@ -65,17 +65,17 @@ msgstr "" #. module: account_payment #: field:payment.order,date_prefered:0 msgid "Preferred date" -msgstr "" +msgstr "Preferované datum" #. module: account_payment #: selection:payment.line,state:0 msgid "Free" -msgstr "" +msgstr "Volný" #. module: account_payment #: wizard_field:populate_payment,search,entries:0 msgid "Entries" -msgstr "" +msgstr "Příspěvky" #. module: account_payment #: wizard_field:populate_payment,init,duedate:0 @@ -96,7 +96,7 @@ msgstr "" #: rml:payment.order:0 #: view:payment.order:0 msgid "Amount" -msgstr "" +msgstr "Částka" #. module: account_payment #: rml:payment.order:0 @@ -111,7 +111,7 @@ msgstr "" #. module: account_payment #: selection:payment.order,state:0 msgid "Cancelled" -msgstr "" +msgstr "Zrušeno" #. module: account_payment #: model:ir.actions.act_window,name:account_payment.action_payment_order_tree_new @@ -123,7 +123,7 @@ msgstr "" #: rml:payment.order:0 #: field:payment.order,reference:0 msgid "Reference" -msgstr "" +msgstr "Odkaz" #. module: account_payment #: model:ir.actions.act_window,name:account_payment.action_payment_order_tree @@ -134,7 +134,7 @@ msgstr "" #. module: account_payment #: selection:payment.order,date_prefered:0 msgid "Directly" -msgstr "" +msgstr "Přímo" #. module: account_payment #: model:ir.actions.act_window,name:account_payment.action_payment_line_form @@ -157,7 +157,7 @@ msgstr "" #. module: account_payment #: selection:payment.order,state:0 msgid "Confirmed" -msgstr "" +msgstr "Potvrzeno" #. module: account_payment #: help:payment.line,ml_date_created:0 @@ -177,12 +177,12 @@ msgstr "" #. module: account_payment #: selection:payment.line,state:0 msgid "Structured" -msgstr "" +msgstr "Strukturované" #. module: account_payment #: field:payment.order,state:0 msgid "State" -msgstr "" +msgstr "Stav" #. module: account_payment #: view:payment.line:0 @@ -223,17 +223,17 @@ msgstr "" #. module: account_payment #: field:payment.order,date_done:0 msgid "Execution date" -msgstr "" +msgstr "Datum představení" #. module: account_payment #: selection:payment.order,date_prefered:0 msgid "Fixed date" -msgstr "" +msgstr "Pevné datum" #. module: account_payment #: field:payment.line,info_partner:0 msgid "Destination Account" -msgstr "" +msgstr "Protiúčet" #. module: account_payment #: view:payment.line:0 @@ -251,12 +251,12 @@ msgstr "" #: wizard_button:populate_payment,search,end:0 #: wizard_button:populate_statement,init,end:0 msgid "_Cancel" -msgstr "" +msgstr "Zrušit" #. module: account_payment #: field:payment.line,create_date:0 msgid "Created" -msgstr "" +msgstr "Vytvořeno" #. module: account_payment #: view:payment.line:0 @@ -281,12 +281,12 @@ msgstr "" #. module: account_payment #: field:payment.line,communication:0 msgid "Communication" -msgstr "" +msgstr "Komunikace" #. module: account_payment #: selection:payment.order,date_prefered:0 msgid "Due date" -msgstr "" +msgstr "Termín dokončení" #. module: account_payment #: field:account.invoice,amount_to_pay:0 @@ -307,7 +307,7 @@ msgstr "" #: view:payment.type:0 #: help:payment.type,name:0 msgid "Payment Type" -msgstr "" +msgstr "Typ platby" #. module: account_payment #: help:payment.line,amount_currency:0 diff --git a/addons/account_tax_include/i18n/de.po b/addons/account_tax_include/i18n/de.po index b460151e6d5..ce8514c3b82 100644 --- a/addons/account_tax_include/i18n/de.po +++ b/addons/account_tax_include/i18n/de.po @@ -7,13 +7,13 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.0\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-11-17 09:23+0000\n" -"Last-Translator: Ferdinand-chricar \n" +"PO-Revision-Date: 2010-04-09 13:20+0000\n" +"Last-Translator: Ferdinand @ ChriCar \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: 2010-03-30 04:01+0000\n" +"X-Launchpad-Export-Date: 2010-04-10 03:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: account_tax_include @@ -49,4 +49,4 @@ msgstr "Berechnungsgrundlage (inkl. Steuer)" #. module: account_tax_include #: field:account.invoice.line,price_subtotal_incl:0 msgid "Subtotal" -msgstr "Zwischenbetrag" +msgstr "Zwischensumme" diff --git a/addons/analytic/project.py b/addons/analytic/project.py index e9558f7a101..0c3c46690ac 100644 --- a/addons/analytic/project.py +++ b/addons/analytic/project.py @@ -204,7 +204,7 @@ class account_analytic_account(osv.osv): 'date': fields.date('Date End'), 'company_id': fields.many2one('res.company', 'Company', required=True), 'company_currency_id': fields.function(_get_company_currency, method=True, type='many2one', relation='res.currency', string='Currency'), - 'state': fields.selection([('draft','Draft'),('open','Open'), ('pending','Pending'),('cancelled', 'Cancelled'),('close','Close'),('template', 'Template')], 'State', required=True,readonly=True, + 'state': fields.selection([('draft','Draft'),('open','Open'), ('pending','Pending'),('cancelled', 'Cancelled'),('close','Closed'),('template', 'Template')], 'State', required=True,readonly=True, help='* When an account is created its in \'Draft\' state.\ \n* If any associated partner is there, it can be in \'Open\' state.\ \n* If any pending balance is there it can be in \'Pending\'. \ diff --git a/addons/audittrail/i18n/it.po b/addons/audittrail/i18n/it.po index ef0956d2e0a..7300efc8c8d 100644 --- a/addons/audittrail/i18n/it.po +++ b/addons/audittrail/i18n/it.po @@ -7,19 +7,19 @@ msgstr "" "Project-Id-Version: OpenERP Server 5.0.4\n" "Report-Msgid-Bugs-To: support@openerp.com\n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-02-03 12:33+0000\n" -"Last-Translator: Fabien (Open ERP) \n" +"PO-Revision-Date: 2010-04-07 08:27+0000\n" +"Last-Translator: iTuxer \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: 2010-03-30 04:13+0000\n" +"X-Launchpad-Export-Date: 2010-04-08 07:18+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: audittrail #: model:ir.module.module,shortdesc:audittrail.module_meta_information msgid "Audit Trail" -msgstr "" +msgstr "Audit Trail" #. module: audittrail #: constraint:ir.model:0 @@ -32,22 +32,22 @@ msgstr "" #. module: audittrail #: field:audittrail.log.line,log_id:0 msgid "Log" -msgstr "" +msgstr "Log" #. module: audittrail #: selection:audittrail.rule,state:0 msgid "Subscribed" -msgstr "" +msgstr "Iscritto" #. module: audittrail #: view:audittrail.log:0 msgid "Old Value : " -msgstr "" +msgstr "Valore precendente : " #. module: audittrail #: selection:audittrail.log,method:0 msgid "Create" -msgstr "" +msgstr "Crea" #. module: audittrail #: wizard_view:audittrail.view.log,init:0 @@ -67,7 +67,7 @@ msgstr "" #. module: audittrail #: field:audittrail.log.line,old_value:0 msgid "Old Value" -msgstr "" +msgstr "Valore precedente" #. module: audittrail #: constraint:ir.actions.act_window:0 diff --git a/addons/base_calendar/base_calendar.py b/addons/base_calendar/base_calendar.py index c60b75a9815..41ad3779df7 100644 --- a/addons/base_calendar/base_calendar.py +++ b/addons/base_calendar/base_calendar.py @@ -31,9 +31,10 @@ import time import tools months = { - 1: "January", 2: "February", 3: "March", 4: "April", \ - 5: "May", 6: "June", 7: "July", 8: "August", 9: "September", \ - 10: "October", 11: "November", 12: "December"} + 1: "January", 2: "February", 3: "March", 4: "April", \ + 5: "May", 6: "June", 7: "July", 8: "August", 9: "September", \ + 10: "October", 11: "November", 12: "December" +} def get_recurrent_dates(rrulestring, exdate, startdate=None): """ @@ -94,7 +95,6 @@ def real_id2base_calendar_id(real_id, recurrent_date): return '%d-%s' % (real_id, recurrent_date) return real_id - def _links_get(self, cr, uid, context={}): """ Get request link. @@ -386,9 +386,11 @@ property or property parameter."), response_re = re.compile("Are you coming\?.*\n*.*(YES|NO|MAYBE).*", re.UNICODE) def msg_new(self, cr, uid, msg): - """ @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, """ + """ + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + """ return False def msg_act_get(self, msg): @@ -445,27 +447,27 @@ property or property parameter."), for att2 in self.browse(cr, uid, other_invitaion_ids): att_infos.append(((att2.user_id and att2.user_id.name) or \ (att2.partner_id and att2.partner_id.name) or \ - att2.email) + ' - Status: ' + att2.state.title()) - body_vals = {'name': res_obj.name, - 'start_date': res_obj.date, - 'end_date': res_obj.date_deadline or False, - 'description': res_obj.description or '-', - 'location': res_obj.location or '-', - 'attendees': '
'.join(att_infos), - 'user': res_obj.user_id and res_obj.user_id.name or 'OpenERP User', - 'sign': sign, - 'company': company + att2.email) + ' - Status: ' + att2.state.title()) + body_vals = {'name': res_obj.name, + 'start_date': res_obj.date, + 'end_date': res_obj.date_deadline or False, + 'description': res_obj.description or '-', + 'location': res_obj.location or '-', + 'attendees': '
'.join(att_infos), + 'user': res_obj.user_id and res_obj.user_id.name or 'OpenERP User', + 'sign': sign, + 'company': company } body = html_invitation % body_vals if mail_to and email_from: tools.email_send( - email_from, - mail_to, - sub, - body, - subtype='html', - reply_to=email_from - ) + email_from, + mail_to, + sub, + body, + subtype='html', + reply_to=email_from + ) return True def onchange_user_id(self, cr, uid, ids, user_id, *args, **argv): """ @@ -508,7 +510,6 @@ property or property parameter."), for vals in self.browse(cr, uid, ids, context=context): user = vals.user_id if user: - mod_obj = self.pool.get(vals.ref._name) if vals.ref: if vals.ref.user_id.id != user.id: @@ -567,9 +568,7 @@ class res_alarm(osv.osv): are both optional, but if one occurs, so MUST the other"""), 'repeat': fields.integer('Repeat'), 'active': fields.boolean('Active', help="If the active field is set to \ - true, it will allow you to hide the event alarm information without removing it."), - - + true, it will allow you to hide the event alarm information without removing it.") } _defaults = { 'trigger_interval': lambda *x: 'minutes', @@ -595,10 +594,10 @@ are both optional, but if one occurs, so MUST the other"""), model_id = ir_obj.search(cr, uid, [('model', '=', model)])[0] model_obj = self.pool.get(model) - for data in model_obj.browse(cr, uid, ids): + for data in model_obj.browse(cr, uid, ids, context): basic_alarm = data.alarm_id - if not context.get('alarm_id'): + if not context.get('alarm_id', False): self.do_alarm_unlink(cr, uid, [data.id], model) return True self.do_alarm_unlink(cr, uid, [data.id], model) @@ -641,7 +640,7 @@ are both optional, but if one occurs, so MUST the other"""), ir_obj = self.pool.get('ir.model') model_id = ir_obj.search(cr, uid, [('model', '=', model)])[0] model_obj = self.pool.get(model) - for datas in model_obj.browse(cr, uid, ids): + for datas in model_obj.browse(cr, uid, ids, context): alarm_ids = alarm_obj.search(cr, uid, [('model_id', '=', model_id), ('res_id', '=', datas.id)]) if alarm_ids: alarm_obj.unlink(cr, uid, alarm_ids) @@ -659,35 +658,35 @@ class calendar_alarm(osv.osv): __attribute__ = {} _columns = { - 'alarm_id': fields.many2one('res.alarm', 'Basic Alarm', ondelete='cascade'), - 'name': fields.char('Summary', size=124, help="""Contains the text to be \ - used as the message subject for email \ - or contains the text to be used for display"""), - 'action': fields.selection([('audio', 'Audio'), ('display', 'Display'), \ - ('procedure', 'Procedure'), ('email', 'Email') ], 'Action', \ - required=True, help="Defines the action to be invoked when an alarm is triggered"), - 'description': fields.text('Description', help='Provides a more complete \ - description of the calendar component, than that \ - provided by the "SUMMARY" property'), - 'attendee_ids': fields.many2many('calendar.attendee', 'alarm_attendee_rel', \ - 'alarm_id', 'attendee_id', 'Attendees', readonly=True), - 'attach': fields.binary('Attachment', help="""* Points to a sound resource,\ - which is rendered when the alarm is triggered for audio, - * File which is intended to be sent as message attachments for email, - * Points to a procedure resource, which is invoked when\ - the alarm is triggered for procedure."""), - 'res_id': fields.integer('Resource ID'), - 'model_id': fields.many2one('ir.model', 'Model'), - 'user_id': fields.many2one('res.users', 'Owner'), - 'event_date': fields.datetime('Event Date'), - 'event_end_date': fields.datetime('Event End Date'), - 'trigger_date': fields.datetime('Trigger Date', readonly="True"), - 'state':fields.selection([ - ('draft', 'Draft'), - ('run', 'Run'), - ('stop', 'Stop'), - ('done', 'Done'), - ], 'State', select=True, readonly=True), + 'alarm_id': fields.many2one('res.alarm', 'Basic Alarm', ondelete='cascade'), + 'name': fields.char('Summary', size=124, help="""Contains the text to be \ + used as the message subject for email \ + or contains the text to be used for display"""), + 'action': fields.selection([('audio', 'Audio'), ('display', 'Display'), \ + ('procedure', 'Procedure'), ('email', 'Email') ], 'Action', \ + required=True, help="Defines the action to be invoked when an alarm is triggered"), + 'description': fields.text('Description', help='Provides a more complete \ + description of the calendar component, than that \ + provided by the "SUMMARY" property'), + 'attendee_ids': fields.many2many('calendar.attendee', 'alarm_attendee_rel', \ + 'alarm_id', 'attendee_id', 'Attendees', readonly=True), + 'attach': fields.binary('Attachment', help="""* Points to a sound resource,\ + which is rendered when the alarm is triggered for audio, + * File which is intended to be sent as message attachments for email, + * Points to a procedure resource, which is invoked when\ + the alarm is triggered for procedure."""), + 'res_id': fields.integer('Resource ID'), + 'model_id': fields.many2one('ir.model', 'Model'), + 'user_id': fields.many2one('res.users', 'Owner'), + 'event_date': fields.datetime('Event Date'), + 'event_end_date': fields.datetime('Event End Date'), + 'trigger_date': fields.datetime('Trigger Date', readonly="True"), + 'state':fields.selection([ + ('draft', 'Draft'), + ('run', 'Run'), + ('stop', 'Stop'), + ('done', 'Done'), + ], 'State', select=True, readonly=True), } _defaults = { @@ -722,15 +721,14 @@ class calendar_alarm(osv.osv): def do_run_scheduler(self, cr, uid, automatic=False, use_new_cursor=False, \ context=None): """ - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param ids: List of calendar alarm’s IDs. - @param use_new_cursor: False or the dbname - @param context: A standard dictionary for contextual values + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param ids: List of calendar alarm’s IDs. + @param use_new_cursor: False or the dbname + @param context: A standard dictionary for contextual values """ - if not context: context = {} current_datetime = datetime.now().strftime('%Y-%m-%d %H:%M:%S') @@ -798,7 +796,6 @@ class calendar_event(osv.osv): def _tz_get(self, cr, uid, context={}): return [(x.lower(), x) for x in pytz.all_timezones] - def onchange_dates(self, cr, uid, ids, start_date, duration=False, end_date=False, context={}): """ @param self: The object pointer @@ -904,10 +901,10 @@ class calendar_event(osv.osv): whr = " where id=%(id)s" qry = qry + whr val.update({ - 'table': self._table, - 'rule_type': rrule_type, - 'id': id, - }) + 'table': self._table, + 'rule_type': rrule_type, + 'id': id, + }) cr.execute(qry % val) return True @@ -921,9 +918,7 @@ class calendar_event(osv.osv): @return: dictionary of rrule value. """ result = {} - for event in ids: - - datas = self.read(cr, uid, event) + for datas in self.read(cr, uid, ids): if datas.get('rrule_type'): if datas.get('rrule_type') == 'none': result[event] = False @@ -947,12 +942,11 @@ class calendar_event(osv.osv): 'duration': fields.float('Duration'), 'description': fields.text('Your action'), 'class': fields.selection([('public', 'Public'), ('private', 'Private'), \ - ('confidential', 'Confidential')], 'Mark as'), - 'location': fields.char('Location', size=264, help="Location of Event"), + ('confidential', 'Confidential')], 'Mark as'), + 'location': fields.char('Location', size=264, help="Location of Event"), 'show_as': fields.selection([('free', 'Free'), \ - ('busy', 'Busy')], - 'Show as'), - 'base_calendar_url': fields.char('Caldav URL', size=264), + ('busy', 'Busy')], 'Show as'), + 'base_calendar_url': fields.char('Caldav URL', size=264), 'exdate': fields.text('Exception Date/Times', help="This property \ defines the list of date/time exceptions for arecurring calendar component."), 'exrule': fields.char('Exception Rule', size=352, help="defines a \ @@ -964,46 +958,45 @@ class calendar_event(osv.osv): e.g.: Every other month on the last Sunday of the month for 10 occurrences:\ FREQ=MONTHLY;INTERVAL=2;COUNT=10;BYDAY=-1SU'), 'rrule_type': fields.selection([('none', ''), ('daily', 'Daily'), \ - ('weekly', 'Weekly'), ('monthly', 'Monthly'), \ - ('yearly', 'Yearly'), ('custom', 'Custom')], 'Recurrency'), - 'alarm_id': fields.many2one('res.alarm', 'Alarm'), - 'base_calendar_alarm_id': fields.many2one('calendar.alarm', 'Alarm'), - 'recurrent_uid': fields.integer('Recurrent ID'), - 'recurrent_id': fields.datetime('Recurrent ID date'), - 'vtimezone': fields.related('user_id', 'context_tz', type='char', size=24, \ - string='Timezone', store=True), - 'user_id': fields.many2one('res.users', 'Responsible'), + ('weekly', 'Weekly'), ('monthly', 'Monthly'), \ + ('yearly', 'Yearly'), ('custom', 'Custom')], 'Recurrency'), + 'alarm_id': fields.many2one('res.alarm', 'Alarm'), + 'base_calendar_alarm_id': fields.many2one('calendar.alarm', 'Alarm'), + 'recurrent_uid': fields.integer('Recurrent ID'), + 'recurrent_id': fields.datetime('Recurrent ID date'), + 'vtimezone': fields.related('user_id', 'context_tz', type='char', size=24,\ + string='Timezone', store=True), + 'user_id': fields.many2one('res.users', 'Responsible'), 'freq': fields.selection([('None', 'No Repeat'), \ - ('secondly', 'Secondly'), \ - ('minutely', 'Minutely'), \ - ('hourly', 'Hourly'), \ - ('daily', 'Daily'), \ - ('weekly', 'Weekly'), \ - ('monthly', 'Monthly'), \ - ('yearly', 'Yearly')], 'Frequency'), - 'interval': fields.integer('Interval'), - 'count': fields.integer('Count'), - 'mo': fields.boolean('Mon'), - 'tu': fields.boolean('Tue'), - 'we': fields.boolean('Wed'), - 'th': fields.boolean('Thu'), - 'fr': fields.boolean('Fri'), - 'sa': fields.boolean('Sat'), - 'su': fields.boolean('Sun'), + ('secondly', 'Secondly'), \ + ('minutely', 'Minutely'), \ + ('hourly', 'Hourly'), \ + ('daily', 'Daily'), \ + ('weekly', 'Weekly'), \ + ('monthly', 'Monthly'), \ + ('yearly', 'Yearly')], 'Frequency'), + 'interval': fields.integer('Interval'), + 'count': fields.integer('Count'), + 'mo': fields.boolean('Mon'), + 'tu': fields.boolean('Tue'), + 'we': fields.boolean('Wed'), + 'th': fields.boolean('Thu'), + 'fr': fields.boolean('Fri'), + 'sa': fields.boolean('Sat'), + 'su': fields.boolean('Sun'), 'select1': fields.selection([('date', 'Date of month'), \ - ('day', 'Day of month')], 'Option'), - 'day': fields.integer('Date of month'), + ('day', 'Day of month')], 'Option'), + 'day': fields.integer('Date of month'), 'week_list': fields.selection([('MO', 'Monday'), ('TU', 'Tuesday'), \ - ('WE', 'Wednesday'), ('TH', 'Thursday'), \ - ('FR', 'Friday'), ('SA', 'Saturday'), \ - ('SU', 'Sunday')], 'Weekday'), + ('WE', 'Wednesday'), ('TH', 'Thursday'), \ + ('FR', 'Friday'), ('SA', 'Saturday'), \ + ('SU', 'Sunday')], 'Weekday'), 'byday': fields.selection([('1', 'First'), ('2', 'Second'), \ - ('3', 'Third'), ('4', 'Fourth'), \ - ('5', 'Fifth'), ('-1', 'Last')], 'By day'), - 'month_list': fields.selection(months.items(), 'Month'), + ('3', 'Third'), ('4', 'Fourth'), \ + ('5', 'Fifth'), ('-1', 'Last')], 'By day'), + 'month_list': fields.selection(months.items(), 'Month'), 'end_date': fields.date('Repeat Until') } - _defaults = { 'class': lambda *a: 'public', 'show_as': lambda *a: 'busy', @@ -1027,11 +1020,11 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\ event_id = base_calendar_id2real_id(event_id) datas = self.read(cr, uid, event_id, context=context) defaults.update({ - 'recurrent_uid': base_calendar_id2real_id(datas['id']), - 'recurrent_id': defaults.get('date') or real_date, - 'rrule_type': 'none', - 'rrule': '' - }) + 'recurrent_uid': base_calendar_id2real_id(datas['id']), + 'recurrent_id': defaults.get('date') or real_date, + 'rrule_type': 'none', + 'rrule': '' + }) exdate = datas['exdate'] and datas['exdate'].split(',') or [] if real_date and defaults.get('date'): exdate.append(real_date) @@ -1047,7 +1040,7 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\ @param event_ids: List of crm meeting’s IDs. @return: True """ - #start Loop + for event_id in event_ids: event_id = base_calendar_id2real_id(event_id) @@ -1062,7 +1055,7 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\ qry += ", location = '%(location)s'" qry += "WHERE id = %s" % (event_id) cr.execute(qry %(defaults)) - #End Loop + return True def get_recurrent_ids(self, cr, uid, select, base_start_date, base_until_date, limit=100): @@ -1159,7 +1152,7 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\ weekstring = '' monthstring = '' yearstring = '' -# logic for computing rrule string + freq = datas.get('freq') if freq == 'None': return '' @@ -1198,7 +1191,6 @@ e.g.: Every other month on the last Sunday of the month for 10 occurrences:\ rrule_string = 'FREQ=' + freq.upper() + weekstring + interval_srting \ + enddate + monthstring + yearstring -# End logic return rrule_string @@ -1390,13 +1382,14 @@ class calendar_todo(osv.osv): _description = "Calendar Task" def _get_date(self, cr, uid, ids, name, arg, context): - """ Get Date - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param ids: List of calendar todo's IDs. - @param args: list of tuples of form [(‘name_of_the_field’, ‘operator’, value), ...]. - @param context: A standard dictionary for contextual values + """ + Get Date + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param ids: List of calendar todo's IDs. + @param args: list of tuples of form [(‘name_of_the_field’, ‘operator’, value), ...]. + @param context: A standard dictionary for contextual values """ res = {} @@ -1405,14 +1398,15 @@ class calendar_todo(osv.osv): return res def _set_date(self, cr, uid, id, name, value, arg, context): - """ Set Date - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param id: calendar's ID. - @param value: Get Value - @param args: list of tuples of form [(‘name_of_the_field’, ‘operator’, value), ...]. - @param context: A standard dictionary for contextual values + """ + Set Date + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param id: calendar's ID. + @param value: Get Value + @param args: list of tuples of form [(‘name_of_the_field’, ‘operator’, value), ...]. + @param context: A standard dictionary for contextual values """ event = self.browse(cr, uid, id, context=context) @@ -1436,11 +1430,12 @@ class ir_attachment(osv.osv): _inherit = 'ir.attachment' def search_count(self, cr, user, args, context=None): - """ @param self: The object pointer - @param cr: the current row, from the database cursor, - @param user: the current user’s ID for security checks, - @param args: list of tuples of form [(‘name_of_the_field’, ‘operator’, value), ...]. - @param context: A standard dictionary for contextual values + """ + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param user: the current user’s ID for security checks, + @param args: list of tuples of form [(‘name_of_the_field’, ‘operator’, value), ...]. + @param context: A standard dictionary for contextual values """ args1 = [] @@ -1450,14 +1445,14 @@ class ir_attachment(osv.osv): def search(self, cr, uid, args, offset=0, limit=None, order=None, context=None, count=False): - - """ @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param args: list of tuples of form [(‘name_of_the_field’, ‘operator’, value), ...]. - @param offset: The Number of Results to pass, - @param limit: The Number of Results to Return, - @param context: A standard dictionary for contextual values + """ + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param args: list of tuples of form [(‘name_of_the_field’, ‘operator’, value), ...]. + @param offset: The Number of Results to pass, + @param limit: The Number of Results to Return, + @param context: A standard dictionary for contextual values """ new_args = args @@ -1474,12 +1469,13 @@ class ir_values(osv.osv): def set(self, cr, uid, key, key2, name, models, value, replace=True, \ isobject=False, meta=False, preserve_user=False, company=False): - - """ set IR Values - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param model: Get The Model """ + """ + Set IR Values + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param model: Get The Model + """ new_model = [] for data in models: @@ -1492,12 +1488,13 @@ class ir_values(osv.osv): def get(self, cr, uid, key, key2, models, meta=False, context={}, \ res_id_req=False, without_user=True, key2_req=True): - - """ Get IR Values - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param model: Get The Model """ + """ + Get IR Values + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param model: Get The Model + """ new_model = [] for data in models: @@ -1516,14 +1513,14 @@ class ir_model(osv.osv): def read(self, cr, uid, ids, fields=None, context={}, load='_classic_read'): - - """ Read IR Model - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param ids: List of IR Model’s IDs. - @param context: A standard dictionary for contextual values """ - + """ + Read IR Model + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param ids: List of IR Model’s IDs. + @param context: A standard dictionary for contextual values + """ data = super(ir_model, self).read(cr, uid, ids, fields=fields, \ context=context, load=load) @@ -1537,13 +1534,13 @@ ir_model() class virtual_report_spool(web_services.report_spool): def exp_report(self, db, uid, object, ids, datas=None, context=None): - - """ Export Report - @param self: The object pointer - @param db: get the current database, - @param uid: the current user’s ID for security checks, - @param context: A standard dictionary for contextual values """ - + """ + Export Report + @param self: The object pointer + @param db: get the current database, + @param uid: the current user’s ID for security checks, + @param context: A standard dictionary for contextual values + """ if object == 'printscreen.list': return super(virtual_report_spool, self).exp_report(db, uid, \ @@ -1561,13 +1558,14 @@ class res_users(osv.osv): _inherit = 'res.users' def _get_user_avail(self, cr, uid, ids, context=None): - - """ Get USer Availability - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param ids: List of res user’s IDs. - @param context: A standard dictionary for contextual values """ + """ + Get USer Availability + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param ids: List of res user’s IDs. + @param context: A standard dictionary for contextual values + """ current_datetime = datetime.now().strftime('%Y-%m-%d %H:%M:%S') res = {} @@ -1591,13 +1589,14 @@ class res_users(osv.osv): return res def _get_user_avail_fun(self, cr, uid, ids, name, args, context=None): - - """ Get USer Availability Function - @param self: The object pointer - @param cr: the current row, from the database cursor, - @param uid: the current user’s ID for security checks, - @param ids: List of res user’s IDs. - @param context: A standard dictionary for contextual values """ + """ + Get USer Availability Function + @param self: The object pointer + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param ids: List of res user’s IDs. + @param context: A standard dictionary for contextual values + """ return self._get_user_avail(cr, uid, ids, context=context) diff --git a/addons/base_contact/i18n/ko.po b/addons/base_contact/i18n/ko.po index ef55adcec9e..6089514cbc6 100644 --- a/addons/base_contact/i18n/ko.po +++ b/addons/base_contact/i18n/ko.po @@ -14,7 +14,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2010-04-05 03:53+0000\n" +"X-Launchpad-Export-Date: 2010-04-08 07:18+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: base_contact diff --git a/addons/base_module_quality/i18n/it.po b/addons/base_module_quality/i18n/it.po index d501f883291..3dbe761e96b 100644 --- a/addons/base_module_quality/i18n/it.po +++ b/addons/base_module_quality/i18n/it.po @@ -8,19 +8,19 @@ msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2009-08-28 16:01+0000\n" -"PO-Revision-Date: 2009-11-09 16:43+0000\n" -"Last-Translator: Fabien (Open ERP) \n" +"PO-Revision-Date: 2010-04-09 18:42+0000\n" +"Last-Translator: Frankenstein \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: 2010-03-30 04:15+0000\n" +"X-Launchpad-Export-Date: 2010-04-10 03:49+0000\n" "X-Generator: Launchpad (build Unknown)\n" #. module: base_module_quality #: field:module.quality.check,final_score:0 msgid "Final Score (%)" -msgstr "" +msgstr "Punteggio Finale (%)" #. module: base_module_quality #: constraint:ir.model:0 @@ -71,6 +71,8 @@ msgid "" "Some tests are more critical than others, so they have a bigger weight in " "the computation of final rating" msgstr "" +"Alcuni test sono più cruciali di altri, quindi avranno un peso maggiore nel " +"calcolo del punteggio finale" #. module: base_module_quality #: view:module.quality.check:0 diff --git a/addons/base_setup/i18n/fa.po b/addons/base_setup/i18n/fa.po new file mode 100644 index 00000000000..20f97693f3f --- /dev/null +++ b/addons/base_setup/i18n/fa.po @@ -0,0 +1,283 @@ +# Persian translation for openobject-addons +# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2009-08-28 16:01+0000\n" +"PO-Revision-Date: 2010-04-08 14:27+0000\n" +"Last-Translator: Sadegh Ismael Nattaj \n" +"Language-Team: Persian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2010-04-10 03:48+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,city:0 +#: wizard_field:base_setup.base_setup,init,city:0 +#: wizard_field:base_setup.base_setup,update,city:0 +msgid "City" +msgstr "شهر" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,finish:0 +msgid "" +"You can start configuring the system or connect directly to the database " +"using the default setup." +msgstr "" +"شما می‌توانید با بکارگیری از سوارسازی پیش‌فرض آغاز به پیکربندی سامانه کنید و " +"یا یک‌راست به دادگان متصل شوید." + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,zip:0 +#: wizard_field:base_setup.base_setup,init,zip:0 +#: wizard_field:base_setup.base_setup,update,zip:0 +msgid "Zip code" +msgstr "کد پستی" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,init:0 +msgid "Select a Profile" +msgstr "یک پروفایل را برگزینید" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,company:0 +msgid "Report header" +msgstr "سرنویس گزارش" + +#. module: base_setup +#: wizard_button:base_setup.base_setup,finish,config:0 +msgid "Start Configuration" +msgstr "آغاز پیکربندی" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,init:0 +msgid "" +"You'll be able to install more modules later through the Administration menu." +msgstr "" +"شما می‌توانید از طریق منوی راهبری پیمانه‌های بیشتری را در آینده برپاسازی " +"نمایید." + +#. module: base_setup +#: wizard_view:base_setup.base_setup,init:0 +msgid "" +"A profile sets a pre-selection of modules for specific needs. These profiles " +"have been setup to help you discover the different aspects of OpenERP. This " +"is just an overview, we have 300+ available modules." +msgstr "" +"یک پروفایل دارای پیمانه‌های از پیش گزینش شده برای نیازهای خاص است. این " +"پروفایل‌ها برای این سوار می‌شوند تا به شما برای شناخت بیشتر جنبه‌های متفاوت " +"اپن ای‌آر‌پی کمک نماید. این تنها یک پیش‌نمایش است، ما بیش از ۳۰۰ پیمانه " +"آماده داریم." + +#. module: base_setup +#: wizard_button:base_setup.base_setup,company,update:0 +#: wizard_button:base_setup.base_setup,init,company:0 +msgid "Next" +msgstr "پس" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,email:0 +#: wizard_field:base_setup.base_setup,init,email:0 +#: wizard_field:base_setup.base_setup,update,email:0 +msgid "E-mail" +msgstr "ایمیل" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,state_id:0 +#: wizard_field:base_setup.base_setup,init,state_id:0 +#: wizard_field:base_setup.base_setup,update,state_id:0 +msgid "State" +msgstr "استان" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,finish:0 +msgid "Your new database is now fully installed." +msgstr "دادگان نو شما بطور کامل برپاسازی گردید." + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,profile:0 +#: wizard_field:base_setup.base_setup,init,profile:0 +#: wizard_field:base_setup.base_setup,update,profile:0 +msgid "Profile" +msgstr "پروفایل" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,rml_footer1:0 +#: wizard_field:base_setup.base_setup,init,rml_footer1:0 +#: wizard_field:base_setup.base_setup,update,rml_footer1:0 +msgid "Report Footer 1" +msgstr "پانویس گزارش ۱" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,rml_footer2:0 +#: wizard_field:base_setup.base_setup,init,rml_footer2:0 +#: wizard_field:base_setup.base_setup,update,rml_footer2:0 +msgid "Report Footer 2" +msgstr "پانویس گزارش ۲" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,company:0 +msgid "General Information" +msgstr "آگهگان عمومی" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,street2:0 +#: wizard_field:base_setup.base_setup,init,street2:0 +#: wizard_field:base_setup.base_setup,update,street2:0 +msgid "Street2" +msgstr "خیابان۲" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,company:0 +msgid "Report Information" +msgstr "آگهگان گزارش" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,phone:0 +#: wizard_field:base_setup.base_setup,init,phone:0 +#: wizard_field:base_setup.base_setup,update,phone:0 +msgid "Phone" +msgstr "تلفن" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,company:0 +msgid "Define Main Company" +msgstr "تعریف شرکت اصلی" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,name:0 +#: wizard_field:base_setup.base_setup,init,name:0 +#: wizard_field:base_setup.base_setup,update,name:0 +msgid "Company Name" +msgstr "نام شرکت" + +#. module: base_setup +#: help:base_setup.base_setup,company,rml_footer2:0 +#: help:base_setup.base_setup,init,rml_footer2:0 +#: help:base_setup.base_setup,update,rml_footer2:0 +msgid "" +"This sentence will appear at the bottom of your reports.\n" +"We suggest you to put bank information here:\n" +"IBAN: BE74 1262 0121 6907 - SWIFT: CPDF BE71 - VAT: BE0477.472.701" +msgstr "" +"این جمله در پایین گزارش‌های شما ظاهر خواهد شد.\n" +"پیشنهاد می‌کنیم آگهگان بانکی را اینجا وارد نمایید:\n" +"IBAN: BE74 1262 0121 6907 - SWIFT: CPDF BE71 - VAT: BE0477.472.701" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,country_id:0 +#: wizard_field:base_setup.base_setup,init,country_id:0 +#: wizard_field:base_setup.base_setup,update,country_id:0 +msgid "Country" +msgstr "کشور" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,company:0 +#: wizard_view:base_setup.base_setup,finish:0 +#: wizard_view:base_setup.base_setup,init:0 +#: wizard_view:base_setup.base_setup,update:0 +#: model:ir.actions.wizard,name:base_setup.action_wizard_setup +#: model:ir.actions.wizard,name:base_setup.wizard_base_setup +msgid "Setup" +msgstr "سوارکردن" + +#. module: base_setup +#: help:base_setup.base_setup,company,rml_footer1:0 +#: help:base_setup.base_setup,init,rml_footer1:0 +#: help:base_setup.base_setup,update,rml_footer1:0 +msgid "" +"This sentence will appear at the bottom of your reports.\n" +"We suggest you to write legal sentences here:\n" +"Web: http://openerp.com - Fax: +32.81.73.35.01 - Fortis Bank: 126-2013269-07" +msgstr "" +"این جمله در پایین گزارش‌های شما ظاهر خواهد شد.\n" +"پیشنهاد می‌کنیم تا از عبارات قانونی در اینجا بکار ببرید:\n" +"Web: http://openerp.com - Fax: +32.81.73.35.01 - Fortis Bank: 126-2013269-07" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,update:0 +msgid "Summary" +msgstr "چکیده" + +#. module: base_setup +#: wizard_button:base_setup.base_setup,update,finish:0 +msgid "Install" +msgstr "برپایی" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,finish:0 +msgid "Installation Done" +msgstr "برپایی انجام شد" + +#. module: base_setup +#: help:base_setup.base_setup,company,rml_header1:0 +#: help:base_setup.base_setup,init,rml_header1:0 +#: help:base_setup.base_setup,update,rml_header1:0 +msgid "" +"This sentence will appear at the top right corner of your reports.\n" +"We suggest you to put a slogan here:\n" +"\"Open Source Business Solutions\"." +msgstr "" +"این جمله در گوشه بالا سمت راست گزارش‌های شما ظاهر خواهد شد.\n" +"پیشنهاد می‌کنیم شعار خود را اینجا قرار دهید:\n" +"\"راهکارهای بازمتن برای تجارت\"." + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,rml_header1:0 +#: wizard_field:base_setup.base_setup,init,rml_header1:0 +#: wizard_field:base_setup.base_setup,update,rml_header1:0 +msgid "Report Header" +msgstr "سرنویس گزارش" + +#. module: base_setup +#: wizard_view:base_setup.base_setup,company:0 +msgid "Your Logo - Use a size of about 450x150 pixels." +msgstr "نشان شما - اندازه تصویری ۱۵۰×۴۵۰ پیکسل را بکار برید." + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,currency:0 +#: wizard_field:base_setup.base_setup,init,currency:0 +#: wizard_field:base_setup.base_setup,update,currency:0 +msgid "Currency" +msgstr "ارز" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,street:0 +#: wizard_field:base_setup.base_setup,init,street:0 +#: wizard_field:base_setup.base_setup,update,street:0 +msgid "Street" +msgstr "خیابان" + +#. module: base_setup +#: wizard_button:base_setup.base_setup,finish,menu:0 +msgid "Use Directly" +msgstr "بکارگیری آنی" + +#. module: base_setup +#: wizard_button:base_setup.base_setup,init,menu:0 +msgid "Cancel" +msgstr "لغو" + +#. module: base_setup +#: wizard_field:base_setup.base_setup,company,logo:0 +#: wizard_field:base_setup.base_setup,init,logo:0 +#: wizard_field:base_setup.base_setup,update,logo:0 +msgid "Logo" +msgstr "نشان" + +#. module: base_setup +#: model:ir.module.module,shortdesc:base_setup.module_meta_information +msgid "Base Setup" +msgstr "سوارکردن پایه" + +#. module: base_setup +#: wizard_button:base_setup.base_setup,company,init:0 +#: wizard_button:base_setup.base_setup,update,company:0 +msgid "Previous" +msgstr "پیش" diff --git a/addons/board_crm_configuration/__terp__.py b/addons/board_crm_configuration/__terp__.py index 3c303ee2d1c..09bd6e25bc1 100644 --- a/addons/board_crm_configuration/__terp__.py +++ b/addons/board_crm_configuration/__terp__.py @@ -34,7 +34,7 @@ This module implements a dashboard for CRM that includes: * Jobs Tracking (graph) """, 'author': 'Tiny', - 'depends': ['board', 'crm', 'report_crm'], + 'depends': ['board', 'crm'], 'update_xml': ['board_crm_statistical_view.xml', 'board_crm_view.xml'], 'demo_xml': ['board_crm_demo.xml'], 'installable': True, diff --git a/addons/crm/crm.py b/addons/crm/crm.py index 78c4ffd41f4..8b410ea8c30 100644 --- a/addons/crm/crm.py +++ b/addons/crm/crm.py @@ -136,7 +136,6 @@ class crm_case_categ(osv.osv): 'section_id': fields.many2one('crm.case.section', 'Sales Team'), 'object_id': fields.many2one('ir.model', 'Object Name'), } - def _find_object_id(self, cr, uid, context=None): @@ -172,7 +171,6 @@ class crm_case_resource_type(osv.osv): 'section_id': fields.many2one('crm.case.section', 'Sales Team'), 'object_id': fields.many2one('ir.model', 'Object Name'), } - def _find_object_id(self, cr, uid, context=None): """Finds id for case object @param self: The object pointer @@ -210,7 +208,6 @@ class crm_case_stage(osv.osv): help="Change Probability on next and previous stages."), 'requirements': fields.text('Requirements') } - def _find_object_id(self, cr, uid, context=None): """Finds id for case object @param self: The object pointer @@ -357,7 +354,6 @@ class crm_case(osv.osv): \nIf the case needs to be reviewed then the state is set to \'Pending\'.'), 'company_id': fields.many2one('res.company', 'Company'), } - def _get_default_partner_address(self, cr, uid, context): """Gives id of default address for current user @param self: The object pointer @@ -604,7 +600,7 @@ class crm_case(osv.osv): return True def onchange_partner_id(self, cr, uid, ids, part, email=False): - """This function returns value of partner address based on partner + """ @param self: The object pointer @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security checks, @@ -631,7 +627,7 @@ class crm_case(osv.osv): @email: Partner's email ID """ if not add: - return {'value': {'email_from': False, 'partner_name2': False}} + return {'value': {'email_from': False}} address = self.pool.get('res.partner.address').browse(cr, uid, add) return {'value': {'email_from': address.email}} diff --git a/addons/crm/crm_claim.py b/addons/crm/crm_claim.py old mode 100755 new mode 100644 diff --git a/addons/crm/crm_claims_data.xml b/addons/crm/crm_claims_data.xml old mode 100755 new mode 100644 diff --git a/addons/crm/crm_claims_demo.xml b/addons/crm/crm_claims_demo.xml old mode 100755 new mode 100644 diff --git a/addons/crm/crm_claims_menu.xml b/addons/crm/crm_claims_menu.xml old mode 100755 new mode 100644 index 1eac8e007a3..f235c9ae637 --- a/addons/crm/crm_claims_menu.xml +++ b/addons/crm/crm_claims_menu.xml @@ -13,6 +13,7 @@ form tree,calendar,form,graph + {"search_default_section_id":section_id,"search_default_current":1,"search_default_my_claims":1} diff --git a/addons/crm/crm_claims_view.xml b/addons/crm/crm_claims_view.xml old mode 100755 new mode 100644 index 6677bf7184b..c7409006d78 --- a/addons/crm/crm_claims_view.xml +++ b/addons/crm/crm_claims_view.xml @@ -14,7 +14,7 @@ + id="menu_crm_case_claim-act" parent="crm.menu_crm_case_categ" /> @@ -28,7 +28,7 @@ + id="menu_crm_claim_stage_act" parent="crm.menu_crm_case_stage" /> @@ -42,8 +42,8 @@ + id="menu_crm_claim_stage_act" + parent="crm.menu_crm_case_resource_type" /> @@ -57,26 +57,26 @@ - +