Skip to content

Conversation

masp-odoo
Copy link
Contributor

task-5003367

@robodoo
Copy link
Collaborator

robodoo commented Sep 25, 2025

Pull request status dashboard

@masp-odoo masp-odoo force-pushed the 18.0-website-building-blocks-form-masp branch from 01b8076 to 014c66b Compare September 25, 2025 13:29
@masp-odoo masp-odoo marked this pull request as ready for review September 25, 2025 13:30
@masp-odoo
Copy link
Contributor Author

Hey @auva-odoo, this small PR is ready! Thanks a lot 🌻

@masp-odoo masp-odoo requested a review from auva-odoo September 25, 2025 13:31
@masp-odoo masp-odoo force-pushed the 18.0-website-building-blocks-form-masp branch from 014c66b to b9d9a13 Compare September 30, 2025 06:11
@C3POdoo C3POdoo requested a review from a team September 30, 2025 06:13
Copy link
Contributor

@auva-odoo auva-odoo left a comment

Choose a reason for hiding this comment

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

Thank you for this PR @masp-odoo 🙏 I think it'll be very useful! I’ve added some suggestions and comments to help refine the text a bit futher and fit our documentation format better.
Also:

  • I think we should update the main section (Form) to reflect the fact that you have to drag and drop the Contact & Form block category, then select the Form block. I would change add the following sentence after the existing one on line 55: To add a form to a website page, drag and drop the :guilabel:Contact & Formscategory, then select the :guilabel:Form block. (or something similar).
  • For the content you added, I would reformat it to use a numbered list since these are steps, remove the bold, and have each step in the same paragraph (as opposed to having "titles" using bold). This would ensure the format is more in line with our usual formatting for instructions. My individual comments take this into account 🙂

Thank you again!

Add an Odoo contact form on a non-Odoo website
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can display an Odoo contact form on another website using an iframe. Follow these steps:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
You can display an Odoo contact form on another website using an iframe. Follow these steps:
You can display an Odoo contact form on another website using an iframe. To do so, follow these steps:


- **Prepare the Odoo form**

Create a contact form in Odoo removing the header and footer. Delete all information on the page.
Copy link
Contributor

Choose a reason for hiding this comment

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

  • I think we should send add refs to the individual relevant sections on the Headers and footers doc page so people have instructions on how to do this.
  • The second sentence is a bit confusing and could imply you have to delete the form itself (which of course doesn't make sense, but still it's misleading).
  • The suggestion below takes my general comment about formatting into account.
Suggested change
Create a contact form in Odoo removing the header and footer. Delete all information on the page.
#. Prepare the Odoo form: Create a contact form on a page in Odoo Website and remove the :ref:`header <add ref above header design>`and the :ref:`footer <add ref above footer design>`. Make sure only the contact form remains on the page.

Comment on lines 125 to 129
- **Generate an iframe code**

Use an iframe generator to create embeddable code like `La Digitale.dev <https://ladigitale.dev/digitools/generateur-iframe>`_
or `iFrame Generator <https://www.iframe-generator.com/>`_ . Copy the URL of the Odoo form page and
paste it into the generator. Adjust the width and height for proper display.
Copy link
Contributor

Choose a reason for hiding this comment

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

I couldn't really find "iframe code" so I suggest using embeddable code instead (like you did in the first sentence)

Suggested change
- **Generate an iframe code**
Use an iframe generator to create embeddable code like `La Digitale.dev <https://ladigitale.dev/digitools/generateur-iframe>`_
or `iFrame Generator <https://www.iframe-generator.com/>`_ . Copy the URL of the Odoo form page and
paste it into the generator. Adjust the width and height for proper display.
#. Generate an embeddable code: Copy the URL of the Odoo form page and paste it into an iframe generator, such as `La Digitale.dev <https://ladigitale.dev/digitools/generateur-iframe>`_ or `iFrame Generator <https://www.iframe-generator.com/>`_ . Adjust the width and height for proper display.

Comment on lines 132 to 136
- **Add the iframe to the non-Odoo website**

Provide the generated iframe code to the webmaster of this website. If you are editing the website
yourself: open the page’s HTML (in the code editor or CMS) and insert the iframe code at the
position where the form should be displayed.
Copy link
Contributor

Choose a reason for hiding this comment

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

  • In most of our documentaiton, we usually assume the target audience is someone with administrator position/access rights. So in this case, i'd remove the first sentence entirely.
  • Same as above for iframe code
Suggested change
- **Add the iframe to the non-Odoo website**
Provide the generated iframe code to the webmaster of this website. If you are editing the website
yourself: open the page’s HTML (in the code editor or CMS) and insert the iframe code at the
position where the form should be displayed.
#. Add the embedded code to the non-Odoo website: Open the relevant page’s HTML (in the code editor or CMS) and insert the embedded code where the form should be displayed.

position where the form should be displayed.

.. example::
Example of iframe code:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Example of iframe code:
Example of an embedded code:

@masp-odoo masp-odoo force-pushed the 18.0-website-building-blocks-form-masp branch from b9d9a13 to 41732ad Compare October 14, 2025 12:25
@masp-odoo
Copy link
Contributor Author

Thank you for your review @auva-odoo. I can remove the bold from the steps if it doesn't fit our guidelines, but I think it enhances readability. 🤓

@masp-odoo masp-odoo requested a review from auva-odoo October 14, 2025 12:32
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.

3 participants