Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

...

How to set up model configurations for Oregional REST API.

Tip

Model configurations allow to refine how a model should be made available to a remote application.

Highlights: 

  • add an icon to the model that can be sent to the remote application to help users visually to identify quickly the type of odoo record they see on a Confluence page
  • change the display name of the model, eg: for res.partner instead of "Contacts" you might want to display "Partners" in Confluence
  • limit the list of fields that can be displayed in Confluence (you might not want to allow certain sensitive fields to be able to be queried from Confluence)
  • link a model configuration to any model scheme

The app is shipped with the Default partner configuration scheme to give you an idea about this feature.

Panel
titleBGColor#DDDDDD

Table of Contents

Model configurations menu

Image Removed

Model configuration list

Info

The list of active model configurations is displayed by default. 

Image Removed

Note

Inactive model configurations can be opened using seach filter and search for field Active with value is false

 Model configuration settings

Tip

Only users with Oregional Odoo App administrator permission can make settings for model configurations

Note

There are three ways to limit the list of models:

  • None: there is no limit, all models are available
  • Blacklist: all models except for the listed models are available
  • Whitelist: only the listed models are available

Not all fields make sense or are wise to make available to users in Confluence, so it can be useful to use limits.

Image Removed

...

Fields tab

Info

Fields for the selected model that are allowed to be used in Confluence.

Note

There are three ways to limit the list of fields:

  • None: there is no limit, all fields are available
  • Blacklist: all fields except for the listed fields are available
  • Whitelist: only the listed fields are available

Not all fields make sense or advised to be used in Confluence, but it is up to you, what you allow. Just give it some thoughts before allowing all fields. 

Model schemes tab

Info

Quickly link this configuration to model schemes. You can also unlink them here.

Audit tab

...

Quick information about:

...

We have been moved. Please follow the redirect link to the new documentation.

Expertisefinder redirect
forcedfalse
dest{"value":"https://docs.meta-inf.hu/odoo-connector/user-guide/confluence-connector-for-odoo/confluence-connector-for-admins/model-configuration-settings"}
typeurl
enabledtrue