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

Field "l10n_se_check_vendor_ocr" doesn't exist in model "res.partner"

Subscribe

Get notified when there's activity on this post

This question has been flagged
upgradingmigrationlocalizationodoo16features
1 Reply
2830 Views
Avatar
Oskar Hertzman

Hey when we are trying to upgrade our odoo to 16 we are suddenly getting this error:

odoo.tools.convert.ParseError: while parsing /home/odoo/odoo/odoo/addons/hemma/views/res_partner_views.xml:3341Fel vid validering av vy nära:342

343
344 A partner with the same Tax ID already exists (345 346 ), are you sure to create a new one?347Fältet "l10n_se_check_vendor_ocr" finns inte i modellen "res.partner"348View error context:349{'file': '/home/odoo/odoo/odoo/addons/hemma/views/res_partner_views.xml',350 'line': 3,351 'name': 'view.hemma.res.partner.form.inherited',352 'view': ir.ui.view(1565,),353 'view.model': 'res.partner',354 'view.parent': ir.ui.view(1730,),355 'xmlid': 'view_hemma_partner_form'}


This is our code:

id="view_hemma_partner_form" model="ir.ui.view">
name="name">view.hemma.res.partner.form.inherited
name="model">res.partner
name="inherit_id" ref="account.view_partner_property_form"/>
eval="1" name="priority"/>
name="arch" type="xml">
expr="//form//sheet" position="before">




expr="//div[hasclass('oe_button_box')]/button" position="before">
name="customer_rank" eval="0"/>




string="Web" name="web" autofocus="True"
attrs="{'invisible': [('customer_rank', '=', 0)]}">


name="login_enabled" string="Access Mina Sidor"/>


name="is_affiliate" string="Access Affiliate leads API"/>
name="application_request_notification_path"/>
name="lead_notification_email"/>








0
Avatar
Discard
Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

Please add l10_se as a dependent module for your custom module hemma and see if the issue will get resolved or not.

Thanks


0
Avatar
Discard
Oskar Hertzman
Author

Hey, we already have that as an dependency

Niyas Raphy (Walnut Software Solutions)

go the views menu and search inside view architecture and see in which all views this field has been added, did you directly added this field to any of the base views from ui ?

Oskar Hertzman
Author

thanks for replying, the record in defined in base odoo in l10n_se/views/partner_views.xml:

id="res_partner_ocr_form" model="ir.ui.view">
name="name">res.partner.ocr.form
name="model">res.partner
name="inherit_id" ref="account.view_partner_property_form"/>
name="arch" type="xml">
name="accounting_entries" position="after">
string="Payment Options Sweden" name="payment_options">
name="l10n_se_check_vendor_ocr"/>
name="l10n_se_default_vendor_payment_ref"/>

This record didn't exist in odoo 14/15, is that why it's crashing?

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
Field used in context is restricted to certain groups Solved
migration odoo16features
Avatar
Avatar
Avatar
3
Jun 24
4152
Best practices for migrating from Odoo 15 to Odoo 16: Any tips or considerations?
data upgrading migration Odoo odoo16features
Avatar
Avatar
Avatar
2
Oct 23
4688
odoo 15 to odoo 16 Migration using openupgrade Solved
migration odoo16features
Avatar
Avatar
1
Jan 23
16275
how can we migrate the data from version 7 to version 9?
upgrading migration
Avatar
Avatar
1
Nov 15
4947
psycopg2.errors.NumericValueOutOfRange
migration psycopg2.errors odoo16features
Avatar
Avatar
1
Apr 24
3880
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