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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
7324
瀏覽次數
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.
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
4
12月 24
|
11650 | ||
|
10
9月 20
|
28458 | ||
|
1
2月 17
|
4451 | ||
|
2
5月 16
|
17117 | ||
|
1
5月 15
|
4355 |
You mean you want to calculate total amount from all quotations?
How can i calculate total amount of all quotations of a particular customer?