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-profit organisatie
    • 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

Make scheduled date empty

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
manufacturinginventoryenterprisetransferodoo16features
1 Beantwoorden
4162 Weergaven
Avatar
Mayank Nailwal

I want to make scheduled date empty in transfer. 
what all ways are there in in odoo v16 to make scheduled date false. 

0
Avatar
Annuleer
Lars Aam

But why? When you set that field empty, all Material Requirement Planning will fail. All checks for availability and reservation of stock will no longer work. I just wonder, what is you business process, that you want to disable all material planning?

Avatar
Alan Scott
Beste antwoord

In Odoo V16, to make the scheduled date empty in a transfer, you can use the following methods:

  1. Manually update the scheduled date: Go to Inventory > Operations > Transfers, open the specific transfer record you want to edit, and set the “Scheduled Date” field to empty or false.

  2. Customize using automated actions: You can create an automated action in Odoo that triggers when a certain condition is met or a specific action occurs. To create an automated action, go to Settings > Technical > Automated Actions, and configure your new action with appropriate triggering conditions and Python code that sets the scheduled_date field to False.

    record.scheduled_date = False
    
  3. Developing a custom module: Create a custom module that inherits from stock.picking model and overrides the relevant method (e.g., action_confirm, button_validate) responsible for creating or confirming transfers. In this override method, add logic to set the scheduled_date field to False.

    from odoo import models
    
    class StockPicking(models.Model):
        _inherit = "stock.picking"
    
        def action_confirm(self):
            res = super(StockPicking, self).action_confirm()
            for picking in self:
                if picking.condition_to_unset_scheduled_date:
                    picking.scheduled_date = False
            return res
    

    Don’t forget to replace condition_to_unset_scheduled_date with your desired condition.

  4. Update via API (e.g., XML-RPC):

    import xmlrpc.client
    
    url = 'https://your_odoo_instance.com'
    db = 'your_db_name'
    username = 'your_username'
    password = 'your_password'
    
    common_proxy = xmlrpc.client.ServerProxy(f'{url}/xmlrpc/2/common')
    object_proxy = xmlrpc.client.ServerProxy(f'{url}/xmlrpc/2/object')
    uid = common_proxy.authenticate(db, username, password, {})
    
    picking_id = 1 # Replace with the ID of the transfer you want to update
    
    object_proxy.execute_kw(
        db,
        uid,
        password,
        'stock.picking',
        'write',
        [[picking_id], {"scheduled_date": False}]
    )
    

Remember to test any customization on a staging or development environment before applying it to your production environment.

By using one of these methods, you can effectively set the scheduled date in a transfer record to empty (False) in Odoo V16 

0
Avatar
Annuleer
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
Products which Can Be Purchased Complete or We Can Assemble from Components V16 Opgelost
manufacturing inventory odoo16features
Avatar
Avatar
1
jun. 23
2503
How do we record an internal transfer of products that we make from our factory to our warehouse
manufacturing inventory transfer
Avatar
Avatar
Avatar
2
nov. 22
3726
Byproducts from subcontracting
manufacturing inventory byproduct odoo16features
Avatar
Avatar
Avatar
3
dec. 23
2377
Inventory Was Short - But Delivery Order Still Processed and Source Location Ended Up Negative
inventory enterprise inventory_count odoo16features
Avatar
0
sep. 24
2076
Assigning a set value and not a percent to a Byproduct when MO is closed.
manufacturing inventory valuation odoo16features inventoryValuation
Avatar
Avatar
1
mei 24
2891
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