[IMP] website: show author website for localization on /website/info

Since [1] the l10n modules are displayed together at the bottom of the
page and redirect to the Odoo.com accounting page, regardless of the
localization author.

Now, if the localization was done by a third party, we use that author
website as link.

Note that this is already the case for the regular modules, like the
`payment_mollie` app for instance.

[1]: https://github.com/odoo/odoo/commit/562a2ac270ef8aac3afde05625008cef64f62f89

Part-of: odoo/odoo#91131
This commit is contained in:
Wolfgang Taferner
2022-05-12 14:50:59 +02:00
committed by Romain Derie
parent 89bb842246
commit 6aa942189d
+1 -1
View File
@@ -2102,7 +2102,7 @@
<h2 class='mt32'>Installed Localizations / Account Charts</h2>
<dl class="dl-horizontal" t-foreach="l10n" t-as="app">
<dt>
<a t-attf-href="https://www.odoo.com/app/accounting/#{app.name}">
<a t-att-href="app.website or 'https://www.odoo.com/app/accounting/' + app.name">
<t t-out="app.shortdesc"/>
</a>
</dt>