Add sql_id method to Reference field and use it for index
issue11788 review447351003
This commit is contained in:
1 parent
7892f8ae56
commit
72fd407fdb
6 files changed
+18
-13
No files matched your search
@@ -684,6 +684,10 @@ Instance methods:
|
||||
Same as :meth:`~Selection.translated` but for the translated name of the
|
||||
target model.
|
||||
|
||||
.. method:: Reference.sql_id(column, Model)
|
||||
|
||||
Return the SQL expression that extract the record ID of the column.
|
||||
|
||||
|
||||
Many2One
|
||||
--------
|
||||
|
||||
Reference in new issue
Block a user