[IMP] web_widget_many2one_simple: Add a demo view to better test the functionality.

TT40367
This commit is contained in:
Víctor Martínez
2022-11-29 15:37:07 +01:00
parent 74db246f0b
commit a4be947e42
5 changed files with 40 additions and 1 deletions

View File

@@ -1,6 +1,13 @@
You need to declare the usage of the new widget as follows:
``<field name="xxx" widget="many2one_simple" options="...">``
If you have a database with demo data, you can test this widget following these instructions:
#. Go to Contacts.
#. Create or edit a record.
#. Set "Industry" field (in Sales & Purchase tab).
#. Only if you set the correct industry name ("Administrative" for example), it will be defined. Otherwise, it will try to create one with that name.
Example:
~~~~~~~~