line: änderungesperre bei diversen wf-zuständen + test,

abstimmung: datum/betrag anfang/ende korrekt + test für beträge muß noch
This commit is contained in:
Frederik Jaeckel 2022-08-12 16:43:49 +02:00
parent 01825cc09c
commit 149baef174
10 changed files with 1099 additions and 64 deletions

View file

@ -38,6 +38,22 @@ msgctxt "model:ir.message,text:msg_line_deny_delete2"
msgid "The cashbook line '%(linetxt)s' cannot be deleted, its in state '%(linestate)s'."
msgstr "Die Kassenbuchzeile '%(linetxt)s' kann nicht gelöscht werden, da sie im Status '%(linestate)s' ist."
msgctxt "model:ir.message,text:msg_line_deny_stateedit_with_recon"
msgid "The status cannot be changed to 'Edit' as long as the line '%(recname)s' is associated with a reconciliation."
msgstr "Der Status kann nicht in 'Bearbeiten' geändert werden, solange die Zeile '%(recname)s' mit einer Abstimmung verbunden ist."
msgctxt "model:ir.message,text:msg_line_deny_write"
msgid "The cashbook line '%(recname)s' is '%(state_txt)s' and cannot be changed."
msgstr "Die Kassenbuchzeile '%(recname)s' ist '%(state_txt)s' und kann nicht geändert werden."
msgctxt "model:ir.message,text:msg_recon_deny_delete1"
msgid "The reconciliation '%(recontxt)s' cannot be deleted because the Cashbook '%(bookname)s' is in state '%(bookstate)s'."
msgstr "Die Abstimmung '%(recontxt)s' kann nicht gelöscht werden, weil das Kassenbuch '%(bookname)s' im Status '%(bookstate)s' ist."
msgctxt "model:ir.message,text:msg_recon_deny_delete2"
msgid "The reconciliation '%(recontxt)s' cannot be deleted, its in state '%(reconstate)s'."
msgstr "Die Abstimmung '%(recontxt)s' kann nicht gelöscht werden, da sie im Status '%(reconstate)s' ist."
msgctxt "model:ir.message,text:msg_setting_already_exists"
msgid "Settings for this user alredy exists."
msgstr "Einstellungen für diesen Benutzer sind bereits vorhanden."
@ -58,6 +74,22 @@ msgctxt "model:ir.message,text:msg_book_err_startamount_with_lines"
msgid "The initial amount of the cash book '%(bookname)s' cannot be changed because it already contains bookings."
msgstr "Der Anfangsbetrag des Kassenbuchs '%(bookname)s' kann nicht geändert werden, da es bereits Buchungen enthält."
msgctxt "model:ir.message,text:msg_line_deny_recon_by_state"
msgid "For reconciliation, the line '%(recname)s' must be in the status 'Check' or 'Done'."
msgstr "Für die Abstimmung muss die Zeile '%(recname)s' im Status 'Prüfen' oder 'Fertig' sein."
msgctxt "model:ir.message,text:mds_recon_deny_line_not_check"
msgid "For the reconciliation '%(reconame)s' of the cashbook '%(bookname)s', all lines in the date range from '%(datefrom)s' to '%(dateto)s' must be in the 'Check' state."
msgstr "Für die Abstimmung '%(reconame)s' des Kassenbuchs '%(bookname)s' müssen alle Zeilen im Datumsbereich von '%(datefrom)s' bis '%(dateto)s' im Zustand 'Prüfen' sein."
msgctxt "model:ir.message,text:msg_line_deny_write_by_reconciliation"
msgid "The line '%(recname)s' cannot be changed because the reconciliation '%(reconame)s'is 'Done'."
msgstr "Die Zeile '%(recname)s' kann nicht geändert werden, da die Abstimmung '%(reconame)s' ist."
msgctxt "model:ir.message,text:msg_recon_err_overlap"
msgid "The date range overlaps with another reconciliation."
msgstr "Der Datumsbereich überschneidet sich mit einer anderen Abstimmung."
#############
# res.group #
@ -801,3 +833,11 @@ msgstr "Geschlossen"
msgctxt "selection:cashbook.recon,state_cashbook:"
msgid "Archive"
msgstr "Archiv"
msgctxt "field:cashbook.recon,start_amount:"
msgid "Start Amount"
msgstr "Anfangsbetrag"
msgctxt "field:cashbook.recon,end_amount:"
msgid "End Amount"
msgstr "Endbetrag"

View file

@ -23,8 +23,8 @@ msgid "The cashbook '%(bookname)s' cannot be deleted because it contains %(bookl
msgstr "The cashbook '%(bookname)s' cannot be deleted because it contains %(booklines)s lines and is not in the status 'Archive'."
msgctxt "model:ir.message,text:msg_book_deny_write"
msgid "The cash book '%(bookname)s' is '%(state_txt)s' and cannot be changed."
msgstr "The cash book '%(bookname)s' is '%(state_txt)s' and cannot be changed."
msgid "The cashbook '%(bookname)s' is '%(state_txt)s' and cannot be changed."
msgstr "The cashbook '%(bookname)s' is '%(state_txt)s' and cannot be changed."
msgctxt "model:ir.message,text:msg_line_deny_delete1"
msgid "The cashbook line '%(linetxt)s' cannot be deleted because the Cashbook '%(bookname)s' is in state '%(bookstate)s'."
@ -34,6 +34,18 @@ msgctxt "model:ir.message,text:msg_line_deny_delete2"
msgid "The cashbook line '%(linetxt)s' cannot be deleted, its in state '%(linestate)s'."
msgstr "The cashbook line '%(linetxt)s' cannot be deleted, its in state '%(linestate)s'."
msgctxt "model:ir.message,text:msg_line_deny_write"
msgid "The cashbook line '%(recname)s' is '%(state_txt)s' and cannot be changed."
msgstr "The cashbook line '%(recname)s' is '%(state_txt)s' and cannot be changed."
msgctxt "model:ir.message,text:msg_recon_deny_delete1"
msgid "The reconciliation '%(recontxt)s' cannot be deleted because the Cashbook '%(bookname)s' is in state '%(bookstate)s'."
msgstr "The reconciliation '%(recontxt)s' cannot be deleted because the Cashbook '%(bookname)s' is in state '%(bookstate)s'."
msgctxt "model:ir.message,text:msg_recon_deny_delete2"
msgid "The reconciliation '%(recontxt)s' cannot be deleted, its in state '%(reconstate)s'."
msgstr "The reconciliation '%(recontxt)s' cannot be deleted, its in state '%(reconstate)s'."
msgctxt "model:ir.message,text:msg_setting_already_exists"
msgid "Settings for this user alredy exists."
msgstr "Settings for this user alredy exists."
@ -42,6 +54,30 @@ msgctxt "model:ir.message,text:msg_category_name_unique"
msgid "The category name already exists at this level."
msgstr "The category name already exists at this level."
msgctxt "model:ir.message,text:msg_category_account_unique"
msgid "The account is already in use for a category."
msgstr "The account is already in use for a category."
msgctxt "model:ir.message,text:msg_category_type_not_like_parent"
msgid "The type of the current category '%(catname)s' must be equal to the type of the parent category '%(parentname)s'."
msgstr "The type of the current category '%(catname)s' must be equal to the type of the parent category '%(parentname)s'."
msgctxt "model:ir.message,text:msg_book_err_startamount_with_lines"
msgid "The initial amount of the cash book '%(bookname)s' cannot be changed because it already contains bookings."
msgstr "The initial amount of the cash book '%(bookname)s' cannot be changed because it already contains bookings."
msgctxt "model:ir.message,text:msg_line_deny_recon_by_state"
msgid "For reconciliation, the line '%(recname)s' must be in the status 'Check' or 'Done'."
msgstr "For reconciliation, the line '%(recname)s' must be in the status 'Check' or 'Done'."
msgctxt "model:ir.message,text:mds_recon_deny_line_not_check"
msgid "For the reconciliation '%(reconame)s' of the cashbook '%(bookname)s', all lines in the date range from '%(datefrom)s' to '%(dateto)s' must be in the 'Check' state."
msgstr "For the reconciliation '%(reconame)s' of the cashbook '%(bookname)s', all lines in the date range from '%(datefrom)s' to '%(dateto)s' must be in the 'Check' state."
msgctxt "model:ir.message,text:msg_line_deny_write_by_reconciliation"
msgid "The line '%(recname)s' cannot be changed because the reconciliation '%(reconame)s'is 'Done'."
msgstr "The line '%(recname)s' cannot be changed because the reconciliation '%(reconame)s'is 'Done'."
msgctxt "model:res.group,name:group_cashbook"
msgid "Cashbook"
msgstr "Cashbook"
@ -74,6 +110,30 @@ msgctxt "model:ir.rule.group,name:rg_line_read"
msgid "Observer: Cashbook line read"
msgstr "Observer: Cashbook line read"
msgctxt "model:ir.rule.group,name:rg_line_read"
msgid "User in companies"
msgstr "User in companies"
msgctxt "model:ir.rule.group,name:rg_type_companies"
msgid "User in companies"
msgstr "User in companies"
msgctxt "model:ir.rule.group,name:rg_book_companies"
msgid "User in companies"
msgstr "User in companies"
msgctxt "model:ir.rule.group,name:rg_recon_companies"
msgid "User in companies"
msgstr "User in companies"
msgctxt "model:ir.rule.group,name:rg_recon_write_adm"
msgid "Administrators: Reconciliation read/write"
msgstr "Administrators: Reconciliation read/write"
msgctxt "model:ir.rule.group,name:rg_recon_write"
msgid "Owners and reviewers: Reconciliation write"
msgstr "Owners and reviewers: Reconciliation write"
msgctxt "model:ir.ui.menu,name:menu_cashbook"
msgid "Cashbook"
msgstr "Cashbook"
@ -86,7 +146,7 @@ msgctxt "model:ir.ui.menu,name:menu_typeconfig"
msgid "Cashbook Type"
msgstr "Cashbook Type"
msgctxt "model:ir.ui.menu,name:menu_bookconfig"
msgctxt "model:ir.ui.menu,name:menu_booklist"
msgid "Cashbook"
msgstr "Cashbook"
@ -103,8 +163,8 @@ msgid "Category"
msgstr "Category"
msgctxt "model:ir.action,name:act_book_view"
msgid "Account"
msgstr "Account"
msgid "Cashbook"
msgstr "Cashbook"
msgctxt "model:ir.action,name:act_type_view"
msgid "Cashbook Type"
@ -122,6 +182,18 @@ msgctxt "model:ir.ui.menu,name:act_category_view"
msgid "Category"
msgstr "Category"
msgctxt "model:ir.action.act_window.domain,name:act_line_domain_current"
msgid "Current Month"
msgstr "Current Month"
msgctxt "model:ir.action.act_window.domain,name:act_line_domain_last"
msgid "Last Month"
msgstr "Last Month"
msgctxt "model:ir.action.act_window.domain,name:act_line_domain_all"
msgid "All"
msgstr "All"
msgctxt "model:ir.model.button,string:line_wfedit_button"
msgid "Edit"
msgstr "Edit"
@ -146,13 +218,29 @@ msgctxt "model:ir.model.button,string:book_wfarchive_button"
msgid "Archive"
msgstr "Archive"
msgctxt "model:ir.model.button,string:recon_wfedit_button"
msgid "Edit"
msgstr "Edit"
msgctxt "model:ir.model.button,string:recon_wfcheck_button"
msgid "Check"
msgstr "Check"
msgctxt "model:ir.model.button,string:recon_wfdone_button"
msgid "Done"
msgstr "Done"
msgctxt "model:cashbook.book,name:"
msgid "Cashbook"
msgstr "Cashbook"
msgctxt "view:cashbook.book:"
msgid "Owner & Authorizeds"
msgstr "Owner & Authorizeds"
msgid "Owner and Authorizeds"
msgstr "Owner and Authorizeds"
msgctxt "view:cashbook.book:"
msgid "Reconciliations"
msgstr "Reconciliations"
msgctxt "field:cashbook.book,name:"
msgid "Name"
@ -202,14 +290,50 @@ msgctxt "field:cashbook.book,account:"
msgid "Account"
msgstr "Account"
msgctxt "field:cashbook.book,company:"
msgid "Company"
msgstr "Company"
msgctxt "field:cashbook.book,currency:"
msgid "Currency"
msgstr "Currency"
msgctxt "field:cashbook.book,start_balance:"
msgid "Initial Amount"
msgstr "Initial Amount"
msgctxt "field:cashbook.book,balance:"
msgid "Balance"
msgstr "Balance"
msgctxt "field:cashbook.book,reconciliations:"
msgid "Reconciliations"
msgstr "Reconciliations"
msgctxt "field:cashbook.book,lines:"
msgid "Lines"
msgstr "Lines"
msgctxt "model:cashbook.line,name:"
msgid "Cashbook Line"
msgstr "Cashbook Line"
msgctxt "view:cashbook.line:"
msgid "Credit"
msgstr "Credit"
msgctxt "view:cashbook.line:"
msgid "Debit"
msgstr "Debit"
msgctxt "view:cashbook.line:"
msgid "Cashbook Line"
msgstr "Cashbook Line"
msgctxt "view:cashbook.line:"
msgid "Description"
msgstr "Description"
msgctxt "view:cashbook.line:"
msgid "State"
msgstr "State"
@ -246,17 +370,73 @@ msgctxt "field:cashbook.line,month:"
msgid "Month"
msgstr "Month"
msgctxt "model:ir.action.act_window.domain,name:act_line_domain_current"
msgid "Current Month"
msgstr "Current Month"
msgctxt "field:cashbook.line,category:"
msgid "Category"
msgstr "Category"
msgctxt "model:ir.action.act_window.domain,name:act_line_domain_last"
msgid "Last Month"
msgstr "Last Month"
msgctxt "field:cashbook.line,category_view:"
msgid "Category"
msgstr "Category"
msgctxt "model:ir.action.act_window.domain,name:act_line_domain_all"
msgid "All"
msgstr "All"
msgctxt "field:cashbook.line,bookingtype:"
msgid "Type"
msgstr "Type"
msgctxt "help:cashbook.line,bookingtype:"
msgid "Type of Booking"
msgstr "Type of Booking"
msgctxt "selection:cashbook.line,bookingtype:"
msgid "Revenue"
msgstr "Revenue"
msgctxt "selection:cashbook.line,bookingtype:"
msgid "Expense"
msgstr "Expense"
msgctxt "selection:cashbook.line,bookingtype:"
msgid "Transfer from"
msgstr "Transfer from"
msgctxt "selection:cashbook.line,bookingtype:"
msgid "Transfer to"
msgstr "Transfer to"
msgctxt "field:cashbook.line,company:"
msgid "Company"
msgstr "Company"
msgctxt "field:cashbook.line,amount:"
msgid "Amount"
msgstr "Amount"
msgctxt "field:cashbook.line,debit:"
msgid "Debit"
msgstr "Debit"
msgctxt "field:cashbook.line,credit:"
msgid "Credit"
msgstr "Credit"
msgctxt "field:cashbook.line,currency:"
msgid "Currency"
msgstr "Currency"
msgctxt "field:cashbook.line,currency_digits:"
msgid "Currency Digits"
msgstr "Currency Digits"
msgctxt "field:cashbook.line,balance:"
msgid "Balance"
msgstr "Balance"
msgctxt "help:cashbook.line,balance:"
msgid "Balance of the cash book up to the current line, if the default sorting applies."
msgstr "Balance of the cash book up to the current line, if the default sorting applies."
msgctxt "field:cashbook.line,reconciliation:"
msgid "Reconciliation"
msgstr "Reconciliation"
msgctxt "model:cashbook.type,name:"
msgid "Cashbook Type"
@ -270,17 +450,9 @@ msgctxt "field:cashbook.type,short:"
msgid "Abbreviation"
msgstr "Abbreviation"
msgctxt "model:cashbook.type,name:atype_cash"
msgid "Cash"
msgstr "Cash"
msgctxt "model:cashbook.type,name:atype_giro"
msgid "Giro"
msgstr "Giro"
msgctxt "model:cashbook.type,name:atype_fixtermdep"
msgid "Fixed-term deposit"
msgstr "Fixed-term deposit"
msgctxt "field:cashbook.type,company:"
msgid "Company"
msgstr "Company"
msgctxt "model:cashbook.category,name:"
msgid "Category"
@ -330,6 +502,22 @@ msgctxt "field:cashbook.category,right:"
msgid "Right"
msgstr "Right"
msgctxt "field:cashbook.category,cattype:"
msgid "Type"
msgstr "Type"
msgctxt "help:cashbook.category,cattype:"
msgid "Type of Category"
msgstr "Type of Category"
msgctxt "selection:cashbook.category,cattype:"
msgid "Revenue"
msgstr "Revenue"
msgctxt "selection:cashbook.category,cattype:"
msgid "Expense"
msgstr "Expense"
msgctxt "model:cashbook.open_lines.start,name:"
msgid "Open Cashbook"
msgstr "Open Cashbook"
@ -370,11 +558,11 @@ msgctxt "model:cashbook.open_lines,name:"
msgid "Open Cashbook"
msgstr "Open Cashbook"
msgctxt "wizard_button:cashbook.open_lines,start,end:"
msgctxt "wizard_button:cashbook.open_lines,askuser,end:"
msgid "Cancel"
msgstr "Cancel"
msgctxt "wizard_button:cashbook.open_lines,start,open_:"
msgctxt "wizard_button:cashbook.open_lines,askuser,open_:"
msgid "Open"
msgstr "Open"
@ -418,6 +606,10 @@ msgctxt "view:cashbook.configuration:"
msgid "Open Cashbook Wizard"
msgstr "Open Cashbook Wizard"
msgctxt "view:cashbook.configuration:"
msgid "Cashbook"
msgstr "Cashbook"
msgctxt "field:cashbook.configuration,date_from:"
msgid "Start Date"
msgstr "Start Date"
@ -430,10 +622,34 @@ msgctxt "field:cashbook.configuration,checked:"
msgid "Checked"
msgstr "Checked"
msgctxt "help:cashbook.configuration,checked:"
msgid "Show cashbook lines in Checked-state."
msgstr "Show cashbook lines in Checked-state."
msgctxt "field:cashbook.configuration,done:"
msgid "Done"
msgstr "Done"
msgctxt "help:cashbook.configuration,done:"
msgid "Show cashbook lines in Done-state."
msgstr "Show cashbook lines in Done-state."
msgctxt "field:cashbook.configuration,catnamelong:"
msgid "Category: Show long name"
msgstr "Category: Show long name"
msgctxt "help:cashbook.configuration,catnamelong:"
msgid "Shows the long name of the category in the Category field of a cash book line."
msgstr "Shows the long name of the category in the Category field of a cash book line."
msgctxt "field:cashbook.configuration,cataccno:"
msgid "Category: Show account number"
msgstr "Category: Show account number"
msgctxt "help:cashbook.configuration,cataccno:"
msgid "Shows the number of the linked account in the name of a category."
msgstr "Shows the number of the linked account in the name of a category."
msgctxt "model:cashbook.configuration_user,name:"
msgid "User Configuration"
msgstr "User Configuration"
@ -450,3 +666,91 @@ msgctxt "field:cashbook.configuration_user,checked:"
msgid "Checked"
msgstr "Checked"
msgctxt "help:cashbook.configuration_user,checked:"
msgid "Show cashbook lines in Checked-state."
msgstr "Show cashbook lines in Checked-state."
msgctxt "field:cashbook.configuration_user,done:"
msgid "Done"
msgstr "Done"
msgctxt "help:cashbook.configuration_user,done:"
msgid "Show cashbook lines in Done-state."
msgstr "Show cashbook lines in Done-state."
msgctxt "field:cashbook.configuration_user,catnamelong:"
msgid "Category: Show long name"
msgstr "Category: Show long name"
msgctxt "help:cashbook.configuration_user,catnamelong:"
msgid "Shows the long name of the category in the Category field of a cash book line."
msgstr "Shows the long name of the category in the Category field of a cash book line."
msgctxt "field:cashbook.configuration_user,cataccno:"
msgid "Category: Show account number"
msgstr "Category: Show account number"
msgctxt "help:cashbook.configuration_user,cataccno:"
msgid "Shows the number of the linked account in the name of a category."
msgstr "Shows the number of the linked account in the name of a category."
msgctxt "model:cashbook.recon,name:"
msgid "Cashbook Reconciliation"
msgstr "Cashbook Reconciliation"
msgctxt "view:cashbook.recon:"
msgid "Reconciliation period"
msgstr "Reconciliation period"
msgctxt "view:cashbook.recon:"
msgid "State"
msgstr "State"
msgctxt "field:cashbook.recon,cashbook:"
msgid "Cashbook"
msgstr "Cashbook"
msgctxt "field:cashbook.recon,date:"
msgid "Date"
msgstr "Date"
msgctxt "field:cashbook.recon,date_from:"
msgid "Start Date"
msgstr "Start Date"
msgctxt "field:cashbook.recon,date_to:"
msgid "End Date"
msgstr "End Date"
msgctxt "field:cashbook.recon,state:"
msgid "State"
msgstr "State"
msgctxt "selection:cashbook.recon,state:"
msgid "Edit"
msgstr "Edit"
msgctxt "selection:cashbook.recon,state:"
msgid "Check"
msgstr "Check"
msgctxt "selection:cashbook.recon,state:"
msgid "Done"
msgstr "Done"
msgctxt "field:cashbook.recon,lines:"
msgid "Lines"
msgstr "Lines"
msgctxt "field:cashbook.recon,state_cashbook:"
msgid "State of Cashbook"
msgstr "State of Cashbook"
msgctxt "selection:cashbook.recon,state_cashbook:"
msgid "Open"
msgstr "Open"
msgctxt "selection:cashbook.recon,state_cashbook:"
msgid "Closed"
msgstr "Closed"