Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

How to send automatic emails when stock levels are low?

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
inventoryquickstartv12v13v14
2 Réponses
11004 Vues
Avatar
Lucas Barros (lub)

Although we do have features such as the Replenishment tool (v14) and Reordering Rules, some users require to have an automatic (live) notification of when a product (or certain products) go below a certain stock level. 

0
Avatar
Ignorer
Avatar
Lucas Barros (lub)
Auteur Meilleure réponse

1. Activate Developer Mode.

2. Go to product.product, form view.

3. Create a new field type float (using Studio).

4. Access the field properties:



5. On the fields “Related Field” and  “Dependencies, add “qty_available”. Make sure to mark the field as “Stored”.



6.  Go to Server Actions and create this server action:


The field “x_studio_quantity_on_hand_stored” is the new float field created. Make sure to adapt this to your field name.

 

for record in records:

qty = record['qty_available']

record['x_studio_quantity_on_hand_stored'] = qty



7.

Go to product.product list viewand add filter the list by “Product Type: Storable Product”

8. Select all the products

9. Go to Actionsand execute the server action just created:


This server action will compute the field “On Hand Quantity” into the new field you just created.

10. Go back to the Server Actions menu and DELETE THE SERVER ACTION.


11. Go to Email Templatesand create a new email template which the user will receive when the stock level is low. For example:



12. Go to Automated Actionsand create a new automated action. Model: “Product, Trigger: “On Update”, Action to Do: “Send Email”, Email Template: the email template you just created.

Before Update Domain: Quantity on Hand (stored) Quantity on Hand (stored) [THIS SHOULD BE THE FIELD YOU CREATED >= ”threshold number”




Before Update Domain: Quantity on Hand (stored) Quantity on Hand (stored) [THIS SHOULD BE THE FIELD YOU CREATED >= ”threshold number”

 

Apply On: Quantity on Hand (stored) [THIS SHOULD BE THE FIELD YOU CREATED] < “threshold number”


Click on the 3 dots icon on the right side of the window:

Select the product IDs that you’d like to apply that threshold with a “Any” condition:



Ideally, you’ll add all the product IDs of the products that meet the same threshold for low stock level.

 

 

If you need to add more than one threshold, create a new automated action with the same parameters, but changing the threshold. Be careful with creating too many automated actions.

 

 

13. Once the product quantity goes below the threshold, the user that you defined on your email template will receive the email.

2
Avatar
Ignorer
Shawn Wright

We want to use this mechanism, except for us it's not (as much) about quantity on-hand. We have a virtual warehouse that is the default warehouse for web orders, and we only keep a certain amount of stock in that warehouse. We're wanting to notify the right personnel that they need to do a stock move/internal transfer (from main warehouse to web warehouse). We don't want the stock move to be automatic because most of our stock (non-web sales orders) is B2B (to distributors). Web orders is direct to public but priority for stock is given to distribution, so they need to make a situational decision about how much stock to make available to the public.

Avatar
Omprakash
Meilleure réponse

Hi, Lucas, 

if you are looking for automatic emails when stock levels are low, you can take a look at this application:

Low Stock Alert It is recommended that you customize the application to suit your business requirements.

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to create multiple delivery orders on the same SO by product category or inventory location? Résolu
inventory quickstart v12 v13
Avatar
Avatar
2
mars 23
8703
Inventory Valuation - moving from Manual (periodic) to Automated (real time) - process / best practices? Résolu
inventory change quickstart v13 v14
Avatar
Avatar
Avatar
Avatar
3
mars 25
21321
How to add 2 steps picking on subcontracting route Résolu
manufacturing inventory quickstart v13 v14
Avatar
Avatar
2
avr. 23
4044
How can I Manage Amazon FBA Inventory separately from my main WH? Résolu
inventory functional quickstart v14
Avatar
Avatar
1
août 24
4788
Bank reconciliation methods Résolu
v12 v13 Accounting v14
Avatar
1
mars 24
7973
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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