Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Purchase Discount for All Items

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
discountpurchase_orderodooonline
3 Răspunsuri
1813 Vizualizări
Imagine profil
azlam

Hi All,


i'm using odoo online, please kindly help for Purchase Menu, here is example :


i have create RFQ with 4 products.

1. Books 

2. Pencil

3. Eraser

4. Pen


total PO is 50.000 and my supplier give us discount for all is 10,000 not disc for each item.


How i can input 10.000 disc in PO ?

0
Imagine profil
Abandonează
Imagine profil
Cybrosys Techno Solutions Pvt.Ltd
Cel mai bun răspuns

Hi,

1. Create the Purchase Order:

    - Go to the Purchase module and create a new Purchase Order.

    - Add your supplier and products (Books, Pencil, Eraser, Pen).


2. Add the Discount:

    - Add a new order line with a product named "Discount" (or create it as a service product if it doesn't exist).

    - Enter the discount amount as -10,000 in the "Price" field.


3. Verify and Save:

    - Check the total amount to ensure the discount is applied correctly.

    - Save and confirm the Purchase Order.


This will apply the total discount to your PO.


Hope it helps

2
Imagine profil
Abandonează
Imagine profil
Jainesh Shah(Aktiv Software)
Cel mai bun răspuns

Hello azlam


Hope you are doing well.


For 'Purchase Discount for All Items'.


- I put one custom field 'discount' integer.


- So, Whenever we will add any amount in purchase order's 'discount' fields, It will update amount_untaxed, amount_tax and amount_total accordingly.


Code : 


class PurchaseOrder(models.Model):

    _inherit = 'purchase.order'


    discount_total = fields.Float(string='Discount Value')


    @api.depends('discount_value', 'discount_type', 'discount_total', 'order_line.price_total')

    def _amount_all(self):

        super(PurchaseOrder, self)._amount_all()

        for order in self:

            discount_total = 0.0

            order.update({

                'discount_total': discount_total,

                'amount_untaxed': order.amount_untaxed - discount_total,

                'amount_tax': ((order.amount_untaxed - discount_total) * order.order_line.taxes_id.amount / 100),

                'amount_total' : (order.amount_untaxed - discount_total) + ((order.amount_untaxed - discount_total) * order.order_line.taxes_id.amount / 100),

            })  


Also, We can also change calculations according to our need.


Please reach out to us if any queries.

I Hope this information proves helpful to you.

Thanks & Regards,

Email:   odoo@aktivsoftware.com           

Skype: kalpeshmaheshwari 

0
Imagine profil
Abandonează
Imagine profil
azlam
Autor Cel mai bun răspuns

Thank you for your answer and solution.

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Discount in Purchase Order Line Rezolvat
purchase discount purchase_order
Imagine profil
Imagine profil
1
nov. 21
3962
how to give discount on perches order automatically, if i created a purchase order for minimum 10 quantity ?
purchase discount purchase_order
Imagine profil
1
mar. 25
2043
Discount on invoices from purchase orders Rezolvat
invoice discount purchase_order
Imagine profil
Imagine profil
2
mar. 15
4907
test
purchase_order terms v15 odooonline
Imagine profil
0
apr. 24
11
Special rates for non profit organisations
discount
Imagine profil
Imagine profil
Imagine profil
2
sept. 25
1191
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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