コンテンツへスキップ
Odoo メニュー
  • サインイン
  • 無料で15日試す
  • アプリ
    財務
    • 会計
    • 請求
    • 経費
    • スプレッドシート(BI)
    • ドキュメント管理
    • 署名
    販売
    • CRM
    • 販売
    • POS店舗
    • POSレストラン
    • サブスクリプション
    • レンタル
    ウェブサイト
    • ウェブサイトビルダー
    • eコマース
    • ブログ
    • フォーラム
    • ライブチャット
    • eラーニング
    サプライチェーン
    • 在庫
    • 製造
    • 製品ライフサイクル管理 (PLM)
    • 購買
    • 整備
    • 品質
    人事業務
    • 従業員管理
    • 採用
    • 休暇管理
    • 人事評価
    • リファラル
    • フリート
    マーケティング
    • ソーシャルマーケティング
    • メールマーケティング
    • SMSマーケティング
    • イベント
    • マーケティングオートメーション
    • アンケート調査
    サービス
    • プロジェクト管理
    • タイムシート
    • フィールドサービス
    • ヘルプデスク
    • 計画
    • アポイントメント
    生産性向上ツール
    • ディスカッション
    • 承認
    • IoT
    • VoIP
    • ナレッジ
    • WhatsApp
    サードパーティアプリ Odooスタジオ Odooクラウドプラットホーム
  • インダストリー(業種別ソリューション)
    小売
    • 書店
    • アパレルショップ
    • 家具専門店
    • 食料品店
    • 金物店
    • 玩具店
    飲食・ホスピタリティ業界
    • バー・パブ
    • レストラン
    • ファストフード
    • ゲストハウス
    • 飲料販売代理店
    • ホテル
    不動産
    • 不動産会社
    • 建築事務所
    • 建設
    • 不動産管理
    • 造園
    • 住宅所有者組合
    コンサルティング
    • 会計事務所
    • Odooパートナー
    • マーケティングエージェンシー
    • 法律事務所
    • 人材派遣
    • 監査・認証
    製造
    • テキスタイル
    • 金属
    • 家具
    • 飲食
    • 醸造所
    • コーポレートギフト
    ヘルス & フィットネス
    • スポーツクラブ
    • 眼鏡店
    • フィットネスセンター
    • ウェルネス専門家
    • 薬局
    • ヘアサロン
    業種
    • 便利屋
    • IT ハードウェア・サポート
    • 太陽エネルギーシステム
    • 靴メーカー
    • クリーニングサービス
    • 空調設備サービス
    その他
    • 非営利団体
    • 環境機関
    • ビルボードレンタル
    • 写真
    • 自転車リース
    • ソフトウェアリセラー
    すべての業種を見る
  • コミュニティ
    学ぶ
    • チュートリアル
    • ドキュメンテーション
    • 認定
    • トレーニング
    • ブログ
    • ポッドキャスト
    教育サポート
    • 教育プログラム
    • Scale Up! ビジネスゲーム
    • Odooオフィス訪問
    ソフトを入手
    • ダウンロード
    • エディションを比較
    • リリース
    コラボレーション
    • Github
    • フォーラム
    • イベント
    • 翻訳
    • パートナーになる
    • パートナー様向けサービス
    • 会計事務所を登録
    サービス利用
    • パートナー一覧
    • 会計事務所一覧
    • 今すぐ相談する
    • 導入支援サービス
    • お客様一覧
    • サポート
    • アップグレード
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    製品デモを利用する
  • 料金
  • ヘルプ

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • 会計
  • 在庫
  • PoS
  • プロジェクト
  • MRP
All apps
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
odoo accounting v14 pos v15
このフォーラムについて
ヘルプ

Please Help , i'm getting this error while installing Module in OpenERP 7.0?

購読

この投稿に活動があった際に通知を受け取ります

この質問にフラグが付けられました
pythonxmlopenerp
2 返信
5393 ビュー
アバター
Ali Khan

This is the Error (
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\modules\loading.py", line 76, in <lambda>
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\modules\loading.py", line 124, in _load_data
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 954, in convert_xml_import
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 847, in parse
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 805, in _tag_record
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 824, in id_get
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\convert.py", line 833, in model_id_get
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\cache.py", line 18, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\cache.py", line 46, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server\openerp\addons\base\ir\ir_model.py", line 874, in get_object_reference
File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\cache.py", line 18, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server.\openerp\tools\cache.py", line 46, in lookup File "C:\Program Files (x86)\OpenERP 7.0-20140227-001259\Server\server\openerp\addons\base\ir\ir_model.py", line 867, in _get_id ValueError: No such external ID currently defined in the system: sna.sna_aor_c1_form )

(My Configuration)

<openerp> <data>

<!-- ### Orphan START ### -->  
<!-- Orphan Form View -->   
<record model="ir.ui.view" id="sna_orphan_form">
    <field name="name">sna.orphan.form</field>
    <field name="model">sna.orphan</field>
    <field name="inherit_id" ref="sna.sna_aor_c1_form"/>
    <field name="type">form</field>
    <field name="arch" type="xml">
        <form string="Orphans" version="7.0">
            <field name="district_id" select="1"/>
            <field name="sub_district_id" select="2"/>
            <field name="area_id" select="3"/>
            <field name="address_id" select="5"/>
            <field name="officer_id" select="7"/>
            <field name="registration_date" select="9"/>
            <field name="chief" select="10"/>
            <field name="headman" select="11"/>
            <field name="court_president" select="12"/>
            <field name="councillor" select="13"/>
            <field name="vdc_chairman" select="14"/>
            <field name="placed_in_institution" select="15"/>
            <field name="date_placed" select="16"/>
            <field name="institute_id" select="17"/>
        </form>
    </field>
</record>
<!-- Orphan Tree View -->
<record model="ir.ui.view" id="sna_orphan_tree">
    <field name="name">sna.orphan.tree</field>
    <field name="model">sna.orphan</field>
    <field name="inherit_id" ref="sna.sna_aor_super_tree"/>
    <field name="arch" type="xml">
        <tree string="Orphan Setup" editable="bottom">
            <field name="district_id"/>
            <field name="sub_district_id"/>
            <field name="area_id"/>

            <field name="address_id"/>

            <field name="officer_id"/>

            <field name="registration_date"/>
            <field name="chief"/>
            <field name="headman"/>
            <field name="court_president"/>
            <field name="councillor"/>
            <field name="vdc_chairman"/>
            <field name="placed_in_institution"/>
            <field name="date_placed"/>
            <field name="institute_id"/>
        </tree>
    </field>
</record>   
<!-- Orphan Action -->
<record model='ir.actions.act_window' id='sna_orphan_act'>
    <field name="name">Orphan</field>
    <field name="res_model">sna.orphan</field>
    <field name="view_type">form</field>
    <field name="view_mode">tree,form</field>
    <field name="help" type="html">
      <p class="oe_view_nocontent_create">
        Click to create new Orphan.
      </p><p>
        a
      </p>
    </field>
</record>
<!-- Orphan Menu -->            
<menuitem action="sna_orphan_act" id="sna_orphan_menu" parent="sna_beneficiaries"/>
<!-- ### Orphan END ### -->

</data>

</openerp>

0
アバター
破棄
Hiral Patel (hip)

Have u define view having id="sna_aor_c1_form"? If no, you have to define it as you are inheriting that view(<field name="inherit_id" ref="sna.sna_aor_c1_form"/>).

Ali Khan
著作者

yeah bro , i did defined it , now am inheriting it and i get the same error ... Spoiled my whole day :(

アバター
Nehal
最善の回答

Hi,

You might be using "sna_aor_c1_form" somewhere as reference which does not exists anymore. Please recheck it.

0
アバター
破棄
Ali Khan
著作者

Thanks ... But it does exist in the other view .. from which i'm inheriting this .. ??

Ali Khan
著作者

@Nehal ... I don't understand my dear friend :)

Nehal

sna.sna_aor_c1_form where sna = module_name and sna_aor_c1_form is id of your view. For example: base.view_partner_bank_form where base is module name. This may be a case for getting this error.

Ali Khan
著作者

yeah exactly that's the module name .. so where am doing mistake ??

Nehal

This is the only possibility for the error you encountered. Please check that the view with id "sna_aor_c1_form" is created or not. If not, upgrade the module which is having the id.

アバター
Hiral Patel (hip)
最善の回答

sna module:

sna_view.xml:

<record model="ir.ui.view" id="sna_aor_c1_form">
    ...
    <field name="inherit_id" ref="sna.sna_aor_c1_form"/>
    ...
</record>

test module:(Module name you have written following code)

test_view.xml:

<record model="ir.ui.view" id="sna_orphan_form">
    ...
    <field name="inherit_id" ref="sna.sna_aor_c1_form"/>
    ...
</record>

Either add 'sna' in __openerp__.py file like : __openerp__.py:

'depends' : ['sna'],

Or install 'sna' module before 'test' module.

Hope it may help you.

0
アバター
破棄
ディスカッションを楽しんでいますか?読むだけでなく、参加しましょう!

今すぐアカウントを作成して、限定機能を利用したり、素晴らしいコミュニティと交流しましょう!

登録
関連投稿 返信 ビュー 活動
How to resolve Integrity Error in OpenERP?
python xml openerp
アバター
アバター
アバター
アバター
4
11月 15
14684
How to hide view.xml fields group in Account module with attr
python xml
アバター
アバター
アバター
2
12月 23
13993
how to remove first empty element from fields.selection 解決済
python xml
アバター
アバター
アバター
3
7月 22
24417
How to Date deduction with Python ?
python xml
アバター
アバター
2
6月 21
19498
How to get data from a field python put to XML
python xml
アバター
0
9月 20
4406
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • Github
  • Runbot
  • 翻訳
サービス
  • Odoo.shホスティング
  • サポート
  • アップグレード
  • カスタム開発
  • 教育プログラム
  • 会計事務所一覧
  • パートナー一覧
  • パートナーになる
企業情報
  • 会社概要
  • ブランドアセット
  • お問い合わせ
  • 採用情報
  • イベント
  • ポッドキャスト
  • ブログ
  • お客様一覧
  • リーガル情報 • プライバシーポリシー
  • セキュリティ
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo(オドゥー)は、CRM、eコマース、会計、在庫管理、POS、プロジェクト管理など、企業のさまざまな業務を一つのシステムで管理できる、ベルギー発のオープンソースのERPソフトウェアです。

高機能で使いやすく、完全に統合されたERPとして、ユニークな価値を提供しています。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now