Odoo Help


how to have subtotals on quotations

on 5/1/13, 4:06 PM 1,001 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?

on 5/2/13, 7:18 AM



| 5 4 7
Baarn, Netherlands
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


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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


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