Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

RPC_ERROR Odoo Server Error

Subscribe

Get notified when there's activity on this post

This question has been flagged
adminNiyasCybrosysreplenishment
1 Reply
3991 Views
Avatar
Rahul Mandal

Hi Team

When I open replenishment from inventory this error is showing

Traceback (most recent call last):
  File "/home/odoo/src/odoo/saas-16.1/odoo/tools/safe_eval.py", line 362, in safe_eval
    return unsafe_eval(c, globals_dict, locals_dict)
  File "ir.actions.server(482,)", line 6, in 
  File "/home/odoo/src/odoo/saas-16.1/addons/stock/models/stock_orderpoint.py", line 203, in action_open_orderpoints
    return self._get_orderpoint_action()
  File "/home/odoo/src/odoo/saas-16.1/addons/stock/models/stock_orderpoint.py", line 419, in _get_orderpoint_action
    orderpoints = self.env['stock.warehouse.orderpoint'].with_user(SUPERUSER_ID).create(orderpoint_values_list)
  File "", line 2, in create
  File "/home/odoo/src/odoo/saas-16.1/odoo/api.py", line 410, in _model_create_multi
    return create(self, arg)
  File "/home/odoo/src/odoo/saas-16.1/odoo/models.py", line 3929, in create
    records = self._create(data_list)
  File "/home/odoo/src/odoo/saas-16.1/odoo/models.py", line 4132, in _create
    cr.execute(
  File "/home/odoo/src/odoo/saas-16.1/odoo/sql_db.py", line 315, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.NotNullViolation: null value in column "warehouse_id" of relation "stock_warehouse_orderpoint" violates not-null constraint
DETAIL:  Failing row contains (407, null, 77, 3882, null, null, null, null, 1, 1, Replenishment Report, manual, null, 0.00, 0.00, 1.00, null, t, 2023-05-13 04:19:06.270121, 2023-05-13 04:19:06.270121, null, null, 0, null, 0).


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/odoo/src/odoo/saas-16.1/odoo/http.py", line 1676, in _serve_db
    return service_model.retrying(self._serve_ir_http, self.env)
  File "/home/odoo/src/odoo/saas-16.1/odoo/service/model.py", line 134, in retrying
    result = func()
  File "/home/odoo/src/odoo/saas-16.1/odoo/http.py", line 1703, in _serve_ir_http
    response = self.dispatcher.dispatch(rule.endpoint, args)
  File "/home/odoo/src/odoo/saas-16.1/odoo/http.py", line 1900, in dispatch
    result = self.request.registry['ir.http']._dispatch(endpoint)
  File "/home/odoo/src/odoo/saas-16.1/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
    result = endpoint(**request.params)
  File "/home/odoo/src/odoo/saas-16.1/odoo/http.py", line 705, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/home/odoo/src/odoo/saas-16.1/addons/web/controllers/action.py", line 42, in run
    result = action.run()
  File "/home/odoo/src/odoo/saas-16.1/odoo/addons/base/models/ir_actions.py", line 695, in run
    res = runner(run_self, eval_context=eval_context)
  File "/home/odoo/src/odoo/saas-16.1/odoo/addons/base/models/ir_actions.py", line 565, in _run_action_code_multi
    safe_eval(self.code.strip(), eval_context, mode="exec", nocopy=True, filename=str(self))  # nocopy allows to return 'action'
  File "/home/odoo/src/odoo/saas-16.1/odoo/tools/safe_eval.py", line 376, in safe_eval
    raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))
ValueError: : "null value in column "warehouse_id" of relation "stock_warehouse_orderpoint" violates not-null constraint
DETAIL:  Failing row contains (407, null, 77, 3882, null, null, null, null, 1, 1, Replenishment Report, manual, null, 0.00, 0.00, 1.00, null, t, 2023-05-13 04:19:06.270121, 2023-05-13 04:19:06.270121, null, null, 0, null, 0).
" while evaluating
"action = model.with_context(\n                search_default_filter_to_reorder=True,\n                search_default_filter_not_snoozed=True,\n                default_trigger='manual',\n                searchpanel_default_trigger='manual'\n            ).action_open_orderpoints()"

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    at makeErrorFromResponse (https://dxgl.odoo.com/web/assets/6123-1722a65/web.assets_backend.min.js:993:163)
    at XMLHttpRequest. (https://dxgl.odoo.com/web/assets/6123-1722a65/web.assets_backend.min.js:1001:13)


0
Avatar
Discard
Rahul Mandal
Author

A lot of thanks for given the suggestion 

althought,  sir I have already submit support ticket but still nothing respond


Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

As per the shared trackback it seems you are using odoo 16.1, which is an odoo online instance, if this still happens with you can you create a support ticket here: https://www.odoo.com/help with detailed steps to reproduce it.

Thanks

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How to loadXML in Odoo js 16 Solved
Niyas Cybrosys
Avatar
Avatar
2
Aug 23
4354
add search panel in graph and pivot view in odoo 16
Niyas Cybrosys odoo16features
Avatar
Avatar
Avatar
Avatar
3
Apr 26
2514
How should a commission be divided between two people?
commission Niyas Cybrosys
Avatar
2
Feb 24
81
how to hide delete button in form view and tree view with a condition in odoo 16
odoo Niyas Cybrosys
Avatar
0
Sep 23
3308
Report in email body
odoo Niyas Cybrosys
Avatar
0
Aug 23
2265
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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