Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use product website url and remove hardcoded image urls in website #34149

Closed

Conversation

fja-odoo
Copy link
Contributor

@fja-odoo fja-odoo commented Jun 14, 2019

Some product links were not using website_url, now that we have an url
for product.product we should use that one to reach the right product.

Some image links were hard coded in the xml views of website, now they
are replaced with website.image_url(model, field).

Task: #2007400

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Jun 14, 2019
@fja-odoo fja-odoo changed the title Master use product website url fja Use product website url and remove hardcoded image urls in website Jun 14, 2019
@C3POdoo C3POdoo added the RD research & development, internal work label Jun 14, 2019
@fja-odoo fja-odoo force-pushed the master-use-product-website-url-fja branch from 361257d to 89bd2a8 Compare June 25, 2019 13:20
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Jun 25, 2019
@fja-odoo fja-odoo force-pushed the master-use-product-website-url-fja branch from 89bd2a8 to 85cfb90 Compare June 25, 2019 16:23
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Jun 25, 2019
@rdeodoo rdeodoo force-pushed the master-use-product-website-url-fja branch from 85cfb90 to 55802df Compare July 22, 2019 16:21
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Jul 22, 2019
@rdeodoo rdeodoo force-pushed the master-use-product-website-url-fja branch from 55802df to 5f51562 Compare July 22, 2019 16:54
@rdeodoo rdeodoo force-pushed the master-use-product-website-url-fja branch from 5f51562 to c4358d2 Compare July 22, 2019 17:12
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Jul 22, 2019
@rdeodoo rdeodoo force-pushed the master-use-product-website-url-fja branch from c4358d2 to 26498ec Compare July 23, 2019 11:05
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Jul 23, 2019
@rdeodoo rdeodoo force-pushed the master-use-product-website-url-fja branch from 26498ec to 2c9a9bb Compare July 23, 2019 11:09
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Jul 23, 2019
@fja-odoo fja-odoo force-pushed the master-use-product-website-url-fja branch from 2c9a9bb to caf9d15 Compare August 1, 2019 10:01
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Aug 1, 2019
Copy link
Contributor

@qsm-odoo qsm-odoo left a comment

Choose a reason for hiding this comment

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

  • review the commit message -> "Task" -> "task"

addons/website_event_sale/views/event_templates.xml Outdated Show resolved Hide resolved
@fja-odoo fja-odoo force-pushed the master-use-product-website-url-fja branch from caf9d15 to a4cd2a5 Compare August 2, 2019 14:50
@robodoo robodoo added CI 🤖 Robodoo has seen passing statuses and removed CI 🤖 Robodoo has seen passing statuses labels Aug 2, 2019
@qsm-odoo
Copy link
Contributor

qsm-odoo commented Aug 5, 2019

@robodoo r+ rebase-ff

@robodoo robodoo added the r+ 👌 label Aug 5, 2019
@robodoo
Copy link
Contributor

robodoo commented Aug 5, 2019

Merge method set to rebase and fast-forward

@qsm-odoo
Copy link
Contributor

qsm-odoo commented Aug 5, 2019

@robodoo r-

* = website_event_sale, website_sale_comparison, website_sale_wishlist

Some product links were not using website_url, now that we have an url
for product.product we should use that one to reach the right product.

Part of odoo#34149
task-2007400
* = website_forum, website_profile, website_sale,
    website_sale_comparison, website_slides, website_slides_survey

Some image links were hard coded in the xml views of website, now they
are replaced with website.image_url(model, field).

Part of odoo#34149
task-2007400
@qsm-odoo qsm-odoo force-pushed the master-use-product-website-url-fja branch from a4cd2a5 to b495338 Compare August 5, 2019 13:25
@robodoo robodoo removed the CI 🤖 Robodoo has seen passing statuses label Aug 5, 2019
Copy link
Contributor

@qsm-odoo qsm-odoo left a comment

Choose a reason for hiding this comment

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

Rebased, reviewed commit message (mention the PR, ...) and resolved conflicts.

@robodoo r+

@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Aug 5, 2019
@robodoo
Copy link
Contributor

robodoo commented Aug 5, 2019

Linked pull request(s) odoo/enterprise#4587 not ready. Linked PRs are not staged until all of them are ready.

robodoo pushed a commit that referenced this pull request Aug 5, 2019
* = website_event_sale, website_sale_comparison, website_sale_wishlist

Some product links were not using website_url, now that we have an url
for product.product we should use that one to reach the right product.

Part of #34149
task-2007400
robodoo pushed a commit that referenced this pull request Aug 5, 2019
* = website_forum, website_profile, website_sale,
website_sale_comparison, website_slides, website_slides_survey

Some image links were hard coded in the xml views of website, now they
are replaced with website.image_url(model, field).

Part of #34149
task-2007400

closes #34149

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
@robodoo
Copy link
Contributor

robodoo commented Aug 5, 2019

Merged at 5dac8f8, thanks!

@robodoo robodoo closed this Aug 5, 2019
@qsm-odoo qsm-odoo deleted the master-use-product-website-url-fja branch August 5, 2019 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants