Bug Report: Importat Transfer Error

Importat Transfer Error

I just updated to version 3.5.1, and it does not allow transfers. always shows the message: Product xxxxxxx does not have the quantity to transfer. however the products are in the warehouse.

CT

Carlos Torrez

Reported
I just updated to version 3.5.1, and it does not allow transfers. always shows the message: Product xxxxxxx does not have the quantity to transfer. however the products are in the warehouse. For the moment I will go back to a previous version.
  • MS

    Mian Saleem

    Answered
    Hello,

    It shouldn't show the message if the product quantity is available in the warehouse.

    I will check this again.

    Thank you
  • CT

    Carlos Torrez

    Answered
    hello, think its a bug from the new version 3.5.1, cause i already try in the demo as shown in the image, where can i find the files of the previous verions, please.
  • MS

    Mian Saleem

    Answered
    Hello,

    Please edit `app/models/admin/Transfers_model.php` and remove the line no 321 - 323

    ```php
    if ($balance_qty < 0) {
    throw new \Exception("Product ".($pi->product_name ?: $product_id)." does not have the quantity to transfer.");
    }
    ```

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    Can you help me test this again on demo.

    Thank you
  • CT

    Carlos Torrez

    Answered
    I already test in demo, its working fine now, thanks
  • MS

    Mian Saleem

    Answered
    Thank you, I will update the download file.
  • Login to Reply