Saturday, April 2, 2022
2 changes · master
Miscellaneous changes
This commit removes the multilang feature on the /web/login/totp controller, it doesn't really add value since it triggers a redirect and that the page is all the same translated. It is a good practice by default for SEO, but in this case it brings some bug with the IOS apps that doesn't follow the redirect, while we don't need to optimize this page for Search Engine. The bug into the IOS apps, create a loop when we request the totp screen. Device request /web/login/totp Serv
Original PR description
This commit removes the multilang feature on the /web/login/totp controller,
it doesn't really add value since it triggers a redirect and that the page is
all the same translated.
It is a good practice by default for SEO, but in this case it brings
some bug with the IOS apps that doesn't follow the redirect, while we don't
need to optimize this page for Search Engine.
The bug into the IOS apps, create a loop when we request the totp screen.
Device request /web/login/totp
Server ask a redirect to /fr_FR/web/login/totp
Device redirect to /web/login/totp
Server ask a redirect to /fr_FR/web/login/totp
...
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#87740Demo data to improve the flow of testing the edi. A bank account and a partner with a street/city/zipcode/codice fiscale are required for the edi, so having these as demo data is useful. The demo company vat code and codice fiscale are also changed to those of a valid company, so that they will be accepted by the sdi testing environment. The address of the demo company is updated so that, if by accident, an invoice is sent using the demo company, through the official channel, the address
Original PR description
Demo data to improve the flow of testing the edi. A bank account and a partner with a street/city/zipcode/codice fiscale are required for the edi, so having these as demo data is useful. The demo company vat code and codice fiscale are also changed to those of a valid company, so that they will be accepted by the sdi testing environment. The address of the demo company is updated so that, if by accident, an invoice is sent using the demo company, through the official channel, the address will make it an obvious test. task-id: 2809328 Forward-Port-Of: odoo/odoo#87249