<field eval="True" name="object"/>
</record>
- <wizard id="action_move_journal_line_form" menu="False" model="account.move.line" name="account.move.journal" string="Making Entries by Line"/>
+ <wizard id="action_move_journal_line_form" menu="False" model="account.move.line" name="account.move.journal" string="Entries by Line"/>
<menuitem icon="STOCK_JUSTIFY_FILL" action="action_move_journal_line_form" id="menu_action_move_journal_line_form" parent="account.menu_finance_entries" type="wizard" sequence="5"/>
<!--
<menuitem action="action_move_line_form" id="menu_action_move_line_form" parent="next_id_29"/>
<record id="action_move_line_form_encode_by_move" model="ir.actions.act_window">
- <field name="name">Making Entries by Move</field>
+ <field name="name">Entries by Move</field>
<field name="res_model">account.move</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
"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-03-10 17:32+0000\n"
+"PO-Revision-Date: 2010-03-15 14:11+0000\n"
"Last-Translator: Anders Wallenquist <anders.wallenquist@vertel.se>\n"
-"Language-Team: <>\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-11 04:52+0000\n"
+"X-Launchpad-Export-Date: 2010-03-16 04:46+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account
#: field:account.tax.template,base_sign:0
#: field:account.tax.template,ref_base_sign:0
msgid "Base Code Sign"
-msgstr ""
+msgstr "Baskodsbelopp"
#. module: account
#: model:ir.actions.wizard,name:account.wizard_unreconcile_select
#. module: account
#: selection:account.move.line,centralisation:0
msgid "Debit Centralisation"
-msgstr ""
+msgstr "Koncentration av betalningar"
#. module: account
#: model:ir.actions.wizard,name:account.wizard_invoice_state_confirm
#. module: account
#: model:ir.actions.wizard,name:account.wizard_move_line_select
msgid "Move line select"
-msgstr ""
+msgstr "Flytta valda rader"
#. module: account
#: rml:account.journal.period.print:0
#: rml:account.third_party_ledger:0
#: rml:account.third_party_ledger_other:0
msgid "Entry label"
-msgstr ""
+msgstr "Uppgiftsetikett"
#. module: account
#: model:ir.model,name:account.model_account_model_line
#: field:account.move.line,analytic_account_id:0
#: field:report.hr.timesheet.invoice.journal,account_id:0
msgid "Analytic Account"
-msgstr "Objekt"
+msgstr "Objektkonto"
#. module: account
#: field:account.tax,child_depend:0
#. module: account
#: rml:account.partner.balance:0
msgid "(Account/Partner) Name"
-msgstr "(Konto/Partner) namn"
+msgstr "(Konto/Företag) namn"
#. module: account
#: selection:account.move,type:0
#. module: account
#: view:report.hr.timesheet.invoice.journal:0
msgid "Analytic Entries Stats"
-msgstr ""
+msgstr "Objektposter"
#. module: account
#: model:ir.actions.act_window,name:account.action_account_tax_code_template_form
#. module: account
#: model:ir.model,name:account.model_account_tax
msgid "account.tax"
-msgstr ""
+msgstr "account.tax"
#. module: account
#: rml:account.central.journal:0
#. module: account
#: model:ir.model,name:account.model_account_fiscal_position_account
msgid "Fiscal Position Accounts Mapping"
-msgstr ""
+msgstr "Mappning av momsredovisningskonton"
#. module: account
#: field:account.analytic.account,contact_id:0
#: 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 "Analytiska poster"
+msgstr "Objektposter"
#. module: account
#: selection:account.subscription,period_type:0
#. module: account
#: model:process.transition,name:account.process_transition_supplieranalyticcost0
msgid "Analytic Invoice"
-msgstr "Förmodad faktura"
+msgstr "Objektfaktura"
#. module: account
#: field:account.journal.column,field:0
#. module: account
#: model:ir.model,name:account.model_account_config_wizard
msgid "account.config.wizard"
-msgstr "Kontokonfiguration guide"
+msgstr "account.config.wizard"
#. module: account
#: model:ir.actions.act_window,name:account.report_account_analytic_journal_tree
#: model:ir.model,name:account.model_account_analytic_account
#: model:ir.ui.menu,name:account.account_analytic_def_account
msgid "Analytic Accounts"
-msgstr "Analytiska konton"
+msgstr "Objektkonton"
#. module: account
#: wizard_view:account.print.journal.report,init:0
#. module: account
#: model:process.transition,name:account.process_transition_analyticinvoice0
msgid "analytic Invoice"
-msgstr "Förmodad faktura"
+msgstr "Objektfaktura"
#. module: account
#: wizard_field:account.automatic.reconcile,init,period_id:0
#. module: account
#: model:ir.model,name:account.model_account_fiscal_position_tax
msgid "Fiscal Position Taxes Mapping"
-msgstr "Moms"
+msgstr "Mappning av momsredovisningsnummer"
#. module: account
#: model:ir.actions.act_window,name:account.action_invoice_tree2_new
#: 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 "Skriv ut avstämningsjournal"
+msgstr "Skriv ut objektjournal"
#. module: account
#: rml:account.tax.code.entries:0
#: model:ir.actions.act_window,name:account.analytic_account_form
#: model:ir.ui.menu,name:account.account_analytic_form
msgid "New Analytic Account"
-msgstr "Nytt analytiskt konto"
+msgstr "Nytt objektkonto"
#. 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 "Förlaga för momsredovisningsnummer"
#. module: account
#: rml:account.invoice:0
#. module: account
#: model:ir.model,name:account.model_wizard_multi_charts_accounts
msgid "wizard.multi.charts.accounts"
-msgstr ""
+msgstr "wizard.multi.charts.accounts"
#. module: account
#: model:account.journal,name:account.sales_journal
#: view:account.fiscal.position.template:0
#: field:account.fiscal.position.template,name:0
msgid "Fiscal Position Template"
-msgstr ""
+msgstr "Förlaga för momsredovisningsnummer"
#. module: account
#: field:account.payment.term,line_ids:0
#. module: account
#: field:account.analytic.account,parent_id:0
msgid "Parent Analytic Account"
-msgstr ""
+msgstr "Överliggande objektkonto"
#. module: account
#: wizard_button:account.move.line.reconcile,init_partial,addendum:0
#. module: account
#: rml:account.analytic.account.analytic.check:0
msgid "Analytic Credit"
-msgstr ""
+msgstr "Objektkredit"
#. module: account
#: field:account.move.line,reconcile_partial_id:0
#: field:account.move.line,analytic_lines:0
#: model:ir.model,name:account.model_account_analytic_line
msgid "Analytic lines"
-msgstr ""
+msgstr "Objektrader"
#. module: account
#: help:account.tax,type:0
#. module: account
#: model:ir.model,name:account.model_wizard_company_setup
msgid "wizard.company.setup"
-msgstr ""
+msgstr "wizard.company.setup"
#. module: account
#: model:ir.actions.act_window,name:account.action_account_analytic_account_line_extended_form
msgid "account.analytic.line.extended"
-msgstr ""
+msgstr "account.analytic.line.extended"
#. module: account
#: field:account.journal,refund_journal:0
#: model:ir.actions.act_window,name:account.action_account_chart_template_form
#: model:ir.ui.menu,name:account.menu_action_account_chart_template_form
msgid "Chart of Accounts Templates"
-msgstr ""
+msgstr "Förlaga för kontoplan"
#. module: account
#: field:account.invoice,move_id:0
#. module: account
#: model:ir.ui.menu,name:account.menu_finance_legal_statement
msgid "Legal Statements"
-msgstr ""
+msgstr "Myndighetsrapporter"
#. module: account
#: field:account.tax.code,parent_id:0
#: field:account.model.line,partner_id:0
#: field:account.move.line,partner_id:0
msgid "Partner Ref."
-msgstr ""
+msgstr "Företagsreferense"
#. module: account
#: selection:account.partner.balance.report,init,result_selection:0
#. module: account
#: view:account.move.line:0
msgid "Analytic Lines"
-msgstr ""
+msgstr "Objektrader"
#. module: account
#: wizard_view:account.invoice.pay,init:0
#. module: account
#: help:account.invoice,reference:0
msgid "The partner reference of this invoice."
-msgstr ""
+msgstr "Företagsreferens för denna faktura"
#. module: account
#: wizard_field:account.general.ledger.report,checktype,sortbydate:0
#. module: account
#: wizard_view:account.analytic.account.journal.report,init:0
msgid "Analytic Journal Report"
-msgstr ""
+msgstr "Objektjournalrapport"
#. module: account
#: model:ir.actions.act_window,name:account.action_invoice_tree3
#: wizard_field:account.third_party_ledger.report,init,result_selection:0
#: field:wizard.company.setup,partner_id:0
msgid "Partner"
-msgstr ""
+msgstr "Företag"
#. module: account
#: help:account.invoice,number:0
#. module: account
#: view:account.analytic.line:0
msgid "Analytic Entry"
-msgstr ""
+msgstr "Objektpost"
#. module: account
#: view:res.company:0 field:res.company,overdue_msg:0
#. module: account
#: view:account.config.wizard:0
msgid "Create a Fiscal Year"
-msgstr "Skapa nytt verksamhetsår"
+msgstr "Skapa ett verksamhetsår"
#. module: account
#: field:product.template,taxes_id:0
#: model:process.transition,note:account.process_transition_analyticinvoice0
#: model:process.transition,note:account.process_transition_supplieranalyticcost0
msgid "From analytic accounts, Create invoice."
-msgstr ""
+msgstr "Från objekt, skapa en faktura"
#. module: account
#: wizard_button:account.account.balance.report,account_selection,end:0
#: model:process.node,name:account.process_node_analytic0
#: model:process.node,name:account.process_node_analyticcost0
msgid "Analytic"
-msgstr ""
+msgstr "Objekt"
#. module: account
#: model:process.node,name:account.process_node_invoiceinvoice0
"partners accounts (for debit/credit computations), closed for deprecated "
"accounts."
msgstr ""
+"Denna typ används för att göra åtskillnad mellan typer med specialeffekter i "
+"Open ERP: visa kan inte ha poster, konsoliderade konton som kan ha "
+"underkonton står för flerföretagskonsolideringar, obetalda / förutbetalda "
+"intäkter är för företags konton (på kredit / beräkningar), stängd för "
+"avslutade konton."
#. module: account
#: model:ir.ui.menu,name:account.menu_account_end_year_treatments
#. module: account
#: wizard_view:account.analytic.line,init:0
msgid "Account Analytic Lines Analysis"
-msgstr ""
+msgstr "Objektradanalys"
#. module: account
#: rml:account.invoice:0
#: model:ir.ui.menu,name:account.account_analytic_def_chart
#: model:ir.ui.menu,name:account.menu_action_analytic_account_tree2
msgid "Analytic Chart of Accounts"
-msgstr ""
+msgstr "Kontoplan för objekt"
#. module: account
#: wizard_view:account.analytic.line,init:0
msgid "View Account Analytic Lines"
-msgstr ""
+msgstr "Visa objektrader"
#. module: account
#: wizard_view:account.move.validate,init:0
#: model:ir.actions.report.xml,name:account.account_analytic_account_inverted_balance
#: model:ir.actions.wizard,name:account.account_analytic_account_inverted_balance_report
msgid "Inverted Analytic Balance"
-msgstr ""
+msgstr "Inverterad objektbalans"
#. module: account
#: field:account.tax,applicable_type:0
#. module: account
#: field:res.partner,ref_companies:0
msgid "Companies that refers to partner"
-msgstr ""
+msgstr "Associerade företag"
#. module: account
#: field:account.move.line,date:0
#. module: account
#: xsl:account.transfer:0
msgid "Partner ID"
-msgstr ""
+msgstr "Företagsid"
#. module: account
#: wizard_view:account.automatic.reconcile,init:0
#. module: account
#: model:ir.model,name:account.model_report_hr_timesheet_invoice_journal
msgid "Analytic account costs and revenues"
-msgstr ""
+msgstr "Objektkonton kostander och intäkter"
#. module: account
#: wizard_view:account.invoice.refund,init:0
#. module: account
#: rml:account.analytic.account.journal:0
msgid "Analytic Journal -"
-msgstr ""
+msgstr "Objektjournal"
#. module: account
#: rml:account.analytic.account.analytic.check:0
msgid "Analytic Debit"
-msgstr ""
+msgstr "Objektdebit"
#. module: account
#: field:account.account,currency_mode:0
#: model:ir.actions.report.xml,name:account.analytic_journal_print
#: model:ir.actions.wizard,name:account.account_analytic_account_journal_report
msgid "Analytic Journal"
-msgstr ""
+msgstr "Objektjournal"
#. module: account
#: rml:account.general.ledger:0
#: rml:account.invoice:0
#: field:account.invoice.tax,base:0
msgid "Base"
-msgstr ""
+msgstr "Bas"
#. module: account
#: field:account.model,name:0
#: view:account.model:0
#: field:account.model,legend:0
msgid "Legend"
-msgstr ""
+msgstr "Radanmärkning"
#. module: account
#: model:process.node,note:account.process_node_draftinvoices0
msgid "Proposed invoice to be checked, validated and printed"
-msgstr ""
+msgstr "Föreslagen faktura som skall kontrolleras, godkännas och skrivas ut"
#. module: account
#: model:ir.actions.act_window,name:account.action_move_line_select
msgid "account.move.line.select"
-msgstr ""
+msgstr "account.move.line.select"
#. module: account
#: view:account.account:0
#: wizard_field:account.move.line.unreconcile.select,init,account_id:0
#: model:ir.model,name:account.model_account_account
msgid "Account"
-msgstr ""
+msgstr "Konto"
#. module: account
#: model:account.journal,name:account.bank_journal
#: selection:account.partner.balance.report,init,state:0
#: selection:account.third_party_ledger.report,init,state:0
msgid "By Date and Period"
-msgstr ""
+msgstr "Per datum och period"
#. module: account
#: view:account.account:0
#: view:account.invoice.line:0
#: field:account.invoice.line,note:0
msgid "Notes"
-msgstr ""
+msgstr "Anteckningar"
#. module: account
#: help:account.invoice,reconciled:0
#: model:ir.ui.menu,name:account.menu_action_tax_form
#: model:ir.ui.menu,name:account.next_id_27
msgid "Taxes"
-msgstr ""
+msgstr "Skatter"
#. module: account
#: wizard_view:account.fiscalyear.close,init:0
msgid "Close Fiscal Year with new entries"
-msgstr ""
+msgstr "Stäng verksamgetsåret med nya poster"
#. module: account
#: selection:account.account,currency_mode:0
msgid "Average Rate"
-msgstr ""
+msgstr "Medelkurs"
#. module: account
#: model:process.node,note:account.process_node_bankstatement0
#: rml:account.partner.balance:0
#: field:account.period,code:0
msgid "Code"
-msgstr ""
+msgstr "Kod"
#. module: account
#: model:ir.ui.menu,name:account.menu_finance
#. module: account
#: model:account.payment.term,name:account.account_payment_term
msgid "30 Days End of Month"
-msgstr ""
+msgstr "30 dagar månadsskiftet"
#. module: account
#: field:account.chart.template,tax_code_root_id:0
#: model:ir.actions.report.xml,name:account.account_analytic_account_balance
#: model:ir.actions.wizard,name:account.account_analytic_account_balance_report
msgid "Analytic Balance"
-msgstr ""
+msgstr "Objektbalans"
#. module: account
#: view:account.move.line:0
#. module: account
#: selection:account.analytic.account,state:0
msgid "Pending"
-msgstr ""
+msgstr "Väntar"
#. module: account
#: view:wizard.multi.charts.accounts:0
#. module: account
#: rml:account.invoice:0
msgid "Fax :"
-msgstr ""
+msgstr "Fax :"
#. module: account
#: rml:account.partner.balance:0
#: field:account.tax.template,python_compute:0
#: selection:account.tax.template,type:0
msgid "Python Code"
-msgstr ""
+msgstr "Pythonkod"
#. module: account
#: model:ir.actions.act_window,name:account.act_account_journal_2_account_bank_statement
#. module: account
#: model:process.node,name:account.process_node_importinvoice0
msgid "Import invoice"
-msgstr ""
+msgstr "Importera faktura"
#. module: account
#: view:account.invoice:0
#: wizard_field:account.partner.balance.report,init,fiscalyear:0
#: wizard_field:account.third_party_ledger.report,init,fiscalyear:0
msgid "Fiscal year"
-msgstr ""
+msgstr "Verksamhetsår"
#. module: account
#: rml:account.overdue:0
#. module: account
#: selection:account.automatic.reconcile,init,power:0
msgid "3"
-msgstr ""
+msgstr "3"
#. module: account
#: model:ir.actions.report.xml,name:account.account_vat_declaration
#. module: account
#: field:wizard.multi.charts.accounts,code_digits:0
msgid "# of Digits"
-msgstr ""
+msgstr "Antal siffror"
#. module: account
#: help:res.partner,property_payment_term:0
"This payment term will be used instead of the default one for the current "
"partner"
msgstr ""
+"Detta betalningsvillkor kommer användas istället för standard för detta "
+"företag"
#. module: account
#: wizard_field:account.invoice.pay,addendum,comment:0
#: wizard_view:account.invoice.refund,init:0
#: model:ir.actions.wizard,name:account.wizard_invoice_refund
msgid "Credit Note"
-msgstr ""
+msgstr "Kreditnota"
#. module: account
#: model:ir.actions.todo,note:account.config_fiscalyear
msgid "Define Fiscal Years and Select Charts of Account"
-msgstr ""
+msgstr "Definiera verksamhetsåren och välj kontoplan"
#. module: account
#: wizard_field:account.move.line.reconcile,addendum,period_id:0
msgid "Write-Off Period"
-msgstr ""
+msgstr "Avskrivningsperiod"
#. module: account
#: selection:account.config.wizard,period:0
msgid "3 Months"
-msgstr ""
+msgstr "3 månader"
#. module: account
#: wizard_view:account.move.journal,init:0
#: selection:account.config.wizard,period:0
#: field:report.hr.timesheet.invoice.journal,name:0
msgid "Month"
-msgstr ""
+msgstr "Månad"
#. module: account
#: model:ir.model,name:account.model_account_subscription
#: field:account.fiscalyear,date_start:0
#: field:account.subscription,date_start:0
msgid "Start Date"
-msgstr ""
+msgstr "Startdatum"
#. module: account
#: wizard_view:account.general.ledger.report,account_selection:0
#: model:process.node,name:account.process_node_draftinvoices0
#: model:process.node,name:account.process_node_supplierdraftinvoices0
msgid "Draft Invoices"
-msgstr ""
+msgstr "Utkastfakturor"
#. module: account
#: model:ir.model,name:account.model_account_fiscal_position_tax_template
#. module: account
#: rml:account.invoice:0
msgid "Invoice Date"
-msgstr ""
+msgstr "Fakturadatum"
#. module: account
#: selection:account.account.type,close_method:0
msgid "Unreconciled"
-msgstr ""
+msgstr "Oavstämd"
#. module: account
#: field:account.account,note:0
msgstr ""
"Finansiella och bokförings-modulen som omfattar följande:\n"
" Huvudbok och generell bokföring\n"
-" Kostnad / analytisk bokföring\n"
+" Kostnad / objektredovisning\n"
" Klientbokföring\n"
" Moms och skatter\n"
" Budget\n"
#. module: account
#: field:account.journal,sequence_id:0
msgid "Entry Sequence"
-msgstr ""
+msgstr "Början av nummerserie"
#. module: account
#: selection:account.account,type:0
#: selection:account.account.template,type:0
msgid "Closed"
-msgstr ""
+msgstr "Avslutad"
#. module: account
#: model:process.node,name:account.process_node_paymententries0
msgid "Payment Entries"
-msgstr ""
+msgstr "Betalningsposter"
#. module: account
#: help:account.move.line,tax_code_id:0
msgid "The Account can either be a base tax code or tax code account."
-msgstr ""
+msgstr "Kontot kan antingen vara en basskattekod eller skattekodkonto."
#. module: account
#: help:account.automatic.reconcile,init,account_ids:0
"If no account is specified, the reconciliation will be made using every "
"accounts that can be reconcilied"
msgstr ""
+"Om inga konton anges, kommer avstämning göras med hjälp av alla konton som "
+"kan avstämmas"
#. module: account
#: model:ir.actions.act_window,name:account.action_wizard_company_setup_form
#: view:wizard.company.setup:0
msgid "Overdue Payment Report Message"
-msgstr ""
+msgstr "Rapportmeddelande för försenade betalningar"
#. module: account
#: selection:account.tax,tax_group:0
#: selection:account.tax.template,tax_group:0
msgid "Other"
-msgstr ""
+msgstr "Övrigt"
#. module: account
#: model:ir.actions.report.xml,name:account.account_general_ledger
#. module: account
#: selection:account.general.ledger.report,checktype,sortbydate:0
msgid "Movement"
-msgstr ""
+msgstr "Rörelse"
#. module: account
#: help:account.period,special:0
msgid "These periods can overlap."
-msgstr ""
+msgstr "Dessa perioder kan överlappa."
#. module: account
#: help:product.template,property_account_expense:0
"This account will be used instead of the default one to value outgoing stock "
"for the current product"
msgstr ""
+"Detta konto kommer att användas i stället för standardkontot för att värdera "
+"utgående lager för den aktuella produkten"
#. module: account
#: model:process.node,note:account.process_node_manually0
msgid "Encode manually the statement"
-msgstr ""
+msgstr "Koda utdraget manuellt"
#. module: account
#: model:ir.actions.act_window,name:account.action_account_journal_form
#: model:ir.ui.menu,name:account.menu_action_account_journal_form
msgid "Financial Journals"
-msgstr ""
+msgstr "Bokföringsjournaler"
#. module: account
#: selection:account.account.balance.report,checktype,state:0
#: selection:account.partner.balance.report,init,state:0
#: selection:account.third_party_ledger.report,init,state:0
msgid "By Period"
-msgstr ""
+msgstr "Per period"
#. module: account
#: help:account.invoice,date_invoice:0
msgid "Keep empty to use the current date"
-msgstr ""
+msgstr "Lämna tomt för att använda dagens datum"
#. module: account
#: rml:account.overdue:0
msgid "."
-msgstr ""
+msgstr "."
#. module: account
#: field:account.analytic.account,quantity_max:0
msgid "Maximum Quantity"
-msgstr ""
+msgstr "Största kvantitet"
#. module: account
#: field:account.period,name:0
msgid "Period Name"
-msgstr ""
+msgstr "Periodnamn"
#. module: account
#: help:account.analytic.journal,type:0
"needs to create analytic entries, Open ERP will look for a matching journal "
"of the same type."
msgstr ""
+"Ger typ av objektjournal. När ett dokument (t.ex. en faktura) måste skapa "
+"objektposter, kommer systemet att söka en matchande journal av samma typ."
#. module: account
#: field:account.journal,groups_id:0
#. module: account
#: rml:account.analytic.account.quantity_cost_ledger:0
msgid "Code/Date"
-msgstr ""
+msgstr "Kod/datum"
#. module: account
#: field:account.account,active:0
#. module: account
#: model:process.node,note:account.process_node_electronicfile0
msgid "Import from your bank statements"
-msgstr ""
+msgstr "Importera från dina bankutdrag"
#. module: account
#: view:account.chart.template:0
msgid "Properties"
-msgstr ""
+msgstr "Egenskaper"
#. module: account
#: view:res.partner:0
msgid "Customer Accounting Properties"
-msgstr ""
+msgstr "Kundens bokföringsinställningar"
#. module: account
#: view:account.bank.statement:0
#. module: account
#: wizard_field:account.vat.declaration,init,based_on:0
msgid "Base on"
-msgstr ""
+msgstr "Basera på"
#. module: account
#: selection:account.move,type:0
msgid "Cash Payment"
-msgstr ""
+msgstr "Kontant betalning"
#. module: account
#: field:account.chart.template,property_account_payable:0
#: rml:account.vat.declaration:0
#: field:report.hr.timesheet.invoice.journal,cost:0
msgid "Credit"
-msgstr ""
+msgstr "Kredit"
#. module: account
#: help:account.tax.template,child_depend:0
#: field:account.tax,account_paid_id:0
#: field:account.tax.template,account_paid_id:0
msgid "Refund Tax Account"
-msgstr ""
+msgstr "Skatteåterbäringskonto"
#. module: account
#: field:account.tax.code,child_ids:0
#: view:account.bank.statement:0
#: field:account.bank.statement,line_ids:0
msgid "Statement lines"
-msgstr ""
+msgstr "Verifikatrader"
#. module: account
#: field:account.move.line,amount_taxed:0
msgid "Taxed Amount"
-msgstr ""
+msgstr "Skatteunderlag"
#. module: account
#: field:account.invoice.line,price_subtotal:0
msgid "Subtotal w/o tax"
-msgstr ""
+msgstr "Nettobelopp"
#. module: account
#: field:account.invoice.line,invoice_id:0
#. module: account
#: field:account.analytic.line,general_account_id:0
msgid "General Account"
-msgstr ""
+msgstr "Huvudkonton"
#. module: account
#: help:account.move.line,quantity:0
#. module: account
#: field:wizard.multi.charts.accounts,seq_journal:0
msgid "Separated Journal Sequences"
-msgstr ""
+msgstr "Separerade nummerserier för böcker"
#. module: account
#: help:account.bank.statement.reconcile,total_second_currency:0
msgid "The currency of the journal"
-msgstr ""
+msgstr "Valuta för boken"
#. module: account
#: view:account.journal.column:0
#: model:ir.ui.menu,name:account.menu_action_account_period_form
#: model:ir.ui.menu,name:account.next_id_23
msgid "Periods"
-msgstr ""
+msgstr "Perioder"
#. module: account
#: rml:account.invoice:0
#: wizard_button:account.open_closed_fiscalyear,init,open:0
#: wizard_button:account_use_models,create,open_move:0
msgid "Open"
-msgstr ""
+msgstr "Öppen"
#. module: account
#: model:ir.ui.menu,name:account.next_id_29
#. module: account
#: wizard_button:account_use_models,create,end:0
msgid "Ok"
-msgstr ""
+msgstr "Ok"
#. module: account
#: rml:account.invoice:0
msgid "Taxes:"
-msgstr ""
+msgstr "Skatter:"
#. module: account
#: model:ir.actions.act_window,name:account.action_invoice_tree7
#: field:account.invoice.line,product_id:0
#: field:account.move.line,product_id:0
msgid "Product"
-msgstr ""
+msgstr "Produkt"
#. module: account
#: rml:account.tax.code.entries:0
msgid ")"
-msgstr ""
+msgstr ")"
#. module: account
#: field:res.partner,credit:0
#. module: account
#: selection:account.automatic.reconcile,init,power:0
msgid "9"
-msgstr ""
+msgstr "9"
#. module: account
#: model:ir.actions.act_window,name:account.action_subscription_form_running
#: field:account.config.wizard,date2:0
#: field:account.fiscalyear,date_stop:0
msgid "End Date"
-msgstr ""
+msgstr "Slutdatum"
#. module: account
#: model:ir.actions.wizard,name:account.wizard_open_closed_fiscalyear
#. module: account
#: field:account.payment.term.line,days2:0
msgid "Day of the Month"
-msgstr ""
+msgstr "Dag i månad"
#. module: account
#: field:account.analytic.journal,line_ids:0
#: field:account.tax.code,line_ids:0
msgid "Lines"
-msgstr ""
+msgstr "Rader"
#. module: account
#: rml:account.overdue:0
#. module: account
#: view:ir.sequence:0
msgid "Fiscal Year Sequences"
-msgstr ""
+msgstr "Nummerserier för verksamhetsåret"
#. module: account
#: view:account.model.line:0
#: view:account.fiscalyear:0
#: view:account.period:0
msgid "States"
-msgstr ""
+msgstr "Stater"
#. module: account
#: view:account.move:0
#. module: account
#: rml:account.general.ledger:0
msgid "General Ledger -"
-msgstr ""
+msgstr "Huvudbok -"
#. module: account
#: field:report.hr.timesheet.invoice.journal,quantity:0
msgid "Quantities"
-msgstr ""
+msgstr "Kvantiteter"
#. module: account
#: field:account.analytic.account,date_start:0
msgid "Date Start"
-msgstr ""
+msgstr "Startdatum"
#. module: account
#: rml:account.analytic.account.analytic.check:0
#: field:account.invoice,amount_total:0
#: field:account.invoice,check_total:0
msgid "Total"
-msgstr ""
+msgstr "Total"
#. module: account
#: model:process.transition,note:account.process_transition_customerinvoice0
#: model:ir.actions.act_window,name:account.action_invoice_tree4
#: model:ir.ui.menu,name:account.menu_action_invoice_tree4
msgid "Supplier Refunds"
-msgstr ""
+msgstr "Återbetalning från leverantör"
#. module: account
#: help:account.model.line,date:0
#: field:account.bank.statement.line,statement_id:0
#: field:account.move.line,statement_id:0
msgid "Statement"
-msgstr ""
+msgstr "Bokföringsutdrag"
#. module: account
#: model:ir.actions.act_window,name:account.action_move_line_form_encode_by_move
#. module: account
#: selection:account.automatic.reconcile,init,power:0
msgid "4"
-msgstr ""
+msgstr "4"
#. module: account
#: model:ir.actions.act_window,name:account.action_account_fiscalyear_form
#: view:ir.sequence:0
#: model:ir.ui.menu,name:account.menu_action_account_fiscalyear_form
msgid "Fiscal Years"
-msgstr ""
+msgstr "Verksamhetsår"
#. module: account
#: model:process.node,note:account.process_node_importinvoice0
#: model:ir.actions.wizard,name:account.wizard_reconcile_select
#: model:ir.ui.menu,name:account.menu_reconcile_select
msgid "Reconcile entries"
-msgstr ""
+msgstr "Avstäm poster"
#. module: account
#: xsl:account.transfer:0
msgid "Change"
-msgstr ""
+msgstr "Byt"
#. module: account
#: field:account.journal.period,icon:0
#. module: account
#: model:ir.model,name:account.model_account_journal_period
msgid "Journal - Period"
-msgstr ""
+msgstr "Journal - period"
#. module: account
#: wizard_field:account.move.line.reconcile,init_full,credit:0
#. module: account
#: view:account.fiscalyear:0
msgid "Create Monthly Periods"
-msgstr ""
+msgstr "Skapa månatliga perioder"
#. module: account
#: wizard_button:account.aged.trial.balance,init,print:0
#: rml:account.third_party_ledger:0
#: rml:account.third_party_ledger_other:0
msgid "Ref."
-msgstr ""
+msgstr "Ref."
#. module: account
#: field:account.invoice,address_invoice_id:0
#. module: account
#: rml:account.analytic.account.analytic.check:0
msgid "General Credit"
-msgstr ""
+msgstr "Kreditnota"
#. module: account
#: help:account.journal,centralisation:0
#. module: account
#: selection:account.invoice,state:0
msgid "Cancelled"
-msgstr ""
+msgstr "Avbruten"
#. module: account
#: model:ir.actions.act_window,name:account.action_bank_statement_draft_tree
#: model:ir.ui.menu,name:account.menu_bank_statement_draft_tree
msgid "Draft statements"
-msgstr ""
+msgstr "Preleminära rapporter"
#. module: account
#: wizard_field:populate_statement_from_inv,init,date:0
msgid "Date payment"
-msgstr ""
+msgstr "Betalningsdag"
#. module: account
#: rml:account.journal.period.print:0
#. module: account
#: wizard_button:account.automatic.reconcile,reconcile,end:0
msgid "OK"
-msgstr ""
+msgstr "OK"
#. module: account
#: model:process.node,name:account.process_node_supplierinvoiceinvoice0
#: model:ir.actions.wizard,name:account.wizard_balance_report
#: model:ir.ui.menu,name:account.menu_account_balance_report
msgid "Account Balance"
-msgstr ""
+msgstr "Balansräkning"
#. module: account
#: model:ir.actions.report.xml,name:account.account_analytic_account_analytic_check
#. module: account
#: rml:account.overdue:0
msgid "VAT:"
-msgstr ""
+msgstr "Moms:"
#. module: account
#: rml:account.analytic.account.cost_ledger:0
#: rml:account.general.journal:0
#: rml:account.invoice:0
msgid "Total:"
-msgstr ""
+msgstr "Total:"
#. module: account
#: model:ir.model,name:account.model_account_analytic_journal
msgid "account.analytic.journal"
-msgstr ""
+msgstr "account.analytic.journal"
#. module: account
#: view:account.fiscal.position:0
#: view:account.bank.statement:0
#: selection:account.bank.statement,state:0
msgid "Confirm"
-msgstr ""
+msgstr "Godkänn"
#. module: account
#: wizard_view:account.account.balance.report,account_selection:0
msgid "Select parent account"
-msgstr ""
+msgstr "Välj överliggande konto"
#. module: account
#: field:account.account.template,parent_id:0
#: rml:account.third_party_ledger:0
#: rml:account.third_party_ledger_other:0
msgid "/"
-msgstr ""
+msgstr "/"
#. module: account
#: model:process.node,note:account.process_node_invoiceinvoice0
#. module: account
#: view:account.journal:0
msgid "Account Journal"
-msgstr ""
+msgstr "Dagbok"
#. module: account
#: view:account.subscription.line:0
#: wizard_button:populate_statement_from_inv,go,end:0
#: wizard_button:populate_statement_from_inv,init,end:0
msgid "_Cancel"
-msgstr ""
+msgstr "_Avbryt"
#. module: account
#: wizard_view:account.general.ledger.report,checktype:0
#: wizard_view:account.partner.balance.report,init:0
#: wizard_view:account.third_party_ledger.report,init:0
msgid "Select Date-Period"
-msgstr ""
+msgstr "Välj datum-period"
#. module: account
#: rml:account.analytic.account.inverted.balance:0
#. module: account
#: wizard_field:account.invoice.pay,addendum,writeoff_journal_id:0
msgid "Write-Off journal"
-msgstr ""
+msgstr "Avskrivningsbok"
#. module: account
#: wizard_button:account.invoice.pay,init,writeoff_check:0
msgid "Full Payment"
-msgstr ""
+msgstr "Full betalning"
#. module: account
#: selection:account.move,type:0
msgid "Journal Purchase"
-msgstr ""
+msgstr "Inköpsjournal"
#. module: account
#: selection:account.move,type:0
msgid "Cash Receipt"
-msgstr ""
+msgstr "Kontantkvitton"
#. module: account
#: field:account.fiscal.position.tax,tax_dest_id:0
#: field:account.invoice,payment_ids:0
#: selection:account.vat.declaration,init,based_on:0
msgid "Payments"
-msgstr ""
+msgstr "Betalningar"
#. module: account
#: model:process.node,note:account.process_node_accountingstatemententries0
#: selection:account.period,state:0
#: selection:account.subscription,state:0
msgid "Draft"
-msgstr ""
+msgstr "Utkast"
#. module: account
#: rml:account.overdue:0
msgid "Paid"
-msgstr ""
+msgstr "Betalad"
#. module: account
#: model:ir.actions.act_window,name:account.action_invoice_tree11
#. module: account
#: wizard_view:account.period.close,init:0
msgid "Are you sure ?"
-msgstr ""
+msgstr "Är du helt säker?"
#. module: account
#: rml:account.invoice:0
#: view:account.invoice:0
msgid "PRO-FORMA"
-msgstr ""
+msgstr "PRO-FORMA"
#. module: account
#: field:account.move.reconcile,line_partial_ids:0
#: selection:account.analytic.account,type:0
#: selection:account.move.line,centralisation:0
msgid "Normal"
-msgstr ""
+msgstr "Normal"
#. module: account
#: model:process.process,name:account.process_process_supplierinvoiceprocess0
#: rml:account.third_party_ledger_other:0
#: rml:account.vat.declaration:0
msgid "Page"
-msgstr ""
+msgstr "Sida"
#. module: account
#: view:account.move:0
#: rml:account.account.balance:0
#: rml:account.general.journal:0
msgid ":"
-msgstr ""
+msgstr ":"
#. module: account
#: field:account.bank.statement.line,reconcile_amount:0
#. module: account
#: model:ir.model,name:account.model_account_tax_template
msgid "account.tax.template"
-msgstr ""
+msgstr "account.tax.template"
#. module: account
#: field:wizard.multi.charts.accounts,bank_accounts_id:0
#. module: account
#: selection:account.analytic.account,state:0
msgid "Close"
-msgstr ""
+msgstr "Stäng"
#. module: account
#: field:account.bank.statement.line,move_ids:0
#. module: account
#: selection:account.automatic.reconcile,init,power:0
msgid "5"
-msgstr ""
+msgstr "5"
#. module: account
#: field:product.category,property_account_income_categ:0
#. module: account
#: model:ir.model,name:account.model_account_sequence_fiscalyear
msgid "account.sequence.fiscalyear"
-msgstr ""
+msgstr "account.sequence.fiscalyear"
#. module: account
#: wizard_field:account.print.journal.report,init,sort_selection:0
#. module: account
#: selection:account.aged.trial.balance,init,direction_selection:0
msgid "Future"
-msgstr ""
+msgstr "Framtida"
#. module: account
#: help:account.account.balance.report,checktype,fiscalyear:0
#: model:ir.actions.act_window,name:account.action_account_fiscal_position_form
#: model:ir.ui.menu,name:account.menu_action_account_fiscal_position_form
msgid "Fiscal Positions"
-msgstr ""
+msgstr "Momsredovisningsnummer"
#. module: account
#: model:process.process,name:account.process_process_statementprocess0
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
-"PO-Revision-Date: 2009-12-23 10:50+0000\n"
+"PO-Revision-Date: 2010-03-15 03:12+0000\n"
"Last-Translator: Songpon Phusing <p.songpon@gmail.com>\n"
"Language-Team: Thai <th@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-03-11 04:52+0000\n"
+"X-Launchpad-Export-Date: 2010-03-16 04:46+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: account
#. module: account
#: view:account.tax.code:0
msgid "Account Tax Code"
-msgstr ""
+msgstr "รหัสบัญชีภาษี"
#. module: account
#: model:ir.actions.act_window,name:account.action_invoice_tree9
#: model:ir.ui.menu,name:account.menu_action_invoice_tree9
msgid "Unpaid Supplier Invoices"
-msgstr ""
+msgstr "ใบแจ้งหนี้ที่ยังไม่จ่าย"
#. module: account
#: model:ir.ui.menu,name:account.menu_finance_entries
msgid "Entries Encoding"
-msgstr ""
+msgstr "กรอกข้อมูล"
#. module: account
#: model:ir.actions.todo,note:account.config_wizard_account_base_setup_form
msgid "Specify The Message for the Overdue Payment Report."
-msgstr ""
+msgstr "ระบุข้อความสำหรับรายงานของการจ่ายที่เกินกำหนด"
#. module: account
#: model:process.transition,name:account.process_transition_confirmstatementfromdraft0
#. module: account
#: wizard_view:account_use_models,init_form:0
msgid "Select Message"
-msgstr ""
+msgstr "เลือกข้อความ"
#. module: account
#: help:product.category,property_account_income_categ:0
<field name="view_type">form</field>
<field name="view_id" ref="view_account_analytic_line_tree"/>
</record>
- <wizard id="action_account_analytic_line" menu="False" model="account.analytic.line" name="account.analytic.line" string="Making Entries by Line"/>
+ <wizard id="action_account_analytic_line" menu="False" model="account.analytic.line" name="account.analytic.line" string="Entries by Line"/>
<menuitem id="next_id_41" name="Analytic Entries" parent="account.menu_finance_entries"/>
<menuitem type="wizard" icon="STOCK_JUSTIFY_FILL" action="action_account_analytic_line" id="account_entries_analytic_entries" parent="next_id_41"/>
id = mod_obj.read(cr, uid, result, ['res_id'])
return {
- 'name': _('Analytic Entries'),
+ 'name': _('Analytic Entries by line'),
'view_type': 'form',
"view_mode": 'tree,form',
'res_model': 'account.analytic.line',
}
states = {
- 'init': {
+ 'init': {
'actions': [],
'result': {'type': 'form', 'arch':form1, 'fields':form1_fields, 'state': [('end', 'Cancel','gtk-cancel'),('open', 'Open Entries','gtk-ok')]}
},
- 'open': {
+ 'open': {
'actions': [],
'result': {'type': 'action', 'action': _action_open_window, 'state':'end'}
}
sql = """
SELECT f.id, f.date_start, f.date_stop FROM account_fiscalyear f Where %s between f.date_start and f.date_stop """
- cr.execute(sql,(data['form']['date1']))
+ cr.execute(sql,(data['form']['date1'],))
res = cr.dictfetchall()
if res:
if (data['form']['date2'] > res[0]['date_stop'] or data['form']['date2'] < res[0]['date_start']):
if not parent_id:
return {}
parent = self.read(cr, uid, [parent_id], ['partner_id','code'])[0]
- childs = self.search(cr, uid, [('parent_id', '=', parent_id), ('active', 'in', [True, False])])
+ childs = self.search(cr, uid, [('parent_id', '=', parent_id)])
numchild = len(childs)
if parent['partner_id']:
partner = parent['partner_id'][0]
return obj.module+'.'+obj.name, obj.noupdate
def _create_record(self, cr, uid, doc, model, data, record_id, noupdate=False):
+
+ data_pool = self.pool.get('ir.model.data')
+ model_pool = self.pool.get(model)
+
record = doc.createElement('record')
record.setAttribute("id", record_id)
record.setAttribute("model", model)
record_list = [record]
- lids = self.pool.get('ir.model.data').search(cr, uid, [('model','=',model)])
- res = self.pool.get('ir.model.data').read(cr, uid, lids[:1], ['module'])
+ lids = data_pool.search(cr, uid, [('model','=',model)])
+ res = data_pool.read(cr, uid, lids[:1], ['module'])
if res:
self.depends[res[0]['module']]=True
- fields = self.pool.get(model).fields_get(cr, uid)
+ fields = model_pool.fields_get(cr, uid)
for key,val in data.items():
if not (val or (fields[key]['type']=='boolean')):
continue
id,update = self._get_id(cr, uid, fields[key]['relation'], val)
noupdate = noupdate or update
if not id:
+ relation_pool = self.pool.get(fields[key]['relation'])
+
field.setAttribute("model", fields[key]['relation'])
- fld_nm = self.pool.get(fields[key]['relation'])._rec_name
- name = self.pool.get(fields[key]['relation']).read(cr, uid, val,[fld_nm])[fld_nm] or False
+ fld_nm = relation_pool._rec_name
+ name = relation_pool.read(cr, uid, val,[fld_nm])[fld_nm] or False
field.setAttribute("search", str([(str(fld_nm) ,'=', name)]))
else:
field.setAttribute("ref", id)
elif fields[key]['type'] in ('one2many',):
for valitem in (val or []):
if valitem[0] in (0,1):
- if key in self.pool.get(model)._columns:
- fname = self.pool.get(model)._columns[key]._fields_id
+ if key in model_pool._columns:
+ fname = model_pool._columns[key]._fields_id
else:
- fname = self.pool.get(model)._inherit_fields[key][2]._fields_id
+ fname = model_pool._inherit_fields[key][2]._fields_id
valitem[2][fname] = record_id
newid,update = self._get_id(cr, uid, fields[key]['relation'], valitem[1])
if not newid:
def _create_yaml_record(self, cr, uid, model, data, record_id):
record={'model': model, 'id': str(record_id)}
- lids = self.pool.get('ir.model.data').search(cr, uid, [('model','=',model)])
- res = self.pool.get('ir.model.data').read(cr, uid, lids[:1], ['module'])
+
+ model_pool = self.pool.get(model)
+ data_pool = self.pool.get('ir.model.data')
+
+ lids = data_pool.search(cr, uid, [('model','=',model)])
+ res = data_pool.read(cr, uid, lids[:1], ['module'])
attrs={}
if res:
self.depends[res[0]['module']]=True
- fields = self.pool.get(model).fields_get(cr, uid)
+ fields = model_pool.fields_get(cr, uid)
defaults={}
- defaults[model] = self.pool.get(model).default_get(cr, uid, data)
+ defaults[model] = model_pool.default_get(cr, uid, data)
for key,val in data.items():
if ((key in defaults[model]) and (val == defaults[model][key])) and not(fields[key].get('required',False)):
continue
elif fields[key]['type'] in ('integer','float'):
attrs[key] = val
elif fields[key]['type'] in ('many2one',):
- if type(val) in (type(''),type(u'')):
+ if type(val) in (type(''), type(u'')):
id = val
else:
- id,update = self._get_id(cr, uid, fields[key]['relation'], val)
+ id, update = self._get_id(cr, uid, fields[key]['relation'], val)
attrs[key] = str(id)
elif fields[key]['type'] in ('one2many',):
items=[[]]
for valitem in (val or []):
if valitem[0] in (0,1):
- if key in self.pool.get(model)._columns:
- fname = self.pool.get(model)._columns[key]._fields_id
+ if key in model_pool._columns:
+ fname = model_pool._columns[key]._fields_id
else:
- fname = self.pool.get(model)._inherit_fields[key][2]._fields_id
+ fname = model_pool._inherit_fields[key][2]._fields_id
valitem[2][fname] = record_id
newid,update = self._get_id(cr, uid, fields[key]['relation'], valitem[1])
if not newid:
res[data.get('id')] = False
return res
- def _model_search(self, cr, uid, obj, name, args):
+ def _model_search(self, cr, uid, obj, name, args, context={}):
if not len(args):
return []
model_id= args[0][2]
# the directory id now is mandatory. It can still be computed automatically.
'parent_id': fields.many2one('document.directory', 'Directory', select=1, required=True),
'file_size': fields.integer('File Size', required=True),
- 'file_type': fields.char('Content Type', size=32),
+ 'file_type': fields.char('Content Type', size=64),
# If ir.attachment contained any data before document is installed, preserve
# the data, don't drop the column!
'db_datas': fields.binary('Data', oldname='datas'),
return super(document_file, self).copy(cr, uid, id, default, context)
def write(self, cr, uid, ids, vals, context=None):
+ if not isinstance(ids, list):
+ ids = [ids]
res = self.search(cr, uid, [('id', 'in', ids)])
if not len(res):
return False
def _get_root_directory(self, cr,uid, context=None):
objid=self.pool.get('ir.model.data')
try:
- mid = objid._get_id(cr, uid, 'document', 'dir_root')
- return None # TODO: check why not display root dir
+ mid = objid._get_id(cr, uid, 'document', 'dir_root')
if not mid:
- return None
+ return False
except Exception, e:
import netsvc
logger = netsvc.Logger()
logger.notifyChannel("document", netsvc.LOG_WARNING, 'Cannot set directory root:'+ str(e))
- return None
+ return False
return objid.browse(cr, uid, mid, context=context).res_id
def _get_def_storage(self,cr,uid,context=None):
path.append(duri[0])
duri = duri[1:]
did = nid[0]
-
- return (nodes.node_dir(path, nparent,ncontext,self.browse(cr,uid,did, context)), duri)
+ root_node = did and self.browse(cr,uid,did, context) or False
+ return (nodes.node_dir(path, nparent,ncontext, root_node), duri)
nid = self.search(cr,uid,[('parent_id','=',did),('name','=',duri[0]),('type','=','ressource')], context=context)
"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-04-24 14:45+0000\n"
-"Last-Translator: Fabien (Open ERP) <fp@tinyerp.com>\n"
+"PO-Revision-Date: 2010-03-15 14:11+0000\n"
+"Last-Translator: Anders Wallenquist <anders.wallenquist@vertel.se>\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-11 05:03+0000\n"
+"X-Launchpad-Export-Date: 2010-03-16 04:46+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: document
#. module: document
#: model:ir.ui.menu,name:document.menu_document
msgid "Document Management"
-msgstr ""
+msgstr "Dokumenthantering"
#. module: document
#: selection:ir.attachment,store_method:0
context """
cached_roots = {}
- def __init__(self, cr, uid, context=None):
- # we don't cache the cr!
+ def __init__(self, cr, uid, context=None):
self.dbname = cr.dbname
self.uid = uid
self.context = context
self._dirobj = pooler.get_pool(cr.dbname).get('document.directory')
assert self._dirobj
- self.rootdir = self._dirobj._get_root_directory(cr,uid,context)
+ self.rootdir = False #self._dirobj._get_root_directory(cr,uid,context)
def get_uri(self, cr, uri):
""" Although this fn passes back to doc.dir, it is needed since
- it is a potential caching point """
+ it is a potential caching point """
(ndir, duri) = self._dirobj._locate_child(cr,self.uid, self.rootdir,uri, None, self)
while duri:
ndir = ndir.child(cr, duri[0])
our_type = 'collection'
def __init__(self,path, parent, context, dirr, dctx=None):
super(node_dir,self).__init__(path, parent,context)
- self.dir_id = dirr.id
+ self.dir_id = dirr and dirr.id or False
#todo: more info from dirr
self.mimetype = 'application/x-directory'
# 'httpd/unix-directory'
- self.create_date = dirr.create_date
- self.domain = dirr.domain
- self.res_model = dirr.ressource_type_id and dirr.ressource_type_id.model or False
+ self.create_date = dirr and dirr.create_date or False
+ self.domain = dirr and dirr.domain or []
+ self.res_model = dirr and dirr.ressource_type_id and dirr.ressource_type_id.model or False
# TODO: the write date should be MAX(file.write)..
- self.write_date = dirr.write_date or dirr.create_date
+ self.write_date = dirr and (dirr.write_date or dirr.create_date) or False
self.content_length = 0
if dctx:
self.dctx.update(dctx)
dc2 = self.context.context
dc2.update(self.dctx)
dc2['dir_id'] = self.dir_id
- self.displayname = dirr.name
- if dirr.dctx_ids:
+ self.displayname = dirr and dirr.name or False
+ if dirr and dirr.dctx_ids:
for dfld in dirr.dctx_ids:
try:
self.dctx['dctx_' + dfld.field] = safe_eval(dfld.expr,dc2)
import odt2txt
from content_index import indexer, cntIndex
-
+from subprocess import Popen, PIPE
def _to_unicode(s):
try:
# -*- coding: utf-8 -*-
##############################################################################
-#
+#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# 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 <http://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
event_obj=pooler.get_pool(cr.dbname).get('event.event')
project_obj = pooler.get_pool(cr.dbname).get('project.project')
duplicate_project_id= project_obj.copy(cr, uid,data['form']['project_id'], {'active': True})
- project_obj.write(cr, uid, [duplicate_project_id], {'name': "copy of " + project_obj.browse(cr, uid, duplicate_project_id, context).name , 'date_start':time.strftime('%Y-%m-%d'),'date_end': event_obj.browse(cr, uid, [data['id']])[0].date_begin[0:10] })
+ project_obj.write(cr, uid, [duplicate_project_id], {'name': "copy of " + project_obj.browse(cr, uid, duplicate_project_id, context).name , 'date_start':time.strftime('%Y-%m-%d'),'date': event_obj.browse(cr, uid, [data['id']])[0].date_begin[0:10] })
event_obj.write(cr, uid, [data['id']], {'project_id': duplicate_project_id })
return {}
"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-09-17 09:48+0000\n"
-"Last-Translator: Jay (Open ERP) <jvo@tinyerp.com>\n"
+"PO-Revision-Date: 2010-03-15 14:12+0000\n"
+"Last-Translator: Anders Wallenquist <anders.wallenquist@vertel.se>\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-11 04:54+0000\n"
+"X-Launchpad-Export-Date: 2010-03-16 04:46+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: idea
#. module: idea
#: model:ir.ui.menu,name:idea.menu_reporting
msgid "Reporting"
-msgstr ""
+msgstr "Rapportering"
#. module: idea
#: model:ir.model,name:idea.model_idea_vote_stat
"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-16 11:17+0000\n"
-"Last-Translator: Treecko <Unknown>\n"
+"PO-Revision-Date: 2010-03-15 14:14+0000\n"
+"Last-Translator: Anders Wallenquist <anders.wallenquist@vertel.se>\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-11 04:45+0000\n"
+"X-Launchpad-Export-Date: 2010-03-16 04:46+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: membership
#. module: membership
#: model:ir.ui.menu,name:membership.menu_reporting
msgid "Reporting"
-msgstr ""
+msgstr "Rapportering"
#. module: membership
#: view:res.partner:0
#: field:report.partner_member.year_new,canceled_amount:0
#: field:report.partner_member.year_new,canceled_number:0
msgid "Canceled"
-msgstr ""
+msgstr "Avbruten"
#. module: membership
#: model:product.pricelist,name:membership.list1m
#: field:report.partner_member.year_new,paid_amount:0
#: field:report.partner_member.year_new,paid_number:0
msgid "Paid"
-msgstr ""
+msgstr "Betalad"
#. module: membership
#: selection:membership.membership_line,state:0
#. module: membership
#: constraint:product.product:0
msgid "Error: Invalid ean code"
-msgstr ""
+msgstr "Fel: felaktig EAN-kod"
#. module: membership
#: field:report.partner_member.year,year:0
</group>
<group col="2" colspan="2">
<separator colspan="2" string="Planification"/>
- <field name="date_planned" select="1" widget="date"/>
+ <field name="date_planned" select="1"/>
<field name="procure_method" select="2"/>
<field name="priority" groups="base.group_extended"/>
</group>
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="1">
-
+
<!--
Resource: project.project
-->
<record id="base.main_company" model="res.company">
<field name="project_time_mode_id" ref="product.uom_hour"></field>
</record>
-
+
<!-- Task Types -->
<record id="project_tt_specification" model="project.task.type">
<field name="sequence">1</field>
<field name="sequence">4</field>
<field name="name">Merge</field>
</record>
-
+
<!-- Projects -->
<record id="project_project_9" model="project.project">
<field name="warn_manager">1</field>
<field name="priority">10</field>
<field name="parent_id" ref="project_project_9"/>
<field name="name">Study + Prototype</field>
- <field model="account.analytic.account" name="category_id" search="[('name','=', 'Seagate P1')]"/>
<field name="manager" ref="base.user_root"/>
<field eval="[(6, 0, [ref('project_tt_specification'),ref('project_tt_development')])]" name="type_ids"/>
</record>
<field name="priority">20</field>
<field name="parent_id" ref="project_project_9"/>
<field name="name">Specific Developements</field>
- <field model="account.analytic.account" name="category_id" search="[('name','=', 'Seagate P1')]"/>
<field name="manager" ref="base.user_root"/>
<field eval="[(6, 0, [ref('project_tt_specification'), ref('project_tt_development')])]" name="type_ids"/>
</record>
<field name="priority">30</field>
<field name="parent_id" ref="project_project_9"/>
<field name="name">Install, data import, configuration</field>
- <field model="account.analytic.account" name="category_id" search="[('name','=', 'Seagate P1')]"/>
<field name="manager" ref="base.user_root"/>
<field eval="[(6, 0, [ref('project_tt_development')])]" name="type_ids"/>
</record>
-
+
<!-- Tasks -->
<record id="project_task_116" model="project.task">
<field name="planned_hours">38.0</field>
# -*- coding: utf-8 -*-
##############################################################################
-#
+#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# 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 <http://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
- "name" : "Caldav task management",
- "version" : "1.0",
- "author" : "Tiny",
- "category" : "Generic Modules/Others",
- "description": """ Synchronize between Project task and Caldav Vtodo.""",
- "depends" : ["project", "caldav"],
- "init_xml" : ["project_caldav_data.xml"],
- "demo_xml" : [],
- "update_xml" : ["project_caldav_view.xml",
- "project_caldav_wizard.xml"],
- "active": False,
- "website": "http://www.openerp.com",
- "installable": True,
+ "name" : "Caldav task management",
+ "version" : "1.0",
+ "author" : "Tiny",
+ "category" : "Generic Modules/Others",
+ "description": """ Synchronize between Project task and Caldav Vtodo.""",
+ "depends" : ["project", "caldav", "base_calendar"],
+ "init_xml" : ["project_caldav_data.xml"],
+ "demo_xml" : [],
+ "update_xml" : ["project_caldav_view.xml",
+ "project_caldav_wizard.xml"],
+ "active": False,
+ "website": "http://www.openerp.com",
+ "installable": True,
}
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
-
+
<record id="view_project_caldav_task_form" model="ir.ui.view">
<field name="name">project.task.caldav.form</field>
<field name="model">project.task</field>
</page>
</notebook>
</field>
- </record>
-
+ </record>
+
<record id="view_project_caldav_task_form1" model="ir.ui.view">
<field name="name">project.task.caldav.form1</field>
<field name="model">project.task</field>
<field name="class" />
</field>
</field>
- </record>
-
+ </record>
+
<record id="view_project_caldav_task_form2" model="ir.ui.view">
<field name="name">project.task.caldav.form2</field>
<field name="model">project.task</field>
<field name="arch" type="xml">
<field name="progress" position="after">
<group colspan="2" col="3">
- <field name="rrule_type" string="Recurrency"
+<!-- <field name="rrule_type" string="Recurrency"
on_change="onchange_rrule_type(rrule_type)" colspan="1" />
+--> <field name="rrule_type" string="Recurrency"
+ colspan="1" />
<button string="Custom" name="101"
icon="gtk-save-as" type="action"
context="{'model' : 'project.task'}"
</field>
</field>
</record>
-
+
<record id="view_project_caldav_task_form3" model="ir.ui.view">
<field name="name">project.task.caldav.form3</field>
<field name="model">project.task</field>
</field>
</field>
</record>
-
+
</data>
</openerp>
# -*- coding: utf-8 -*-
##############################################################################
-#
+#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# 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 <http://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
_description = 'project.project'
def write(self, cr, uid, ids,vals, *args, **kwargs):
- if 'date_end' in vals and vals['date_end']:
+ if 'date' in vals and vals['date']:
data_project = self.browse(cr,uid,ids)
for prj in data_project:
- c= date(*time.strptime(vals['date_end'],'%Y-%m-%d')[:3])
- if prj.date_end:
- d= date(*time.strptime(prj.date_end,'%Y-%m-%d')[:3])
+ c= date(*time.strptime(vals['date'],'%Y-%m-%d')[:3])
+ if prj.date:
+ d= date(*time.strptime(prj.date,'%Y-%m-%d')[:3])
for task in prj.tasks:
start_dt = (datetime(*time.strptime(task.date_start,'%Y-%m-%d %H:%M:%S')[:6])+(c-d)).strftime('%Y-%m-%d %H:%M:%S')
if task.date_deadline:
self.pool.get('project.task').write(cr,uid,task.id,{'date_start':start_dt, 'date_deadline':deadline_dt})
else:
self.pool.get('project.task').write(cr,uid,task.id,{'date_start':start_dt})
- return super(project_project,self).write(cr, uid, ids,vals, *args, **kwargs)
+ return super(project_project,self).write(cr, uid, ids, vals, *args, **kwargs)
project_project()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# -*- coding: utf-8 -*-
##############################################################################
-#
+#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
# 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 <http://www.gnu.org/licenses/>.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from osv import fields, osv
res['general_account_id'] = a
res['product_uom_id'] = emp.product_id.uom_id.id
return res
-
+
def create(self, cr, uid, vals, *args, **kwargs):
- obj = self.pool.get('hr.analytic.timesheet')
+ obj_timesheet = self.pool.get('hr.analytic.timesheet')
+ task_obj = self.pool.get('project.task')
vals_line = {}
- obj_task = self.pool.get('project.task').browse(cr, uid, vals['task_id'])
+ obj_task = task_obj.browse(cr, uid, vals['task_id'])
result = self.get_user_related_details(cr, uid, vals.get('user_id', uid))
vals_line['name'] = '%s: %s' % (tools.ustr(obj_task.name), tools.ustr(vals['name']) or '/')
vals_line['user_id'] = vals['user_id']
vals_line['unit_amount'] = vals['hours']
acc_id = obj_task.project_id.category_id.id
vals_line['account_id'] = acc_id
- res = obj.on_change_account_id(cr, uid, False, acc_id)
+ res = obj_timesheet.on_change_account_id(cr, uid, False, acc_id)
if res.get('value'):
vals_line.update(res['value'])
vals_line['general_account_id'] = result['general_account_id']
vals_line['journal_id'] = result['journal_id']
vals_line['amount'] = 00.0
vals_line['product_uom_id'] = result['product_uom_id']
- timeline_id = obj.create(cr, uid, vals_line, {})
-
+ amount = vals_line['unit_amount']
+ prod_id = vals_line['product_id']
+ unit = False
+ timeline_id = obj_timesheet.create(cr, uid, vals=vals_line, context=kwargs['context'])
+
# Compute based on pricetype
- amount_unit=obj.on_change_unit_amount(cr, uid, line_id,
- vals_line['product_id'], vals_line['unit_amount'], unit, context)
-
- vals_line['amount'] = (-1) * vals['hours']* (unit_amount or 0.0)
- obj.write(cr, uid,[timeline_id], vals_line, {})
+ amount_unit=obj_timesheet.on_change_unit_amount(cr, uid, timeline_id,
+ prod_id, amount, unit, context=kwargs['context'])
+
+ vals_line['amount'] = (-1) * vals['hours']* (amount_unit['value']['amount'] or 0.0)
+ obj_timesheet.write(cr, uid,[timeline_id], vals_line, {})
vals['hr_analytic_timesheet_id'] = timeline_id
return super(project_work,self).create(cr, uid, vals, *args, **kwargs)
def write(self, cr, uid, ids, vals, context=None):
vals_line = {}
-
- task = self.pool.get('project.task.work').browse(cr, uid, ids)[0]
+ obj = self.pool.get('hr.analytic.timesheet')
+ timesheet_obj = self.pool.get('hr.analytic.timesheet')
+ task = self.pool.get('project.task.work').browse(cr, uid, ids, context=context)[0]
line_id = task.hr_analytic_timesheet_id
# in case,if a record is deleted from timesheet,but we change it from tasks!
- list_avail_ids = self.pool.get('hr.analytic.timesheet').search(cr, uid, [])
+ list_avail_ids = timesheet_obj.search(cr, uid, [], context=context)
if line_id in list_avail_ids:
- obj = self.pool.get('hr.analytic.timesheet')
if 'name' in vals:
vals_line['name'] = '%s: %s' % (tools.ustr(task.task_id.name), tools.ustr(vals['name']) or '/')
if 'user_id' in vals:
vals_line['date'] = vals['date'][:10]
if 'hours' in vals:
vals_line['unit_amount'] = vals['hours']
-
# Compute based on pricetype
- amount_unit=obj.on_change_unit_amount(cr, uid, line_id,
- vals_line['product_id'], vals_line['unit_amount'], unit, context)
-
- vals_line['amount'] = (-1) * vals['hours'] * (amount_unit or 0.0)
- obj.write(cr, uid, [line_id], vals_line, {})
+ unit = False
+ amount_unit=obj.on_change_unit_amount(cr, uid, line_id,
+ vals_line['product_id'], vals_line['unit_amount'], unit, context=context)
+
+ vals_line['amount'] = (-1) * vals['hours'] * (amount_unit['value']['amount'] or 0.0)
+ obj.write(cr, uid, [line_id], vals_line, context=context)
return super(project_work,self).write(cr, uid, ids, vals, context)
if task_obj.work_ids:
work_ids = [x.id for x in task_obj.work_ids]
self.pool.get('project.task.work').unlink(cr, uid, work_ids, *args, **kwargs)
-
+
return super(task,self).unlink(cr, uid, ids, *args, **kwargs)
-
+
def write(self, cr, uid, ids,vals,context={}):
if (vals.has_key('project_id') and vals['project_id']) or (vals.has_key('name') and vals['name']):
vals_line = {}
"Project-Id-Version: openobject-addons\n"
"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
"POT-Creation-Date: 2009-08-28 16:01+0000\n"
-"PO-Revision-Date: 2009-12-29 10:05+0000\n"
-"Last-Translator: NightSpirit <Unknown>\n"
+"PO-Revision-Date: 2010-03-15 14:30+0000\n"
+"Last-Translator: Henri Kovalainen <Unknown>\n"
"Language-Team: Finnish <fi@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Launchpad-Export-Date: 2010-03-11 04:57+0000\n"
+"X-Launchpad-Export-Date: 2010-03-16 04:46+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
#. module: report_sale
#. module: report_sale
#: field:report.sale.order.created,amount_untaxed:0
msgid "Untaxed Amount"
-msgstr "Veroton määrä"
+msgstr "Veroton summa"
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Scrum Sprint">
- <field name="name" select="1"/>
- <field name="date"/>
- <field name="sprint_id"/>
+ <group colspan="4" col="6">
+ <field name="name" select="1"/>
+ <field name="date"/>
+ <field name="sprint_id"/>
+ </group>
<notebook colspan="4">
<page string="Scrum Meeting">
<separator colspan="4" string="What have you accomplished since yesterday ?"/>
<field name="arch" type="xml">
<search string="Scrum Sprint">
<group col="10" colspan="4">
+ <filter icon="terp-project" string="Daily" domain="[('date','=',time.strftime(%%Y-%%m-%%d))]" help="Daily Meetings"/>
+ <separator orientation="vertical"/>
<field name="name"/>
- <field name="sprint_id" widget="selection"/>
+ <field name="sprint_id">
+ <filter icon="terp-project" string="Current" domain="[('sprint_id.state','in',('draft','open'))]" help="Current Sprints" default="1"/>
+ </field>
<field name="date"/>
</group>
<newline/>
"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-16 20:04+0000\n"
-"Last-Translator: Andreas Porevopoulos <Unknown>\n"
+"PO-Revision-Date: 2010-03-15 21:55+0000\n"
+"Last-Translator: j0hn aka c7p <c7p.admin@gmail.com>\n"
"Language-Team: nls@hellug.gr <nls@hellug.gr>\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-11 04:40+0000\n"
+"X-Launchpad-Export-Date: 2010-03-16 04:46+0000\n"
"X-Generator: Launchpad (build Unknown)\n"
"X-Poedit-Country: GREECE\n"
"X-Poedit-Language: Greek\n"
#. module: stock
#: rml:stock.picking.list:0
msgid "Shipping Address :"
-msgstr ""
+msgstr "Ταχυδρομική Διεύθυνση :"
#. module: stock
#: view:stock.tracking:0