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
    • Intelligence artificielle
    • 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
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • 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
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & 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
    Parcourir toutes les 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
    • Devenir partenaire
    • Services pour partenaires
    • 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
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

About Total Discount

S'inscrire

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

Cette question a été signalée
salesdiscount
2 Réponses
2653 Vues
Avatar
Ferdi SEVER

First of all, hello everyone. I am new to forums and Odoo software. I try to do my best to research the forums before asking a question. I also searched for the question I was going to ask but could not find an answer, if I missed it, please excuse me. 

If a discount is applied as a % on an order, there is no problem, but I think it is not possible to apply a discount as a line by line amount. 

When I apply a discount as a total price while applying a discount to an order, it causes confusion in the reports. It also reflects the discount amount in the reports as if it were a product. 

Is there an easy solution to this? For example, if there are 10 items in the order and I discount the total order by 5 USD, it is reflected in the reports as a total of 11 products.

0
Avatar
Ignorer
Avatar
Ferdi SEVER
Auteur Meilleure réponse

Hello All,

I have fixed this issue with this addon "Sales Fixed Discount" app. I wanted to share it for those who need help with the same issue.

Thanks..

0
Avatar
Ignorer
Avatar
Christoph Farnleitner
Meilleure réponse

You're correct, by default you can not apply and display a Discount amount on a Sale Order Line directly.

However, what you can do is using a formula - similar to what you know from any spreadsheet tool such as MS Excel.

You can define the Discount On All Order Lines as "equals discount amount divided by untaxed amount times 100" for a 5 dollar discount split onto all order lines, e.g. =5/300.1*100:



Which will result into:


The preview for your customer will look like this:



While this does not display a 5 dollar discount directly (this will require certain modification depending on your needs, which may can be done using studio and certainly can be done via custom development) you will end up with the confirmed discount amount.

Now, I should mention in addition, that by default you will most likely NOT get the same result in your database. This is due to the fact that the rounding precision (aka Decimal Accuracy which can be found under Settings -> Technical) by default is set to two digits.
In above example this has been changed to six digits. 

To change the Decimal Accuracy you need to enable the Developer Mode (see https://www.odoo.com/documentation/master/applications/general/developer_mode.html)

Note: Please be aware about the fact that you SHOULD NOT set a number lower than what has been stored once in this field once a discount has been applied (i.e. if you choose to change the precision from 2 to let's say 3 for testing, make sure you do this in a test environment first to see whether the outcome is what you want!). In other words:



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é
Order Level Discount Based On Dollar Amount or Weight Of Items
sales discount
Avatar
Avatar
Avatar
2
mai 25
2536
V18: Discount resets to 0 when changing quantity on sales order line Résolu
sales discount V18
Avatar
Avatar
Avatar
Avatar
3
mars 26
1505
Discount rules
sales discount sale.order
Avatar
0
nov. 25
3
Discount if paid on time Résolu
sales discount skonto
Avatar
Avatar
1
sept. 25
1370
discount if payment is made within 15 days, but only on certain sales lines Résolu
sales discount delivery
Avatar
Avatar
Avatar
3
mai 24
4132
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
  • Devenir 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 Svenska ภาษาไทย 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