read parties of supplier+company from xml + tests

This commit is contained in:
Frederik Jaeckel 2025-01-07 15:32:51 +01:00
parent 8a48fb7236
commit 0a4e933188
6 changed files with 338 additions and 13 deletions

View file

@ -13,3 +13,31 @@ msgstr "XML import für %(xmltype)s nicht implementiert."
msgctxt "model:ir.message,text:msg_convert_error"
msgid "Conversion error: %(msg)s."
msgstr "Konvertierfehler: %(msg)s."
msgctxt "model:ir.message,text:msg_no_supplierparty"
msgid "Supplier party '%(partytxt)s' not found. Auto-creation is currently turned off."
msgstr "Lieferantenpartei '%(partytxt)s' nicht gefunden. Das automatische Erstellen ist derzeit ausgeschaltet."
msgctxt "model:ir.message,text:msg_not_our_company"
msgid "The buyer party '%(partytxt)s' differs from the corporate party."
msgstr "Die Käuferpartei '%(partytxt)s' weicht von der Unternehmenspartei ab."
###################################
# document.incoming.configuration #
###################################
msgctxt "field:document.incoming.configuration,create_supplier:"
msgid "Create Supplier Party"
msgstr "Lieferantenpartei erstellen"
msgctxt "help:document.incoming.configuration,create_supplier:"
msgid "Creates the vendor party if it does not exist. Generates an import error when turned off and the party is missing."
msgstr "Erstellt die Lieferantenpartei, sofern sie nicht vorhanden ist. Erzeugt einem Importfehler wenn ausgeschaltet und die Partei fehlt."
msgctxt "field:document.incoming.configuration,accept_other_company:"
msgid "Accept other company"
msgstr "anderes Unternehmen akzeptieren"
msgctxt "help:document.incoming.configuration,accept_other_company:"
msgid "Accepts invoices created for a company other than the current one."
msgstr "Akzeptiert Rechnungen welche für ein anderes Unternehmen als das aktuelle erstellt wurden."

View file

@ -10,3 +10,26 @@ msgctxt "model:ir.message,text:msg_convert_error"
msgid "Conversion error: %(msg)s."
msgstr "Conversion error: %(msg)s."
msgctxt "model:ir.message,text:msg_no_supplierparty"
msgid "Supplier party '%(partytxt)s' not found. Auto-creation is currently turned off."
msgstr "Supplier party '%(partytxt)s' not found. Auto-creation is currently turned off."
msgctxt "model:ir.message,text:msg_not_our_company"
msgid "The buyer party '%(partytxt)s' differs from the corporate party."
msgstr "The buyer party '%(partytxt)s' differs from the corporate party."
msgctxt "field:document.incoming.configuration,create_supplier:"
msgid "Create Supplier Party"
msgstr "Create Supplier Party"
msgctxt "help:document.incoming.configuration,create_supplier:"
msgid "Creates the vendor party if it does not exist. Generates an import error when turned off and the party is missing."
msgstr "Creates the vendor party if it does not exist. Generates an import error when turned off and the party is missing."
msgctxt "field:document.incoming.configuration,accept_other_company:"
msgid "Accept other company"
msgstr "Accept other company"
msgctxt "help:document.incoming.configuration,accept_other_company:"
msgid "Accepts invoices created for a company other than the current one."
msgstr "Accepts invoices created for a company other than the current one."