[ADD] document_page_reference_search

This commit is contained in:
Enric Tobella
2019-12-11 16:18:21 +01:00
committed by Jaime Arroyo
parent 52a705d6c1
commit e79c770e9b
16 changed files with 752 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
* Enric Tobella <etobella@creublanca.es>
* Jaime Arroyo <jaime.arroyo@creublanca.es>

View File

@@ -0,0 +1 @@
This module allows you to reference a record in document pages.

View File

@@ -0,0 +1,9 @@
To reference records in pages you must set rules. Document rules let you
define which models can be referenced and which field will be used as identifier.
For example, we could create a rule named 'RULE1' that allows you to reference
res.partner records based on its 'ref' field.
When editing a document page add elements like ${XYZ} where X is the rule's identifier,
Y is a separator and Z is the value of the record's field we will search.
Now, when viewing the document, it will link directly to the record.
Also, the name will be parsed as the display name.