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:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Projekti
- MRP
Tämä kysymys on merkitty
1
Vastaa
8057
Näkymät
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.
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
order line item entry
Ratkaistu
|
|
3
marrask. 25
|
12210 | |
|
sales pricelist based on supplier prices
Ratkaistu
|
|
10
syysk. 20
|
29160 | |
|
|
1
helmik. 17
|
5168 | ||
|
|
2
toukok. 16
|
17946 | ||
|
|
1
toukok. 15
|
4912 |
You mean you want to calculate total amount from all quotations?
How can i calculate total amount of all quotations of a particular customer?