Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

How to give discount on the total of a Sales order

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
discount
22 Respuestas
63134 Vistas
Avatar
Max

Hello,

In sales order, we can give discount on per line basis. What about the discount on the total figure? Sometimes we give a lump sum discount on the sales order, without that, we need to adjust discount on each line.

Thanks.

5
Avatar
Descartar
Acespritech Solutions Private Limited

Hello ! Is pricelist feature helpful for you ? But again its on particular line only.

Zahin

http://goo.gl/foA1pQ, Discount on total for sale order and invoice too.

Avatar
Gusto
Mejor respuesta

Hello,

We have developed a module which allow users to apply discount (Fixed Amount, Percentage) on Sales and Customer Invoice.

The module also allow user to display the discount on Sales and Invoice report.

Once you Validate the invoice, the module generate the Journal Entries. You can track the discount on P/L report by creating a separate account for the discount which you just have to configure in the company. This account will be used to post the entries of the discount account.

Hope this module will ease everyone's life.

For now, the module is developed for v7 only and we are on the way to migrate it in v8 and v9 as well.

Download: Discount Sales / Invoice

0
Avatar
Descartar
Avatar
Alessandro Dell'Anna
Mejor respuesta

Hope this can help you .... I have coded a little function (apply_discount) in a inherited class of sale.order

def apply_discount(self, cr, uid, ids, discount_rate):
        cur_obj = self.pool.get('res.currency')
        res = {}
        line_obj = self.pool.get('sale.order.line')
        for order in self.browse(cr, uid, ids, context=None):

            for line in order.order_line:

                line_obj.write(cr, uid, [line.id], {'discount': discount_rate}, context=None)

        return res

I have added a new column to the new inherited sublass of sale order

'discount_rate' : fields.float('Discount rate'),

Then in the sale order view (a inherited one) I have placed the new field (discount) on the sale.order.view and I have fired an event on the "on_change" of the value passing the self value of the field to the "on_change" event

<field name="discount_rate" on_change="apply_discount(discount_rate)"/>

In this way you can apply discount sequentially to the rows of the order without altering the normal process of OpenERP

3
Avatar
Descartar
Luis Lozano

Hi, great answer Alessandro, I have Open ERP online and I am new in this, where do I go to insert the code that you mentioned? Thanks!

ABU K

Is this total amount from sale order will affect invoice ?

Avatar
joseph d'souza
Mejor respuesta

Hello

I have developed one module which set a discount on whole sale order and customer invoice with fixed and percentage vise. when your quote will move to invoice that same discount and total will move to the invoice I think this module feature will helps you more can see on : http://www.youtube.com/watch?v=RTRB0xq9Y38&feature=youtu.be To get the module can contact me: dsouzajoseph199@gmail.com

3
Avatar
Descartar
Vikram

Good to your video in Youtube regarding discount. Can you share your module with me?

Arbi Khelifi

Hi Joseph, I just viewd your video on youtube, it's really great work!, I'm really interested in this feature and wonder if possible to get the module as indicated in your post. Thanks

Lerner

Hi Joseph, I saw your video good work can I get those module please to work with Odoo discount feature.

Sudhir Arya (ERP Harbor Consulting Services)

Good work Joseph. I am wondering how you are dealing with accounting entries? Are you creating accounting entries based on discounted amount?

Pawan Kumar Sharma

Hi Joseph,

Can you share your module with me?

Avatar
Geetha
Mejor respuesta

Our custom module for sale discount and invoice discount [Fixed & Percentage Discounts] supported For odoo10  & odoo9 .Even discount is passed to invoice when sale order is converted to invoice. 

https://github.com/euroblaze/eb_sales_invoices_discounts

0
Avatar
Descartar
Avatar
Keenmeng Lew
Mejor respuesta

Have you tried this - https://www.odoo.com/documentation/user/9.0/point_of_sale/advanced/manual_discount.html?


KM

0
Avatar
Descartar
Avatar
Andreas Brueckl
Mejor respuesta

Here are some approaches:

  • You can try to use module additional_discount. But when reading the comments it seems that the module is not as stable as it should be.
  • You can set the same discount in every line
  • You can use a separate Discount product and give it a negative unit price. This solution would give an absolute discount instead of a relative.
0
Avatar
Descartar
michel Guénard

how do you manage the tax (VAT) issue with a global discount, specifically when your invoice is made with products having different tax percentages?

Alessandro Dell'Anna

VAT is applied to the single net price discounted or not ....

Avatar
Shahar Or
Mejor respuesta

You can use pricelists and the Prices Visible Discounts app (product_visible_discount).

0
Avatar
Descartar
Avatar
jamesbale
Mejor respuesta

You can use payment term, in payment term you can define your rule

0
Avatar
Descartar
Avatar
patrick
Mejor respuesta

In order to give discounts on the whole order, you have to use pricelists.

You can find them under: Sales -> Pricelists under the text 'Configuration' -> Pricelist

NB:

If you do not have 'Configuration', give the user the access rights 'Technical Features'

If you do not see Pricelist, give the user the access rights 'Sales Pricelists'

Now you can create a new pricelist, which you probably want to base on the default pricelist. I use in the title of the pricelist the amount of discount I give (5% discount, 10% discount, ....). Play around to find the correct value(s).

In the order it is important to change the pricelist, before adding any products, otherwise the discount is not calculated.

Important notice:

When using a discount like this, it will not show up on the discount line, but it will change the value of the product, so an article costing €10, and using a discount of 10% will show with a costprice of €9.

0
Avatar
Descartar
Flyguy

The problem with pricelists is that the customer doesn't see the discount. So even though he received a discount, the customer may still ask for a discount, because he can't see that he already received one. My advice is to make a custom module for this. That's what we did.

patrick

Same here, only issue we had was to find the original price, as there are different 'base' prices, depending on the currency. And for some exeptions, the base price is different than all the other base prices.... But I fixed it.

Avatar
Zahin
Mejor respuesta

Complete Solution for Discount on sale tota, discount on invoice total, with report.

http://goo.gl/foA1pQ

and

http://goo.gl/YWw9JW

 

 

-3
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Special rates for non profit organisations
discount
Avatar
Avatar
Avatar
2
sept 25
1197
Tracking, paying and posting customer rebates based on sales volumes. Resuelto
discount
Avatar
Avatar
1
oct 25
2660
Discount visible on the bill in the point of sales Resuelto
discount
Avatar
Avatar
1
feb 24
2116
Warranty in a product and discount when taking yearly subscription
discount
Avatar
0
dic 23
1589
discount / repair -quote
discount
Avatar
0
jun 23
1994
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Sitio web hecho con

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