Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7190829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:35:58+00:00 2026-05-28T19:35:58+00:00

I work with a client that is using purchase orders, and a custom order’s

  • 0

I work with a client that is using purchase orders, and a custom order’s process (custom statuses). So there is no invoice, and only custom statuses for the orders. The problem is, with no “admin actions” (like invoices), correct me if i’m wrong, the orders doesn’t appears in the reports (even if in reports->sales->orders, I select any status (including my custom ones and any date, nothing appears), I also tried to change the timezone and refreshing lifetime statistics.

So I guess I need to modify the way magento handle these reports to include all the orders, even if it has no admin actions(no invoice or anything).

Any help on this?

Thanks!

—-Edit—-

Thanks for the answer, I tried changing this

if ($paymentHelper->isZeroSubTotal($storeId)
    && $this->_getOrder()->getGrandTotal() == 0
    && $zeroSubTotalPaymentAction == Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE
&& $paymentHelper->getZeroSubTotalOrderStatus($storeId) == 'pending') {
    $invoice = $this->_initInvoice();
    $invoice->getOrder()->setIsInProcess(true);
    $invoice->save();
}

for this

$invoice = $this->_initInvoice();
$invoice->getOrder()->setIsInProcess(true);
$invoice->save();

in onepagecontroller.php so it create an invoice for each orders,
but it still doesn’t appear in the sales report.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T19:35:59+00:00Added an answer on May 28, 2026 at 7:35 pm

    Change your process such that a complete order still generates an invoice OR rewrite all the reports. You can change your process by training your client, or you can change it by writing automated cron scripts to examine order states and programmatically generate the invoices.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I understand that the browser does all the work in processing client side scripts
At the company that I work with, we often have to integrate with client’s
We have an SELinux client that authenticates network users using LDAP connecting to an
I am doing work for a client that has a server on his domain.
Client looking into using QR codes in print advertising that will reward the visitor
I have successfully created a WS client that works correctly when NOT using authentication.
I work at a company that has many clients that have their own website
Here at work, we are working on a newsletter system that our clients can
I have a table that stores various clients I have done work for, separated
Inherited properties and MetadataType does not seem to work with client side validation in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.