line/mixin: umrechnung anzahl + tests

This commit is contained in:
Frederik Jaeckel 2023-01-15 00:36:02 +01:00
parent 7990608943
commit 8acfa35289
7 changed files with 695 additions and 74 deletions

View file

@ -18,6 +18,10 @@ msgctxt "model:ir.message,text:msg_line_sign_mismatch"
msgid "Quantity and Amount must with same sign for line %(linetxt)s."
msgstr "Menge und Betrag müssen für Zeile %(linetxt)s mit demselben Vorzeichen versehen werden."
msgctxt "model:ir.message,text:msg_uomcat_mismatch"
msgid "Cannot transfer quantities between cashbooks with different unit-categories (%(cat1)s != %(cat2)s)."
msgstr "Es können keine Mengen zwischen Kassenbüchern mit verschiedenen Einheitenkategorien (%(cat1)s != %(cat2)s) übertragen werden."
#################
# cashbook.book #

View file

@ -14,6 +14,10 @@ msgctxt "model:ir.message,text:msg_line_sign_mismatch"
msgid "Quantity and Amount must with same sign for line %(linetxt)s."
msgstr "Quantity and Amount must with same sign for line %(linetxt)s."
msgctxt "model:ir.message,text:msg_uomcat_mismatch"
msgid "Cannot transfer quantities between cashbooks with different unit-categories (%(cat1)s != %(cat2)s)."
msgstr "Cannot transfer quantities between cashbooks with different unit-categories (%(cat1)s != %(cat2)s)."
msgctxt "view:cashbook.book:"
msgid "Asset"
msgstr "Asset"
@ -142,6 +146,26 @@ msgctxt "help:cashbook.line,quantity_balance:"
msgid "Number of shares in the cashbook up to the current row if the default sort applies."
msgstr "Number of shares in the cashbook up to the current row if the default sort applies."
msgctxt "field:cashbook.line,quantity_2nd_uom:"
msgid "Quantity Second UOM"
msgstr "Quantity Second UOM"
msgctxt "field:cashbook.line,quantity2nd:"
msgid "2nd UOM"
msgstr "2nd UOM"
msgctxt "field:cashbook.line,quantity2nd_digits:"
msgid "2nd UOM Digits"
msgstr "2nd UOM Digits"
msgctxt "field:cashbook.line,factor_2nd_uom:"
msgid "Conversion factor"
msgstr "Conversion factor"
msgctxt "help:cashbook.line,factor_2nd_uom:"
msgid "Conversion factor between the units of the participating cash books."
msgstr "Conversion factor between the units of the participating cash books."
msgctxt "field:cashbook.recon,start_quantity:"
msgid "Start Quantity"
msgstr "Start Quantity"