Files
odoo_source/addons/website_sale
Jorge Pinna PuissantandMichael Mattiello (mcm) c7c2959449 [IMP] web, *: simplification and standardization of the settings arch
The aim of this commit is to simplify and standardize the settings archs.

To do this, a small DSL exclusively for the settings was created. This
new DSL introduces 3 tags: `app`, `block` and `setting`.

The `app` tag is used to declare the application on the settings view.
It creates an entry with its logo on the sidebar of the view. It also
acts as delimiter when searching.

```xml
    <app string="CRM" name="crm">
    ...
    </app>
```

- `string` : The "display" name of the application.
- `name` : The technical name of the application (the name of the module).
- `logo` *optional* : The relative path to the logo. If not set, the
        logo is created using the `name` parameter :
        `/{name}/static/description/icon.png`.

The `block` tag is used to declare a group of settings. This group can
have a title and a description/help.

```xml
    <block title="Title of group Bar">
    ...
    </block>
```

- `title` *optional* : The title of the block of settings (the old h2),
        you can perform research on its text.
- `help` *optional* : The description/help of the block of settings
        (the old h3), you can perform research on its text.

The `setting` tag is used to declare the setting itself. The first field
in the setting is used as the main field (optional). This field is
placed on the left panel (if it's a boolean field) or on the top of the
right panel (otherwise). The field is also used to create the setting
label if a `string` is not defined. The `setting` tag can also contain
more elements (e.g. html), all of these elements are rendered in the
right panel.

```xml
    <setting string="this is bar">
        <field name="bar"/>
        ...More elements
    </setting>
```

- `type` *optional* : By default, a setting is visually separated on two
        panels (left and right), and is used to edit a given field. By
        defining `type='header'`, a special kind of setting is rendered
        instead. This setting is used to modify the scope of the other
        settings. For example, on the website application, this setting
        is used to indicate to which website the other settings apply.
        The header setting is visually represented as a yellow banner on
        the top of the screen.
- `string` *optional* : The text used as label of the setting. If it's
        not defined, the first field is used as label.
- `title` *optional* : The text used as tooltip.
- `help` *optional* : The help/description of the setting. This text is
        displayed just below the setting label (with classname
        `text-muted`).
- `company_dependent` *optional* : If this attribute is set to "1" an
        icon is displayed next to the setting label to explicit that
        this setting is company-specific.
- `documentation` *optional* :  If this attribute is set, an icon is
        added next to the setting label, this icon is a link to the
        documentation. Note that you can use relative or absolute path.
        The relative path is relative to
        `https://www.odoo.com/documentation/server_version`, so it's not
        necessary to hard-code the server version on the arch anymore.

closes odoo/odoo#106425

Task-id: 3081367
Related: odoo/enterprise#34337
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Co-authored-by: "Michael Mattiello (mcm)" <mcm@odoo.com>
2022-12-02 14:40:25 +01:00
..
…

Odoo e-Commerce

Optimize sales with an awesome online store.

Odoo is an Open Source eCommerce unlike anything you have ever seen before. Get an awesome catalog of products and great product description pages.

It's full-featured, integrated with your management software, fully customizable and super easy.

Create Awesome Product Pages

Odoo's unique 'edit inline' and building blocks approach makes product pages creation surprisingly easy. "Want to change the price of a product? or put it in bold? Want to add a banner for a specific product?" just click and change. What you see is what you get. Really.

Drag & Drop well designed 'Building Blocks' to create beautifull product pages that your customer will love.

Increase Your Revenue Per Order

The built-in cross-selling feature helps you offer extra products related to what the shopper put in his cart. (e.g. accessories)

Odoo's upselling algorythm allows you to show visitors similar but more expensive products than the one in view, with incentives.

The inline editing feature allows you to easily change a price, launch a promotion or fine tune the description of a product, in a just a click.

A Clean Google Analytics Integration

Get a clear visibility of your sales funnel. Odoo's Google Analytics trackers are configured by default to track all kind of events related to shopping carts, call-to-actions, etc.

As Odoo marketing tools (mass mailing, campaigns, etc) are also linked with Google Analytics, you get a complete view of your business.

Target New Markets

Get your website translated in multiple languages with no effort. Odoo proposes and propagates translations automatically across pages.

Our translation "on demand" features allows you to benefit from professional translators to translate all your changes automatically. Just change any part of your website (a new blog post, a page modification, product descriptions, ...) and the translated versions are updated automatically in around 32 hours.

Fine Tune Your Catalog

Get full control on how you display your products in the catalog page: promotional ribbons, related size of products, discounts, variants, grid/list view, etc.

Edit any product inline to make your website evolve with your customer need.

Acquire New Customers

SEO tools are ready to use, with no configuration required. Odoo suggests keywords according to Google most searched terms, Google Analytics tracks your shopping cart events, sitemap are created automatically for Google indexation, etc.

We even do structured content automatically to promote your product and events efficiently in Google.

Leverage Social Media

Create new landing pages easily with the Odoo inline editing feature. Send visitors of your different marketing campaigns to specific landing pages to optimize conversions.

Manage a Reseller Network

Manage a reseller network to target new market, have local presences or broaden your distribution. Give them access to your reseller portal for an efficient collaboration.

Promote your resellers online, forward leads to resellers (with built-in geolocalisation feature), define specific pricelists, launch a loyalty program (offer specific discounts to your best customers or resellers), etc.

Benefit from the power of Odoo, in your online store: a powerfull tax engine, flexible pricing structures, a real inventory management solution, a reseller interface, support for products with different behaviours; physical goods, events, services, variants and options, etc.

You don't need to interface with your warehouse, sales or accounting software. Everything is integrated with Odoo. No pain, real time.

A Clean Checkout Process

Convert most visitor interests into real orders with a clean checkout process with a minimal number of steps and a great useability on every page.

Customize your checkout process to fit your business needs: payment modes, delivery methods, cross-selling, special conditions, etc.

And much more...

Online Sales

  • Mobile Interface
  • Sell products, events or services
  • Flexible pricelists
  • Product multi-variants
  • Multiple stores
  • Great checkout process

Customer Service

  • Customer Portal to track orders
  • Assisted shopping with website live chats
  • Returns management
  • Advanced shipping rules
  • Coupons or gift certificates

Order Management

  • Advanced warehouse management features
  • Invoicing and accounting integration
  • Mass mailing and customer segmentations
  • Lead automation and marketing campaigns
  • Persistent shopping cart

Fully Integrated With Other Apps

CMS

Easily create awesome websites with no technical knowledge required.

Blogs

Write news, attract new visitors, build customer loyalty.

Online Events

Schedule, organize, promote or sell events online; conferences, webinars, trainings, etc.