Improve the help text of xrechnung_routeid.
This commit is contained in:
parent
ddad5e91dd
commit
5ca6b721eb
2 changed files with 10 additions and 5 deletions
|
@ -63,9 +63,12 @@ msgid "X-Rechnung Route-ID"
|
|||
msgstr "X-Rechnung Leitweg-ID"
|
||||
|
||||
msgctxt "help:party.party,xrechnung_routeid:"
|
||||
msgid "Enables the need for an XRechnung route ID at the party for exporting the XRechnung."
|
||||
msgstr "Aktiviert die Notwendigkeit einer XRechnung-Leitweg-ID an der Partei für den Export der XRechnung."
|
||||
|
||||
msgid ""
|
||||
"When activated an XRechnung route ID must be used for this party for X-Rechnung exports.\n"
|
||||
"The route ID must be defined as identifier of type \"X-Rechnung Route-ID\"."
|
||||
msgstr ""
|
||||
"Bei Aktivierung muss eine XRechnung-Leitweg-ID bei Rechnungsexporten für diese Partei benutzt werden.\n"
|
||||
"Die Leitweg-ID muss als Identifikator mit Typ \"X-Rechnung Route-ID\" angelegt werden."
|
||||
|
||||
###############
|
||||
# account.tax #
|
||||
|
|
6
party.py
6
party.py
|
@ -26,8 +26,10 @@ class Party(metaclass=PoolMeta):
|
|||
|
||||
xrechnung_routeid = fields.Boolean(
|
||||
string='X-Rechnung Route-ID',
|
||||
help='Enables the need for an XRechnung route ID at the party ' +
|
||||
'for exporting the XRechnung.')
|
||||
help='When activated an XRechnung route ID must be used '
|
||||
'for this party for X-Rechnung exports.\n'
|
||||
'The route ID must be defined as identifier of type '
|
||||
'"X-Rechnung Route-ID".')
|
||||
|
||||
def get_xrechnung_route_id(self):
|
||||
""" search for route-id at party, fire-exception if missing
|
||||
|
|
Loading…
Reference in a new issue