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
    • Estate 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

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
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

Odoo 8: "KeyError: 'payment_order_type'" error after installing Account Banking - Payments Export Infrastructure Module

Subscribe

Get notified when there's activity on this post

This question has been flagged
modulesodoo8
5808 Views
Avatar
alexk1r

Hi all,

I've been setting up a bunch of payment and direct debit modules. After installing Account Banking - Payments Export Infrastructure Module (https://www.odoo.com/apps/8.0/account_banking_payment_export/), I've got the following error message, which brought down the whole Odoo server down:


2016-05-16 13:14:53,108 15389 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2016-05-16 13:15:06,355 15389 INFO ? openerp.addons.bus.bus: Bus.loop listen imbus on db postgres
2016-05-16 13:15:06,973 15389 INFO ? openerp.addons.report.models.report: You need Wkhtmltopdf to print a pdf version of the reports.
2016-05-16 13:15:07,228 15389 INFO ? openerp.http: HTTP Configuring static files
2016-05-16 13:15:07,253 15389 INFO odoo openerp.modules.loading: loading 1 modules...
2016-05-16 13:15:07,260 15389 INFO odoo openerp.modules.loading: 1 modules loaded in 0.01s, 0 queries
2016-05-16 13:15:07,303 15389 INFO odoo openerp.modules.loading: loading 95 modules...
2016-05-16 13:15:07,491 15389 WARNING odoo openerp.osv.fields: view_load attribute is deprecated on ir.fields. Args: {'help': 'Payment type of the customer', 'view_load': True, 'relation': 'payment.type', 'type': 'many2one', 'method': True, 'string': 'Customer Payment Type'}
2016-05-16 13:15:07,491 15389 WARNING odoo openerp.osv.fields: view_load attribute is deprecated on ir.fields. Args: {'help': 'Payment type of the supplier', 'view_load': True, 'relation': 'payment.type', 'type': 'many2one', 'method': True, 'string': 'Supplier Payment Type'}
2016-05-16 13:15:07,494 15389 WARNING odoo openerp.models: In class <class 'openerp.addons.account_payment_extension.account_move_line.account_move_line'>, field 'amount_to_pay' overriding an existing value
2016-05-16 13:15:07,530 15389 INFO odoo openerp.modules.loading: 95 modules loaded in 0.23s, 0 queries
2016-05-16 13:15:08,149 15389 INFO odoo werkzeug: 127.0.0.1 - - [16/May/2016 13:15:08] "GET / HTTP/1.1" 500 -
2016-05-16 13:15:08,159 15389 ERROR odoo werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "/home/ubuntu/odoo/openerp/service/server.py", line 290, in app
return self.app(e, s)
File "/home/ubuntu/odoo/openerp/service/wsgi_server.py", line 216, in application
return application_unproxied(environ, start_response)
File "/home/ubuntu/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied
result = handler(environ, start_response)
File "/home/ubuntu/odoo/openerp/http.py", line 1290, in __call__
return self.dispatch(environ, start_response)
File "/home/ubuntu/odoo/openerp/http.py", line 1264, in __call__
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 588, in __call__
return self.app(environ, start_response)
File "/home/ubuntu/odoo/openerp/http.py", line 1428, in dispatch
ir_http = request.registry['ir.http']
File "/home/ubuntu/odoo/openerp/http.py", line 346, in registry
return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None
File "/home/ubuntu/odoo/openerp/modules/registry.py", line 339, in get
update_module)
File "/home/ubuntu/odoo/openerp/modules/registry.py", line 370, in new
openerp.modules.load_modules(registry._db, force_demo, status, update_module)
File "/home/ubuntu/odoo/openerp/modules/loading.py", line 357, in load_modules
registry.setup_models(cr)
File "/home/ubuntu/odoo/openerp/modules/registry.py", line 194, in setup_models
model._setup_fields(cr, SUPERUSER_ID)
File "/home/ubuntu/odoo/openerp/api.py", line 256, in wrapper
return old_api(self, *args, **kwargs)
File "/home/ubuntu/odoo/openerp/api.py", line 360, in old_api
result = method(recs, *args, **kwargs)
File "/home/ubuntu/odoo/openerp/models.py", line 3007, in _setup_fields
field.setup(self.env)
File "/home/ubuntu/odoo/openerp/fields.py", line 453, in setup
self._setup_related(env)
File "/home/ubuntu/odoo/openerp/fields.py", line 1340, in _setup_related
super(Selection, self)._setup_related(env)
File "/home/ubuntu/odoo/openerp/fields.py", line 499, in _setup_related
field = recs._fields[name]
KeyError: 'payment_order_type'


I've got it working eventually but however whenever I try to install a module that's dependant on  Account Banking - Payments Export Infrastructure Module, the installation fails and I have to disable the module from the database in order to get Odoo working again. Same thing happens if I click on upgrade or even uninstall the module. Feels like something is missing somewhere but I can't figure out where to look specifically.

Any help would be appreciated.


Thanks

0
Avatar
Discard
alexk1r
Author

Turned out that the problem was with one of the previously installed modules. After some digging, I've pinpointed it to Suppliers Payment Management. Reinstalling the module solved all my problems.

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
Nuevo menú en "CRM"
modules
Avatar
Avatar
Avatar
Avatar
3
Jul 25
2831
Allow Access to update module
modules
Avatar
Avatar
Avatar
Avatar
3
May 25
4727
How to translate actual name of module listed in apps Solved
modules
Avatar
Avatar
Avatar
2
Jun 25
5219
Selecting items for one2many relation Solved
odoo8
Avatar
Avatar
Avatar
2
Dec 22
15686
How to upload files automatically on attachments on button click ?
odoo8
Avatar
Avatar
1
Nov 21
5769
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 ภาษาไทย 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