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

Skipping database because of modules to install/upgrade/remove.

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
databasestorepython3computed-fieldsodoo11.0
4 Antwoorden
24443 Weergaven
Avatar
Barış Erdoğan

I developed a custom module with computed fields. When I load the module to production database, nothing happens and I am getting this warning and the bottom line of the log file is: 

Storing computed field 'product_total_cost '

Storing computed field 'product_unit_cost_store '

WARNING : Skipping database because of modules to install/upgrade/remove.

The computed fields in the model is as follows:

 

class MrpBomLine(models.Model):

    _inherit = 'mrp.bom.line'

    product_unit_cost = fields.Float(

        related='product_id.standard_price',

        string='Maliyet', digits=dp.get_precision('Product Price'),

        help="Bom yapısındaki seçili ürünün otomatik hesaplanacak olan birim maliyeti")

    product_total_cost = fields.Monetary(

        string="Toplam Maliyet", compute='_compute_total_price', store=True, readonly=True,

        help="Toplam Ürün Maliyeti")

    product_unit_cost_store = fields.Float(

     string='Maliyet', digits=dp.get_precision('Product Price'),

     compute='_compute_total_price', store=True, readonly=True,

    help="Bom yapısındaki seçili ürünün otomatik hesaplanacak olan birim maliyeti")

   

    @api.one

    @api.depends('product_id', 'product_qty', 'product_unit_cost')

    def _compute_total_price(self):

        if self.product_id and self.product_qty and self.product_unit_cost:

            self.product_total_cost = self.product_qty * self.product_unit_cost

            self.product_unit_cost_store = self.product_unit_cost


My Pivot View:

        <record id="bom_line_customization_inherited_pivot_table" model="ir.ui.view">

            <field name="name">bom.line.inherited.pivot.table</field>

            <field name="model">mrp.bom.line</field>

            <field name="arch" type="xml">

                <pivot string="Bom Components">

                    <field name="bom_id" type="row"/>

                    <field name="product_qty" type="measure"/>

                    <field name="product_unit_cost" type="measure"/>

                    <field name="product_total_cost" type="measure"/>

                </pivot>

            </field>

        </record>



Does anyone solve this problem?

0
Avatar
Annuleer
Avatar
Ümit Öztürk
Beste antwoord

I'm not sure but you can try to set none limitations parameters like that;

limit_memory_hard = None

limit_memory_soft = None

limit_request = None

limit_time_cpu = None

limit_time_real = None

limit_time_real_cron = None


and then 


longpolling_port = 8072

max_cron_threads = 10

...

workers = none


good luck!

0
Avatar
Annuleer
Avatar
Barış Erdoğan
Auteur Beste antwoord

Hello, 

Limit time informations is that in the config file   (According to cpu capacity) : 

limit_memory_hard = 20132659200

limit_memory_soft = 1677721600 

limit_request = 8192

limit_time_cpu = 3600

limt_time_real = 7200

limit_time_real_cron = -1

....

longpolling_port = 8072

max_cron_threads = 1

...

workers = 25


How should I update these values?


0
Avatar
Annuleer
Avatar
subbarao
Beste antwoord

I think you have to increase time in config file

cpu time limt,...etc

0
Avatar
Annuleer
Manish Bohra

Hello ,

I have query related to your answer.

1. First Question is how to increase cpu time limit ?

2. Second one is what is effect in odoo ?

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
ODOO10: Computed Field couldn't be stored in database
database store odoo computed-fields
Avatar
Avatar
Avatar
14
nov. 17
9505
make my function work forever
python3 odoo11.0
Avatar
Avatar
1
jan. 20
3611
add python function to specific action
python3 odoo11.0
Avatar
0
jan. 20
3912
valid logged in user
python3 odoo11.0
Avatar
Avatar
1
dec. 19
4716
Odoo does not update a stored value with a new value, it updates with the previous one
store computed-fields
Avatar
0
aug. 19
6262
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