Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

how to have subtotals on quotations

By
N
on 5/1/13, 4:06 PM 629 views

I want to create a custom module in order to have subtotals on quotations (so we can group sales order lines). How can i do that ? Thanks

You mean you want to calculate total amount from all quotations?

AB Consultant
on 5/2/13, 2:20 AM

How can i calculate total amount of all quotations of a particular customer?

Remya
on 5/2/13, 7:18 AM
0

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 5/2/13, 8:40 PM

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

Also:

  • 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.

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 5/1/13, 4:06 PM
Seen: 629 times
Last updated: 3/16/15, 8:10 AM