Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !188

erp5_trade, OrderModule_activateGetOrderStatList: make at_date inclusive

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Georgios Dagkakis requested to merge georgios.dagkakis/erp5:george_reports into master Oct 28, 2016
  • Overview 5
  • Commits 3
  • Pipelines 0
  • Changes 2

The way it was in reports involving OrderModule_activateGetOrderStatList, at_date was not included. There even was a mis-match of assigning:

to_date = request.get('at_date', None)

One commit to fix this including also some formatting fixups.

Second commit adding a test-case in testTradeReports, where a report is run having at_date as the start_date of a Sale Order. Previous code would fail in this, since the Sale Order was not considered in the report.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: george_reports
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7