Hello all! I'm trying to automatically add a line on customer invoices, with some info of the sale order, but I don't find the way to do it. What I want to do in invoice lines, it's to add a line before the first line of all orders. This line will have only some info in the description field, so the result must be something like this:
description for first sale order (it will be composed with the order number, and a field I have added to sale orders)
lines of first sale order
description for second sale order
lines of second sale order
I need to know which object and wich definition are responsible for adding lines in the customers invoices. Thanks in advice.
Following are the methods in Sale module to create invoice:
These all are the methods which you have to override and make changes according to your requirement.
Hope this will help you.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/20/15, 7:30 AM|
|Seen: 481 times|
|Last updated: 10/20/15, 10:00 AM|