Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Can 'Base Module Record' from Serpent CS do this?

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
customizationv11modulerecorder
1 Balas
3926 Tampilan
Avatar
Bill Ennals

https://apps.odoo.com/apps/modules/11.0/base_module_record/

I want to use this module to add a field to the project.task model.  I want the field to be a relation field that references a field (parent_id) in the project.project model.  I want to then be able to search for tasks that belong to a project that has a particular parent_id.  I also want these changes to remain after I update the source code.

Can 'Base Module Record' assist me to do this?  If it can, can someone provide step-by-step instructions on how to achieve it?

-1
Avatar
Buang
Avatar
Jake Robinson
Jawaban Terbai

Hi Bill, 

The module will not be able to do such a customisation.

You mentioned the field 'parent_id' on the 'project.project' model, this is not standard Odoo as far as I know. Your customisation will therefore be customising another module that you have installed. Without a proper dependency in place this could wreak havoc.

Even if you were referencing a standard field, I would have to strongly advise against using this module.  Any changes like this should always be done in code in order to keep your project clean, and free from a giant number of single purpose modules.

If you know the module you are using to add 'parent_id' to the 'project.project' model, I would be happy to lend a hand in making this change for you.

Regards,
Jake Robinson
Dionysus Software

0
Avatar
Buang
Bill Ennals
Penulis

Thanks for the reply Jake. The parent_id field is created by the V10 OCA module account_analytic_parent which, although not officially migrated to 11, appears to work fine in it. As for 'Base Module Record', my understanding is that it should produce an installable module containing xml code that reflects the changes made during the recording process, though explanatory notes for the module are very limited and I haven't had any luck getting more detailed information from the developers, so I can't really say I know what the module is actually for.

Jake Robinson

Hi Bill,

Modules built for v10 will generally work in v11 as long as there haven't been changes around the specific part the module is targeting, so this is quite safe.

Your understanding is correct, but the issue comes with the more specific details of Odoo. Even if we ignore the fact that all changes to a models structure should preferably be done in python, not XML, the depends issue is still in play: Any time you do a base upgrade on a copy of the database, it doesn't know which module to install first. If it tries to install your new module before the the module that introduces the 'parent_id' on the 'project.project' model, it with throw an error.

I've taken a look at the 'account_analytic_parent' module that you have spoken about, and it seems that what you're asking is a little trickier than you mentioned. This module introduces parents for analytic accounts, not for projects. Though you could find the parents by finding the projects analytic account, find its' parent analytic account and then find its' related projects, this wouldn't be a straight one to one relationship.

Analytic accounts allow for multiple projects per account, and their parent account could then contain multiple projects. Even if this isn't how you have set your data up, the data types of the fields are structured that way, meaning a simple related field isn't possible.

As a heirarchy you can also have multiple levels of parents, did you want to be able to search grandparents, great-grandparents, etc.?

These kinds of tasks are much more suited to developers, so your best bet is to engage a developer or start learning a little bit of python to unlock the full potential of Odoo.

Regards,

Jake Robinson

Dionysus Software

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
module Extention/ Customization
customization
Avatar
Avatar
Avatar
Avatar
Avatar
5
Agu 24
4616
When Odoo reserves stock for Sales Orders, can it do so taking into account the Date of the Order? Diselesaikan
v11
Avatar
Avatar
1
Apr 22
10349
How to custom our Odoo LMS page?
customization
Avatar
0
Jan 22
3411
How can I prevent users from archiving Products? I only want certain users to be able to do this? Diselesaikan
v11
Avatar
Avatar
Avatar
2
Nov 25
9651
How to modify the number of records seen in a Kanban view? Diselesaikan
customization v11 v10 Technical v12
Avatar
1
Sep 21
4454
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik 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