コンテンツへスキップ
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
    製品デモを利用する
  • 料金
  • ヘルプ
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
Accounting Invoice #accounting Bank Analytic
このフォーラムについて
コミュニティで交流するには登録する必要があります。
全てのポスト 人々 バッジ
タグ (全て表示)
Accounting Invoice #accounting Bank Analytic
このフォーラムについて
  1. Accounting
  2. フォーラム

Getting Error on Installing the POS module.

購読

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

この質問にフラグが付けられました
accountingposcurrencyodoo
2 返信
8098 ビュー
アバター
gullfounder@gmail.com

I have set the main currency to PKR and I don't deal with any other currency. But when i try to install the POS module i get the following error

"Error:
Odoo Server Error

Traceback (most recent call last):
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 712, in parse
    self._tag_root(de)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 674, in _tag_root
    f(rec)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 674, in _tag_root
    f(rec)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 577, in _tag_record
    record = model._load_records([data], self.mode == 'update')
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\models.py", line 4104, in _load_records
    records = self._load_records_create([data['values'] for data in to_create])
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\models.py", line 4018, in _load_records_create
    return self.create(values)
  File "<decorator-gen-164>", line 2, in create
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\api.py", line 317, in _model_create_single
    return self.browse().concat(*(create(self, vals) for vals in arg))
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\api.py", line 317, in <genexpr>
    return self.browse().concat(*(create(self, vals) for vals in arg))
  File "d:\projects\odoo\odoo-13\odoo-13.0\addons\point_of_sale\models\pos_config.py", line 461, in create
    pos_config = super(PosConfig, self).create(values)
  File "<decorator-gen-3>", line 2, in create
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\api.py", line 335, in _model_create_multi
    return create(self, [arg])
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\models.py", line 3746, in create
    records = self._create(data_list)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\models.py", line 3852, in _create
    cr.execute(query, params)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\sql_db.py", line 168, in wrapper
    return f(self, *args, **kwargs)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\sql_db.py", line 245, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "pricelist_id" violates not-null constraint
DETAIL:  Failing row contains (1, Shop, 16, null, 1, null, null, null, null, null, null, null, f, t, null, subtotal, null, null, null, null, null, null, null, t, dbc70b84-b703-49dd-9706-109372019e34, 73, 74, null, 1, 1, 71, 70, null, null, null, null, null, null, null, f, null, null, null, null, null, null, null, null, null, null, null, null, 1, 2020-09-13 10:01:36.730635, 1, 2020-09-13 10:01:36.730635).


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\http.py", line 624, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\http.py", line 310, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\pycompat.py", line 14, in reraise
    raise value
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\http.py", line 669, in dispatch
    result = self._call_function(**self.params)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\http.py", line 350, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\service\model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\http.py", line 339, in checked_call
    result = self.endpoint(*a, **kw)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\http.py", line 915, in __call__
    return self.method(*args, **kw)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\http.py", line 515, in response_wrap
    response = f(*args, **kw)
  File "d:\projects\odoo\odoo-13\odoo-13.0\addons\web\controllers\main.py", line 1326, in call_button
    action = self._call_kw(model, method, args, kwargs)
  File "d:\projects\odoo\odoo-13\odoo-13.0\addons\web\controllers\main.py", line 1314, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\api.py", line 387, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\api.py", line 374, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-59>", line 2, in button_immediate_install
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\addons\base\models\ir_module.py", line 72, in check_and_log
    return method(self, *args, **kwargs)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\addons\base\models\ir_module.py", line 463, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\addons\base\models\ir_module.py", line 573, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\modules\registry.py", line 86, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\modules\loading.py", line 423, in load_modules
    loaded_modules, update_module, models_to_check)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\modules\loading.py", line 315, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\modules\loading.py", line 225, in load_module_graph
    load_data(cr, idref, mode, kind='data', package=package, report=report)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\modules\loading.py", line 68, in load_data
    tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 736, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 803, in convert_xml_import
    obj.parse(doc.getroot())
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 721, in parse
    exc_info[2]
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\pycompat.py", line 13, in reraise
    raise value.with_traceback(tb)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 712, in parse
    self._tag_root(de)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 674, in _tag_root
    f(rec)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 674, in _tag_root
    f(rec)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\tools\convert.py", line 577, in _tag_record
    record = model._load_records([data], self.mode == 'update')
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\models.py", line 4104, in _load_records
    records = self._load_records_create([data['values'] for data in to_create])
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\models.py", line 4018, in _load_records_create
    return self.create(values)
  File "<decorator-gen-164>", line 2, in create
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\api.py", line 317, in _model_create_single
    return self.browse().concat(*(create(self, vals) for vals in arg))
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\api.py", line 317, in <genexpr>
    return self.browse().concat(*(create(self, vals) for vals in arg))
  File "d:\projects\odoo\odoo-13\odoo-13.0\addons\point_of_sale\models\pos_config.py", line 461, in create
    pos_config = super(PosConfig, self).create(values)
  File "<decorator-gen-3>", line 2, in create
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\api.py", line 335, in _model_create_multi
    return create(self, [arg])
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\models.py", line 3746, in create
    records = self._create(data_list)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\models.py", line 3852, in _create
    cr.execute(query, params)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\sql_db.py", line 168, in wrapper
    return f(self, *args, **kwargs)
  File "D:\Projects\Odoo\Odoo-13\odoo-13.0\odoo\sql_db.py", line 245, in execute
    res = self._obj.execute(query, params)
odoo.tools.convert.ParseError: "null value in column "pricelist_id" violates not-null constraint
DETAIL:  Failing row contains (1, Shop, 16, null, 1, null, null, null, null, null, null, null, f, t, null, subtotal, null, null, null, null, null, null, null, t, dbc70b84-b703-49dd-9706-109372019e34, 73, 74, null, 1, 1, 71, 70, null, null, null, null, null, null, null, f, null, null, null, null, null, null, null, null, null, null, null, null, 1, 2020-09-13 10:01:36.730635, 1, 2020-09-13 10:01:36.730635).
" while parsing file:/d:/projects/odoo/odoo-13/odoo-13.0/addons/point_of_sale/data/point_of_sale_data.xml:2, near
<odoo>
    <data noupdate="1">
        <!-- After closing the PoS, open the dashboard menu -->
        <record id="action_client_pos_menu" model="ir.actions.client">
            <field name="name">Open POS Menu</field>
            <field name="tag">reload</field>
            <field name="params" eval="{'menu_id': ref('menu_point_root')}"/>
        </record>

        <function model="stock.warehouse" name="_create_missing_pos_picking_types"/>

        <record id="product_category_pos" model="product.category">
            <field name="parent_id" ref="product.product_category_1"/>
            <field name="name">PoS</field>
        </record>

        <record id="product_product_tip" model="product.product">
            <field name="name">Tips</field>
            <field name="categ_id" ref="point_of_sale.product_category_pos"/>
            <field name="default_code">TIPS</field>
            <field name="weight">0.01</field>
            <field name="available_in_pos" eval="True"/>
            <field name="taxes_id" eval="[(5,)]"/>
        </record>

        <record model="pos.config" id="pos_config_main">
            <field name="name">Shop</field>
            <field name="barcode_nomenclature_id" ref="barcodes.default_barcode_nomenclature"/>
        </record>

        <record id="product_product_consumable" model="product.product">
            <field name="name">Discount</field>
            <field name="available_in_pos">True</field>
            <field name="standard_price">0.00</field>
            <field name="list_price">0.00</field>
            <field name="weight">0.00</field>
            <field name="type">consu</field>
            <field name="categ_id" ref="point_of_sale.product_category_pos"/>
            <field name="uom_id" ref="uom.product_uom_unit"/>
            <field name="uom_po_id" ref="uom.product_uom_unit"/>
            <field name="default_code">DISC</field>
            <field name="purchase_ok">False</field>
        </record>

        <record id="uom.product_uom_categ_unit" model="uom.category">
            <field name="is_pos_groupable">True</field>
        </record>
        <function model="pos.config" name="post_install_pos_localisation"/>
    </data>
</odoo>"

0
アバター
破棄
アバター
rachelgomez
最善の回答

Troubleshoot installation
When Modern POS is in use and the POS switches offline during a transaction, the following error displays, "Cart version has changed".

Solution: Select to close and continue working. This is a known issue that is currently being investigated. This error does not produce any issues.

Your browser blocks the download pop-up that is generated.

Solution: Select either Allow once or Options for this site > Always allow (or the equivalent commands in the browser that you're using). Then, while the correct register is still selected, select Download again.

The installation package that you must use depends on whether you require offline support. The correct package is automatically selected for download. For the offline package, SQL Server must be installed and must meet the requirements for the offline package.

Solution: If SQL Server isn't already installed (or if it doesn't meet the requirements), installation of a supported version is required. This installation might require an extended period of time and must include the Full-text search feature.

The installation occurs only for the administrator user who ran the installer, but not for any other users.

Solution: The installer generates a desktop icon that is used to install, upgrade, and run Modern POS. This icon is generated for every user on the computer. When a user who must install Modern POS double-clicks this icon, the program is installed. The user can then start to use Modern POS.

SQL Server isn't successfully downloaded and installed through the self-service Modern POS installer.

Solution 1: The installer no longer downloads SQL Server automatically. Download and install a supported version of SQL Server with Full-text search to meet prerequisite installation.
The installation of Modern POS fails, because the registration of performance (perf) counters failed.

Solution: Follow these steps to fix this issue:

Open a Command Prompt window as an administrator.

Enter the following command.

If the system doesn't rebuild the performance counter settings from the system backup, rerun the lodctr /R command.

Rerun the Modern POS installer.

If you're using a downloaded virtual hard disk (VHD) instead of a cloud-hosted environment, the downloader might fail.

Solution 1: In a downloaded VHD, the Azure Storage Emulator must be installed and must be running correctly. Otherwise, the self-service packages can't be downloaded correctly.

Solution 2: A failure might have occurred during the process of integrating the VHD into Microsoft Hyper-V. You must manually edit permissions before the packages can be downloaded correctly. Follow these steps:

In File Explorer, browse to C:\Microsoft Dynamics 365\70\Retail Server.
Right-click the SelfServicePackages folder, and then select Properties.
On the Security tab, select Edit.
In the Permissions for SelfServiceDeployment dialog box, select Add.
In the Select Users, Computers, Service Accounts, or Groups dialog box, select Locations.
In the Locations dialog box, select the first entry in the list (the local computer), and then select OK.
In the Select Users, Computers, Service Accounts, or Groups dialog box, enter the name IIS_IUSRS, and then select Check names. The object name should be changed to IIS_IUSRS. Select OK.
In the Permissions for SelfServiceDeployment dialog box, select the new IIS_ISURS user. Under Permissions for IIS_IUSRS, select Allow for the Full control permission. Select OK.
In the Open permission dialog box, select OK.
The latest iOS version does not support your self-signed certificate.

Solution 1: Utilize a domain and generate a proper domain-based certificate.

Solution 2: Download the open source OpenSSL library and perform the following after completing installation:

Using PowerShell, create a private key for the root Certificate Authority (CA) using a command such as $ openssl genrsa -des3 -out rootCA.key 2048.

You will be prompted for a password, which must be remembered for later usage.

Next, generate the root certificate using a command such as $ openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 1024 -out rootCA.pem. There will be a prompt for the password entered previously and some basic certificate information.

Issue the certificate using the previously generated root certificate using a command such as $ openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 500 -sha256 -extfile info.ext. There will be another prompt for the root key password and you will need to specify the number of days that the certificate is valid (500 days in this example).

Generate the IIS certificate using a command such as $ openssl pkcs12 -inkey server.key -in server.crt -export -out server.pfx. This command will request a new password, which will be used later when the certificate is imported.

Open Certmgr.msc and go to Trusted Root Certificate Authorities. Use the Import action to import the previously generated rootCA.pem root CA file.

In the same window, go to Personal and use the Import action to import the previously generated server.pfx.

Next, open the IIS Manager, select the RetailHardwareStationWebSite and select Edit Bindings from the right-most menu.

In the new window, select the HTTPS site binding, and the select Edit. In the final screen, select the newly installed certificate and select OK.

Verify the certificate is correctly being used. In a web browser, go to https:///HardwareStation/ping.

Install the certificate on the iOS device:

Copy the rootCA.pem file and rename the copy to rootCA.crt.
Using OneDrive or another file hosting location, upload the rootCA.crt and server.crt so that they can be downloaded onto the iOS device.
On the iOS device, go to Settings > General > Profiles and select the downloaded profile for the rootCA.crt. Select Install.

Validate that the profile status updates to Verified.Repeat the same process for the server.crt file.

Go to Settings > General > About > Certificate Trust Settings and enable the installed root certificate.

On the iOS device, use the hardware station ping URL specified previously to verify that the certificate is trusted.

Open the POS application in Non-drawer mode and pair to the hardware station as typically performed.


Regards,

Rachel Gomez

0
アバター
破棄
アバター
Elvis Skora
最善の回答

You might have deleted the default product category 'All'.

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

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

登録
関連投稿 返信 ビュー 活動
Looking to hire for Odoo POS and Accounting Troubleshooting
accounting pos odoo
アバター
0
3月 17
3688
When odoo create Currency exchange rate difference journal entry. 解決済
accounting currency odoo journal_entry
アバター
アバター
2
12月 21
6700
Bug in POS - Accounting currency
accounting pos currency 10
アバター
0
2月 24
4268
Can Odoo POS work without internet (offline mode) without custom module?
pos odoo
アバター
0
4月 26
16
@♀️@↪1753↩Línea_Directa GUIA}} ¿Cómo llamar a United Airlines desde El Salvador?
accounting odoo
アバター
0
4月 26
81
コミュニティ
  • チュートリアル
  • ドキュメンテーション
  • フォーラム
オープンソース
  • ダウンロード
  • 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 Svenska ภาษาไทย 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