Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
1865 Ansichten

Dear Odoo Gurus of the world.

Odoo v16 Enterprise, self hosted, multi company.

Im trying to install eCommerce with no success

I tried upgrading odoo to latest version, and also the website module , but that’s is as far as my techy knowledge goes.


All pointers and suggestions are welcomed.


/code
​RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/tools/convert\.py",\ line\ 698,\ in\ _tag_root
\ \ \ \ f\(rec\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/convert\.py",\ line\ 599,\ in\ _tag_record
\ \ \ \ record\ =\ model\._load_records\(\[data\],\ self\.mode\ ==\ 'update'\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 4361,\ in\ _load_records
\ \ \ \ data\['record'\]\._load_records_write\(data\['values'\]\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 4292,\ in\ _load_records_write
\ \ \ \ self\.write\(values\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/website_sale/models/product_pricelist\.py",\ line\ 43,\ in\ write
\ \ \ \ self\._check_website_pricelist\(\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/website_sale/models/product_pricelist\.py",\ line\ 71,\ in\ _check_website_pricelist
\ \ \ \ raise\ UserError\(_\("With\ this\ action,\ '%s'\ website\ would\ not\ have\ any\ pricelist\ available\."\)\ %\ \(website\.name\)\)
odoo\.exceptions\.UserError:\ With\ this\ action,\ 'Sitio\ Rapidonet\ odoo'\ website\ would\ not\ have\ any\ pricelist\ available\.

The\ above\ exception\ was\ the\ direct\ cause\ of\ the\ following\ exception:

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1584,\ in\ _serve_db
\ \ \ \ return\ service_model\.retrying\(self\._serve_ir_http,\ self\.env\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/service/model\.py",\ line\ 133,\ in\ retrying
\ \ \ \ result\ =\ func\(\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1611,\ in\ _serve_ir_http
\ \ \ \ response\ =\ self\.dispatcher\.dispatch\(rule\.endpoint,\ args\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1815,\ in\ dispatch
\ \ \ \ result\ =\ self\.request\.registry\['ir\.http'\]\._dispatch\(endpoint\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/website/models/ir_http\.py",\ line\ 235,\ in\ _dispatch
\ \ \ \ response\ =\ super\(\)\._dispatch\(endpoint\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_http\.py",\ line\ 154,\ in\ _dispatch
\ \ \ \ result\ =\ endpoint\(\*\*request\.params\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 697,\ in\ route_wrapper
\ \ \ \ result\ =\ endpoint\(self,\ \*args,\ \*\*params_ok\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/web/controllers/dataset\.py",\ line\ 46,\ in\ call_button
\ \ \ \ action\ =\ self\._call_kw\(model,\ method,\ args,\ kwargs\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/web/controllers/dataset\.py",\ line\ 33,\ in\ _call_kw
\ \ \ \ return\ call_kw\(request\.env\[model\],\ method,\ args,\ kwargs\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/api\.py",\ line\ 461,\ in\ call_kw
\ \ \ \ result\ =\ _call_kw_multi\(method,\ model,\ args,\ kwargs\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/api\.py",\ line\ 448,\ in\ _call_kw_multi
\ \ \ \ result\ =\ method\(recs,\ \*args,\ \*\*kwargs\)
\ \ File\ "",\ line\ 2,\ in\ button_immediate_install
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_module\.py",\ line\ 76,\ in\ check_and_log
\ \ \ \ return\ method\(self,\ \*args,\ \*\*kwargs\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_module\.py",\ line\ 491,\ in\ button_immediate_install
\ \ \ \ return\ self\._button_immediate_function\(type\(self\)\.button_install\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_module\.py",\ line\ 615,\ in\ _button_immediate_function
\ \ \ \ registry\ =\ modules\.registry\.Registry\.new\(self\._cr\.dbname,\ update_module=True\)
\ \ File\ "",\ line\ 2,\ in\ new
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/func\.py",\ line\ 87,\ in\ locked
\ \ \ \ return\ func\(inst,\ \*args,\ \*\*kwargs\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/modules/registry\.py",\ line\ 90,\ in\ new
\ \ \ \ odoo\.modules\.load_modules\(registry,\ force_demo,\ status,\ update_module\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/modules/loading\.py",\ line\ 488,\ in\ load_modules
\ \ \ \ processed_modules\ \+=\ load_marked_modules\(cr,\ graph,
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/modules/loading\.py",\ line\ 372,\ in\ load_marked_modules
\ \ \ \ loaded,\ processed\ =\ load_module_graph\(
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/modules/loading\.py",\ line\ 231,\ in\ load_module_graph
\ \ \ \ load_data\(cr,\ idref,\ mode,\ kind='data',\ package=package\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/modules/loading\.py",\ line\ 71,\ in\ load_data
\ \ \ \ tools\.convert_file\(cr,\ package\.name,\ filename,\ idref,\ mode,\ noupdate,\ kind\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/convert\.py",\ line\ 763,\ in\ convert_file
\ \ \ \ convert_xml_import\(cr,\ module,\ fp,\ idref,\ mode,\ noupdate\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/convert\.py",\ line\ 829,\ in\ convert_xml_import
\ \ \ \ obj\.parse\(doc\.getroot\(\)\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/convert\.py",\ line\ 749,\ in\ parse
\ \ \ \ self\._tag_root\(de\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/convert\.py",\ line\ 698,\ in\ _tag_root
\ \ \ \ f\(rec\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/convert\.py",\ line\ 711,\ in\ _tag_root
\ \ \ \ raise\ ParseError\('while\ parsing\ %s:%s,\ somewhere\ inside\n%s'\ %\ \(
odoo\.tools\.convert\.ParseError:\ while\ parsing\ /usr/lib/python3/dist\-packages/odoo/addons/website_sale/data/data\.xml:54,\ somewhere\ inside

\ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \ \ \ \ \

The\ above\ server\ error\ caused\ the\ following\ client\ error:
RPC_ERROR:\ Odoo\ Server\ Error
\ \ \ \ RPCError@https://staging\-erp\.neurotechmexico\.com/web/assets/3069\-0310b92/web\.assets_backend\.min\.js:988:279
\ \ \ \ makeErrorFromResponse@https://staging\-erp\.neurotechmexico\.com/web/assets/3069\-0310b92/web\.assets_backend\.min\.js:992:175
\ \ \ \ @https://staging-erp.neurotechmexico.com/web/assets/3069-0310b92/web.assets_backend.min.js:1000:34
Avatar
Verwerfen
Beste Antwort

Hi,

If you have assigned company for the public price list, keep it as empty and try installing the module.


Actions to do:

1. Open the Public Pricelist (external id: product.list0)

2. Keep the company field empty

3. Install the module


Thanks

Avatar
Verwerfen
Autor

You rock @Niyas Raphy thanks! that helped and i got it installed. Much appreciated! Have a great weekend

Autor Beste Antwort

Hello. I appreciate the prompt reply.

What you mention makes sense .

I have an odd issue, i cant add that  Filter by website. 

How did you add that?  I’m even missing the extra columns icon.


Any ideas? thanks 

Avatar
Verwerfen

please see the updated answer

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Feb. 25
5222
2
Feb. 24
1182
1
Juni 24
3901
1
Juli 23
3353
1
Juli 23
2915