In order to sort sale.order.line, you need to have something you can use to sort. You probably want to add a new field, which you fill when saving/modifying the sale.order.line.
This requires you (in global wordings):
- to create your own module, which extends sale.order.line, and add the new sort field
- change the default sort order
- override create
- override write
- create a module which extends sale.order
- at break of sort of sale.order.line, add a line subtotal
I probably have forgotten some things, but I hope you get the general idea.
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: 5/1/13, 4:06 PM|
|Seen: 629 times|
|Last updated: 3/16/15, 8:10 AM|