Skip to content

[15.0][OU-IMP] website: extract footer copyright company name - #4097

Merged
pedrobaeza merged 1 commit into
OCA:15.0from
Tecnativa:15.0-ou-add-website-footer_copyright_company_name
Jul 25, 2023
Merged

[15.0][OU-IMP] website: extract footer copyright company name#4097
pedrobaeza merged 1 commit into
OCA:15.0from
Tecnativa:15.0-ou-add-website-footer_copyright_company_name

Conversation

@pilarvargas-tecnativa

Copy link
Copy Markdown
Contributor

In versions prior to v15 the company name included in the copyright was done in a copy of the website.layout template. Now in v15 it is done in a new template that adds the content website.footer_copyright_company_name. This migration script is intended to extract the content of the old copyright and bring it into the new template.

cc @Tecnativa TT44254

@pedrobaeza please review :)

@pedrobaeza pedrobaeza added this to the 15.0 milestone Jul 20, 2023
Comment thread openupgrade_scripts/scripts/website/15.0.1.0/post-migration.py Outdated
Comment thread openupgrade_scripts/scripts/website/15.0.1.0/post-migration.py
@pilarvargas-tecnativa
pilarvargas-tecnativa force-pushed the 15.0-ou-add-website-footer_copyright_company_name branch 4 times, most recently from 27b1022 to 771580d Compare July 25, 2023 09:17

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested in a real migration

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, not really. Reviewing.

TT44254

Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com>
@pedrobaeza
pedrobaeza force-pushed the 15.0-ou-add-website-footer_copyright_company_name branch from 771580d to 92cb554 Compare July 25, 2023 21:51
@pedrobaeza pedrobaeza changed the title [15.0][OU-ADD] website: extract footer copyright company name [15.0][OU-IMP] website: extract footer copyright company name Jul 25, 2023

@pedrobaeza pedrobaeza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it's adjusted. The problem was that the view may exist.

@pedrobaeza
pedrobaeza merged commit addcb7d into OCA:15.0 Jul 25, 2023
@pedrobaeza
pedrobaeza deleted the 15.0-ou-add-website-footer_copyright_company_name branch July 25, 2023 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants