Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
7388 Переглядів

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?

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

Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
order line item entry Вирішено
4
груд. 24
11715
10
вер. 20
28503
1
лют. 17
4515
2
трав. 16
17170
1
трав. 15
4382