Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Goedkeuringen
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelzaak
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Food & Hospitality
    • Bar en Pub
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brewery
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Trades
    • Klusjesman
    • IT-hardware & support
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Browse all Industries
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijs- programma
    • Scale Up! Business Game
    • Bezoek Odoo
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Word een Partner
    • Services for Partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help

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

  • CRM
  • e-Commerce
  • Boekhouding
  • Voorraad
  • PoS
  • Project
  • MRP
All apps
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

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

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
customizationv11modulerecorder
1 Beantwoorden
3921 Weergaven
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
Annuleer
Avatar
Jake Robinson
Beste antwoord

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
Annuleer
Bill Ennals
Auteur

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

Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
module Extention/ Customization
customization
Avatar
Avatar
Avatar
Avatar
Avatar
5
aug. 24
4615
When Odoo reserves stock for Sales Orders, can it do so taking into account the Date of the Order? Opgelost
v11
Avatar
Avatar
1
apr. 22
10346
How to custom our Odoo LMS page?
customization
Avatar
0
jan. 22
3410
How can I prevent users from archiving Products? I only want certain users to be able to do this? Opgelost
v11
Avatar
Avatar
Avatar
2
nov. 25
9650
How to modify the number of records seen in a Kanban view? Opgelost
customization v11 v10 Technical v12
Avatar
1
sep. 21
4452
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Word een Partner
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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