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
    • Guest House
    • Distributeur de boissons
    • Hotel
    Real Estate
    • Real Estate Agency
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consulting
    • Accounting Firm
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Metal
    • Furnitures
    • Food
    • 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
    • Solar Energy Systems
    • Cordonnier
    • Services de nettoyage
    • HVAC Services
    Others
    • Nonprofit Organization
    • 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 TAKE THE LAST PURCHASE PRICE TO CREATE QUOTES WITH A VARIABLE MARGIN [V18+]

S'inscrire

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

Cette question a été signalée
salesv18
1 Répondre
1753 Vues
Avatar
Diego Ricardo Diaz Sosa (drds)

Use case:


A company faces constant fluctuations in the acquisition costs of its products. To remain competitive, it needs to generate real-time quotes based on the most recent purchase price and apply variable margins depending on the customer or purchase volume.

2
Avatar
Ignorer
Avatar
Diego Ricardo Diaz Sosa (drds)
Auteur Meilleure réponse

Context

It is common for some customers to have highly variable purchases for the same product and want to apply a variable margin on the price of the last purchase made when generating quotes.

In Odoo, one option to do this is through price lists. However, these have a limitation: the calculation is based on the cost recorded in the product template, which always corresponds to the average cost, and does not allow defining a variable margin. To manage different margins, multiple price lists would need to be created, which can be impractical.

In this forum, we will show how to use the quote calculator to take the price of the last purchase made, apply a variable margin, and then inject the value into the quote.

Note: Studio is required.

Configuration

  1. Create the quote template

First, it is necessary to create the quote template. To do this, you must activate the quote templates in:

Sales > Configuration > Settings > Activate "Quote Templates"

Once this is done, go to: Sales > Configuration > Settings > Activate “Quote Templates" > New > Name the template > In the “Quote Calculator” section, create a new record and enter by clicking the arrow

Clicking the arrow will take us to a spreadsheet with a sheet that already contains some information, from which we will only use the "Product" and "Unit Price" columns. It will be necessary to add two more columns: one for "Purchase Price" and another for "Margin".



  1. Configure the purchase module


Once the spreadsheet is set up, you need to go to the purchase module and create a new menu to bring the model of the purchase order lines.

Purchase > Studio > Click on "Edit Menu" > Click on "New Menu" > Name the menu > Click on “Existing Model” and search for and select “Purchase Order Line” > Confirm > Arrange the menu within “Reports” and confirm


       

Once this is done, go to:

Purchase > Reports > Purchase Lines

This will display the purchase order lines, which we can insert into the previously created spreadsheet.


It is necessary to apply a domain in the list properties so that it only shows purchases with the status “Purchase Order”.

  1. Apply formulas in the spreadsheet

With the model and the template in the quote calculator spreadsheet, it is necessary to use the VLOOKUP formula in the “Purchase Price” column to return the value of the last purchase made.


In the “Margin” column, enter the desired percentage. Finally, in the “Unit Price” column, enter the following formula: =purchase price cell * (1 + margin cell)




Finally, you only need to synchronize each unit price cell with the unit price field in the quote.     

2
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é
Cannot make Sales Quotation to one Customer
sales
Avatar
Avatar
2
nov. 25
315
How to allow quotation requests (RFQ) from the eCommerce instead of direct sales
sales
Avatar
Avatar
1
oct. 25
750
Products Image
sales
Avatar
Avatar
2
oct. 25
414
Edit the Sign & accept quotation button
sales
Avatar
0
oct. 25
1329
SALES ORDER - UncaughtPromiseError > OwlError Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)
sales
Avatar
Avatar
Avatar
3
oct. 25
923
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