Docs: Correct Parameter Name/Description for mail() (#2814)

This commit is contained in:
Bernd Mohring
2022-09-22 21:56:19 +02:00
committed by GitHub
parent 4207b2c0fb
commit 6aedfbd42e

View File

@@ -121,7 +121,7 @@ def mail(email: Union[str, Sequence[str]], subject: str, template: Union[str, La
:param order: The order this email is related to (optional). If set, this will be used to include a link to the
order below the email.
:param order: The order position this email is related to (optional). If set, this will be used to include a link
:param position: The order position this email is related to (optional). If set, this will be used to include a link
to the order position instead of the order below the email.
:param headers: A dict of custom mail headers to add to the mail
@@ -141,7 +141,7 @@ def mail(email: Union[str, Sequence[str]], subject: str, template: Union[str, La
:param user: The user this email is sent to
:param customer: The user this email is sent to
:param customer: The customer this email is sent to
:param attach_cached_files: A list of cached file to attach to this email.