Skip to content

Instantly share code, notes, and snippets.

@tom10271
Last active October 22, 2020 01:40
Show Gist options
  • Save tom10271/855628e1f461e44ac8b54b1657910c61 to your computer and use it in GitHub Desktop.
Save tom10271/855628e1f461e44ac8b54b1657910c61 to your computer and use it in GitHub Desktop.
<record id="my_data" model="my.model">
<field name="ref_id" eval="'my.ref_model,'+str(ref(...))"/>
<field name="ref_id2" model="my.ref_model" search="..." />
<field name="ref_id3" ref="..."/>
</record>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment