← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 693476] Re: [6.0] sale manager dashboard - "Sales by Customer" - incomplete

 

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

** Changed in: openobject-addons
    Milestone: None => 6.0-rc2

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/693476

Title:
  [6.0] sale manager dashboard - "Sales by Customer" - incomplete

Status in OpenObject Addons Modules:
  Fix Released

Bug description:
  Please use titles matching the query 
the title for this would be "uncompleted sales during the last 90 days" or similar

what would be of more interest
"Sales per customer last 90 days"
state='done' ....

nevertheless i doubt that a moving timespan  of 90 days is very useful in day to day business

BTW opening this graph presents a "big"  graph with a lot of buttons - many useless - the domain remains in power regardless if the user clicks clear or "Year"

found in ./report/sale_report_view.xml

  <record id="action_sales_by_partner" model="ir.actions.act_window">
        <field name="name">Sales by Partner</field>
        <field name="res_model">sale.report</field>
        <field name="view_type">form</field>
        <field name="view_mode">graph,tree</field>
        <field name="domain">[('state','in',('manual','progress')),('date','&lt;=', time.strftime('%Y-%m-%d')),('date','&gt;',(datetime.date.today()-datetime.timedelta(days=90)).strftime('%Y-%m-%d'))]</field>
        <field name="view_id" ref="view_sales_by_partner_graph"/>
        <field name="context">{'search_default_Customer':1}</field>
    </record>





References