Purpose ======= Create one report where we can see all sales (sales from sales, eCommerce, POS) grouped by channels Specification ============= New Report Sales > Reports , the name should be "All Channels Sales Orders" This report contains the following fields : name date product_id partner_id company_id user_id price_total pricelist_id categ_id = product_categ_id invoiced = amount to invoice analytic_account_id team_name country_id We thought about doing a kind of sale_order_common report, but we cannot re-use sale.report because of some field (qty_delivered, ...) that we cannot compute on pos orders.
6 lines
147 B
Python
6 lines
147 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import controllers
|
|
from . import models
|