InvantiveのドキュメントInvantive Cloudの一部
Invantive サポートフォーラムログイン / 会員登録

attachment: Odoo Attachment

This page is partly available in your language; the rest is shown in the original version.

read only per partition

  • カタログ:Odoo
  • スキーマ: ir
  • ラベル: Attachment

添付ファイル

データの取得のみ可能です。

概要

Attachments は、バイナリファイルや URL を任意の openerp ドキュメントにリンクするために使用されます。

External attachment storage
---------------------------

The computed field ``datas`` is implemented using ``_file_read``,
``_file_write`` and ``_file_delete``, which can be overridden to implement
other storage engines. Such methods should check for other location pseudo
uri (example: hdfs://hadoopserver).

The default implementation is the file:dirname location that stores files
on the local filesystem using name based on their sha1 hash

表の列

テーブル attachment の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

名前 データ型 ラベル 必須 マーク ドキュメント
access_token varchar2 Access Token
checksum varchar2 Checksum/SHA1
company_id varchar2
company_id_label varchar2
create_date datetime 作成日
create_uid varchar2
create_uid_label varchar2
datas varbinary ファイルの内容 (base64)
db_datas varbinary データベースデータ
description varchar2 説明
display_name varchar2 表示名
document_ids varchar2
file_size int32 ファイルサイズ
id int32 ID
image_height int32 画像の高さ
image_src varchar2 画像ソース
image_width int32 画像の幅
index_content varchar2 インデックス化されたコンテンツ
key varchar2 キー
local_url varchar2 添付ファイルのURL
mimetype varchar2 MIMEタイプ
name varchar2 名前
original_id varchar2
original_id_label varchar2
public boolean 公開ドキュメントかどうか
raw varbinary ファイルの内容 (raw)
res_field varchar2 リソースフィールド
res_id int32 リソースID
res_model varchar2 リソースモデル
res_name varchar2 リソース名
store_fname varchar2 保存ファイル名
theme_template_id varchar2
theme_template_id_label varchar2
type varchar2 タイプ コンピュータからファイルをアップロードするか、ファイルのインターネットリンクをコピーして貼り付けることができます。
url varchar2 URL
website_id varchar2
website_id_label varchar2
write_date datetime 最終更新日
write_uid varchar2
write_uid_label varchar2

リリース情報

各リリースごとに、ドライバのテーブル、列、属性、および機能にどのような変更があったか: