Skip to Content
Odoo เมนู
  • ลงชื่อเข้าใช้
  • ทดลองใช้ฟรี
  • แอป
    การเงิน
    • ระบบบัญชี
    • ระบบการออกใบแจ้งหนี้
    • ระบบบัญชีรายจ่าย
    • ระบบการจัดการข้อมูลผ่านสเปรดชีต (BI)
    • เอกสาร
    • ระบบลงลายเซ็น
    การขาย
    • ลูกค้าสัมพันธ์
    • การขาย
    • POS ร้านค้า
    • POS ร้านอาหาร
    • ระบบสมัครสมาชิก
    • การเช่า
    การจัดการเว็บไซต์
    • เครื่องมือสร้างเว็บไซต์
    • ระบบการขายออนไลน์
    • บล็อก
    • ฟอรั่ม
    • ไลฟ์แชท
    • ระบบการอบรมออนไลน์
    ซัพพลายเชน
    • คลังสินค้า
    • ระบบการผลิต
    • PLM
    • ระบบการจัดซื้อ
    • การซ่อมบำรุง
    • ระบบจัดการคุณภาพ
    ทรัพยากรบุคคล
    • ข้อมูลพนักงาน
    • ระบบสรรหาบุคลากร
    • ระบบการลา
    • การประเมิน
    • ระบบการแนะนำพนักงาน
    • ระบบจัดการยานพาหนะ
    การตลาด
    • โซเชียลมาร์เก็ตติ้ง
    • การตลาดผ่านอีเมล
    • ระบบการตลาดผ่าน SMS
    • ระบบการจัดงานอีเวนต์
    • การตลาดแบบอัตโนมัติ
    • ระบบแบบสำรวจ
    การบริการ
    • โปรเจกต์
    • ระบบบันทึกเวลา
    • ระบบการจัดการบริการภาคสนาม
    • ระบบดูแลช่วยเหลือ
    • การวางแผน
    • การนัดหมาย
    ประสิทธิผล
    • ระบบแสดงความคิดเห็น
    • ระบบการอนุมัติ
    • ไอโอที
    • VoIP
    • คลังข้อมูล
    • WhatsApp
    แอปพลิเคชันของบุคคลที่สาม Odoo สตูดิโอ แพลตฟอร์มคลาวด์ของ Odoo
  • อุตสาหกรรม
    การค้าปลีก
    • ร้านขายหนังสือ
    • ร้านขายเสื้อผ้า
    • ร้านขายเฟอร์นิเจอร์
    • ร้านขายของชำ
    • ร้านขายฮาร์ดแวร์
    • ร้านขายของเล่น
    Food & Hospitality
    • บาร์และผับ
    • ร้านอาหาร
    • อาหารฟาสต์ฟู้ด
    • Guest House
    • ตัวแทนจำหน่ายเครื่องดื่ม
    • Hotel
    อสังหาริมทรัพย์
    • Real Estate Agency
    • บริษัทสถาปัตยกรรม
    • บริษัทรับเหมา
    • การจัดการอสังหาริมทรัพย์
    • การจัดสวน
    • สมาคมเจ้าของอสังหาริมทรัพย์
    ปรึกษา
    • สำนักงานบัญชี
    • Odoo พาร์ทเนอร์
    • เอเจนซี่การตลาด
    • สำนักงานกฎหมาย
    • บริการสรรหาบุคลากร
    • การตรวจสอบและการรับรอง
    ระบบการผลิต
    • Textile
    • เหล็ก
    • เฟอร์นิเจอร์
    • อาหาร
    • Brewery
    • ของขวัญขององค์กร
    สุขภาพ & ฟิตเนส
    • ชมรมกีฬา
    • ร้านขายแว่นตา
    • ฟิตเนส
    • ผู้ประกอบวิชาชีพด้านสุขภาพ
    • ร้านขายยา
    • ร้านทำผม
    Trades
    • ช่างซ่อม
    • ฮาร์ดแวร์และการสนับสนุนด้านไอที
    • ระบบพลังงานแสงอาทิตย์
    • ช่างทำรองเท้า
    • บริการทำความสะอาด
    • HVAC Services
    อื่น ๆ
    • Nonprofit Organization
    • สำนักงานสิ่งแวดล้อม
    • ร้านเช่าป้ายโฆษณา
    • การถ่ายภาพ
    • ร้านเช่าจักรยาน
    • ตัวแทนจำหน่ายซอฟต์แวร์
    Browse all Industries
  • คอมมูนิตี้
    ศึกษา
    • บทเรียน
    • เอกสารกำกับโปรแกรม
    • การรับรอง
    • การฝึกอบรม
    • บล็อก
    • พอดแคสต์
    เพิ่มศักยภาพให้กับการศึกษา
    • โปรแกรมการศึกษา
    • Scale Up! Business Game
    • เยี่ยมชม Odoo
    รับซอฟต์แวร์
    • ดาวน์โหลด
    • เปรียบเทียบรุ่น
    • เผยแพร่
    ทำงานร่วมกัน
    • Github
    • ฟอรั่ม
    • ระบบการจัดงานอีเวนต์
    • การแปล
    • ร่วมเป็นพาร์ทเนอร์
    • Services for Partners
    • ลงทะเบียนเพื่อสร้างบัญชีบริษัทของคุณ
    รับบริการ
    • ค้นหาพาร์ทเนอร์
    • ค้นหานักบัญชี
    • พบกับที่ปรึกษา
    • บริการติดตั้งระบบเพื่อใช้งาน
    • ข้อมูลอ้างอิงลูกค้า
    • การสนับสนุน
    • อัปเกรด
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    รับการสาธิต
  • ราคา
  • ช่วยเหลือ

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

  • ลูกค้าสัมพันธ์
  • e-Commerce
  • ระบบบัญชี
  • สินค้าคงคลัง
  • PoS
  • โปรเจกต์
  • MRP
All apps
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
All Posts คน เหรียญรางวัล
แท็ก (View all)
odoo accounting v14 pos v15
เกี่ยวกับฟอรั่มนี้
ช่วยเหลือ

Odoo18 migration- Error in Documents

ติดตาม

รับการแจ้งเตือนเมื่อมีกิจกรรมในโพสต์นี้

คำถามนี้ถูกตั้งค่าสถานะ
documentmigrationaccess rights
1 ตอบกลับ
2425 มุมมอง
อวตาร
Guhan Dhamodiraswamy

I am trying to upgrade my odoo 17 to 18 in my staging branch, so that i can merge my locally tested custom addons later.
But during the upgrade process i get teh following error:


2025-05-22 11:08:23,502 21 CRITICAL db_2831167 odoo.service.server: Failed to initialize database `db_2831167`.

Traceback (most recent call last):

File "/home/odoo/src/odoo/18.0/odoo/service/server.py", line 1328, in preload_registries

registry = Registry.new(dbname, update_module=update_module)

File "<decorator-gen-13>", line 2, in new

File "/home/odoo/src/odoo/18.0/odoo/tools/func.py", line 97, in locked

return func(inst, *args, **kwargs)

File "/home/odoo/src/odoo/18.0/odoo/modules/registry.py", line 127, in new

odoo.modules.load_modules(registry, force_demo, status, update_module)

File "/home/odoo/src/odoo/18.0/odoo/modules/loading.py", line 480, in load_modules

processed_modules += load_marked_modules(env, graph,

File "/home/odoo/src/odoo/18.0/odoo/modules/loading.py", line 365, in load_marked_modules

loaded, processed = load_module_graph(

File "/home/odoo/src/odoo/18.0/odoo/modules/loading.py", line 182, in load_module_graph

migrations.migrate_module(package, 'pre')

File "/home/odoo/src/odoo/18.0/odoo/modules/migration.py", line 222, in migrate_module

exec_script(self.cr, installed_version, pyfile, pkg.name, stage, stageformat[stage] % version)

File "/home/odoo/src/odoo/18.0/odoo/modules/migration.py", line 259, in exec_script

mod.migrate(cr, installed_version)

File "/tmp/tmps1mp_ped/migrations/documents/saas~17.5.1.4/pre-migrate.py", line 73, in migrate

check_or_raise_large_groups(cr, internal_id)

File "/tmp/tmps1mp_ped/migrations/documents/saas~17.5.1.4/pre-migrate.py", line 1363, in check_or_raise_large_groups

raise util.MigrationError(f"""

odoo.upgrade.util.exceptions.UpgradeError:

Many-member groups used on Documents Workspaces:


- [51 users]: "Code Backup" (id=575, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "PV-Sol Accountzuweisung" (id=680, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "NAME TBD" (id=895, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "Produktmanagement" (id=907, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "Gerüststellung" (id=1044, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "Weitere Gewerke" (id=1069, company=None) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)

- [51 users]: "DC-Montage" (id=1070, company=Servicum GmbH) with groups:

* WRITE: "User" (id=105)

* READ: "User" (id=105)

- [51 users]: "AC-Montage" (id=1071, company=Servicum GmbH) with groups:

* READ: "User" (id=105)

* WRITE: "User" (id=105)


Upgrading as-is would have two downsides:

1. The access rights panel could get *very* hard to manage (adding or removing members among a large list)

2. The Documents application can become slow to use


Several options are available, possibly in combination:


1. Adapting your configuration:

* If restricting is not that important, remove the group configuration on the folder

* If restricting is important:

* Use another group with fewer members instead / reduce the number of members of the group

* Set the group as user-specific (read/write) so users keep access to their own documents only


2. Ask Odoo Support to enable one of the following settings (this can be done after 1 too) using

the ODOO_UPG_18_DOCUMENTS_FOLDERS_LARGE_GROUPS_RIGHTS key with the following possible values:

* SET_USER_SPECIFIC: Set these folders groups configuration as USER_SPECIFIC for READ AND WRITE automatically

* SET_NOBODY: Set these folders as restricted access, only users with the new Documents group

"System Administrator" will be able to view and edit these folders (including access rights)

after the upgrade.

* ACCEPT_AS_IS: Confirm that the current configuration is what you need and upgrade as-is.



as it is mentioned here i have removed the folder rights of each one shown in the error. still i get the errors for the same folders, even though they are cleared in live then i set up the staging branch adn upgraded. how to solve this?

Any help would be appreciated. 

0
อวตาร
ละทิ้ง
อวตาร
Ray Carnes (ray)
คำตอบที่ดีที่สุด

Please report all issues with upgrades that you can't resolve yourself to Odoo Support as explained in the documentation at https://www.odoo.com/documentation/18.0/administration/upgrade.html

https://www.odoo.com/help?stage=post_upgrade

2
อวตาร
ละทิ้ง
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!

สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!

ลงชื่อ
Related Posts ตอบกลับ มุมมอง กิจกรรม
Documents - Read / Unread (open/not open) a file แก้ไขแล้ว
document
อวตาร
อวตาร
1
พ.ย. 25
276
odoo module migration from version 14 to 16 แก้ไขแล้ว
migration
อวตาร
อวตาร
1
พ.ค. 25
3058
Error Uncaught Promise > models[resModel][fieldName] is undefined MIGRATING
migration
อวตาร
0
ส.ค. 24
2917
How can I migrate my documents from version 16 to version 17?
attachment import document migration v17
อวตาร
อวตาร
อวตาร
2
พ.ค. 24
2856
Document module size limit
document
อวตาร
0
พ.ย. 23
3192
คอมมูนิตี้
  • บทเรียน
  • เอกสารกำกับโปรแกรม
  • ฟอรั่ม
โอเพนซอร์ส
  • ดาวน์โหลด
  • 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 ภาษาไทย Türkçe українська Tiếng Việt

Odoo เป็นชุดแอปธุรกิจแบบเปิดที่ครอบคลุมทุกความต้องการของบริษัทของคุณ อาธิ CRM eCommerce ระบบบัญชี ระบบสินค้าคงคลัง ระบบการขายหน้าร้าน โปรเจกต์ และ อีกมากมาย

ความเหนือกว่าอันเป็นเอกลักษณ์ของ Odoo คือการใช้งานที่ง่ายดายและผสานการทำงานอย่างสมบูรณ์แบบในเวลาเดียวกัน

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