=============   TASKS AND FEATURE REQUESTS #548: LATEST MODIFICATIONS   
=============
https://doliforge.org/tracker/?func=detail&aid=548&atid=247&group_id=144

Changes by: Laurent Destailleur <[email protected]>
Date: 2013-03-07 17:27 (Europe/Paris)

            What     | Removed                   | Added
------------------------------------------------------------------
            Priority | 7                         | 1 - Lowest
Easy hacks (opened to any developer) | Yes                       | No


---------------   Additional Follow-up Comments   ----------------
Problem is really more complicated than adding fields.
Because, we have to report and dispatch amount into acountancy code in a 
future. Adding a discount that is not on line will make accountancy headhache. 
A global discount is already addressed with the feature "Discounts of 
thirdparty", but it is not a relative.
If you want to add a negative line, you must use this feature.

There is also a relative discount already available. And this % is applied on 
each line. Ités added on each line, but it's same than having discount 
globally. And using this way of working keep compatibility to make accountancy 
line by line (what we need for a lot of reason, stock value calculation, vat 
calculation, and future accountancy dispatch system).




=============   TASKS AND FEATURE REQUESTS #548: FULL  SNAPSHOT   =============


Project: Dolibarr ERP & CRM             

--- Details ---
Submitted on:  2012-09-19               
Submitted by:  Maxime Kohlhaas (atm-maxime)
Last Modified On:  2013-03-7            Artifact ID:  548
Subproject:  Core (internal)            Priority:  1 - Lowest
Assigned to (multiple):  None           
Summary:  Add global discount on quotes, orders and invoices
Original Submission:  After searching trough the forum and wiki, i didn't find 
any feature request regarding this functionality. The discount system works 
fine today but only line per line, and even with a relative discount defined on 
the customer, it applies on each line. I think this will be a good feature to 
be able to apply a global discount and have the total calculated including the 
discount.
Easy hacks (opened to any developer):  No

--- Status ---
Percentage of completion (1-100):  0    Status:  Open
Start Date:                             End Date:  

Follow-ups
**********

------------------------------------------------------------------
Date: 07/03/2013 17:27:01           By: eldy
Problem is really more complicated than adding fields.
Because, we have to report and dispatch amount into acountancy code in a 
future. Adding a discount that is not on line will make accountancy headhache. 
A global discount is already addressed with the feature "Discounts of 
thirdparty", but it is not a relative.
If you want to add a negative line, you must use this feature.

There is also a relative discount already available. And this % is applied on 
each line. Ités added on each line, but it's same than having discount 
globally. And using this way of working keep compatibility to make accountancy 
line by line (what we need for a lot of reason, stock value calculation, vat 
calculation, and future accountancy dispatch system).


------------------------------------------------------------------
Date: 07/03/2013 15:06:04           By: atm-maxime
I'm back on this subject because in the 3.4, it seems that adding a line with a 
negative value does not work anymore. So we need a solution to add global 
discount.

------------------------------------------------------------------
Date: 19/09/2012 15:28:47           By: atm-maxime
How I think this could work :
Add 2 new fields on quotes, orders and invoices (discount_value and 
discount_type (% or amount)).
Change the total calculation to include the global discount.
Change the PDF output to ad a value below the total showing the discount value 
and type and the new total HT.

I may be forgetting things, so please feel free to add comments on this feature 
:)


CC List is empty


Dependencies list is empty


No files currently attached


For detailed info, follow this link:
https://doliforge.org/tracker/?func=detail&aid=548&atid=247&group_id=144
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à