You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Aswath Satrasala (JIRA)" <ji...@apache.org> on 2009/04/09 14:45:13 UTC

[jira] Created: (OFBIZ-2284) Approve Order error

Approve Order error
-------------------

                 Key: OFBIZ-2284
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: SVN trunk
         Environment: r763532, Windows XP
            Reporter: Aswath Satrasala


I added a product of type 'Service'
I created a sales order
After this, I get screen outlining all the order details with ' 'Approve order' link
I click on the Approve order.

I got the following error.

The Following Errors Occurred:
ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Aswath Satrasala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697760#action_12697760 ] 

Aswath Satrasala commented on OFBIZ-2284:
-----------------------------------------

Divesh,
In the OrderList screen, the order status is showing as 'Created'.
As mentioned, it only happens when the product type is of 'Service'

-Aswath



> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Divesh Dutta (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697737#action_12697737 ] 

Divesh Dutta commented on OFBIZ-2284:
-------------------------------------

Aswath, When we create sales order, Order is created in Approved status. Link is given for "Hold Order". 
I tried all the steps given by you by adding SV-1000 into the cart. No link was given for 'Approve order' as order was already created in Approve order status. Tried these steps for r763532 and for the latest revision as well. Can you give more details to reproduce these error.

> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697749#action_12697749 ] 

Ashish Vijaywargiya commented on OFBIZ-2284:
--------------------------------------------

:) cool.

--
Ashish Vijaywargiya

> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Ashish Vijaywargiya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697745#action_12697745 ] 

Ashish Vijaywargiya commented on OFBIZ-2284:
--------------------------------------------

See the below link.
https://localhost:8443/catalog/control/EditProductStore?productStoreId=9000

Open the "Order Status" block in the bottom.
Here you can specify the default order status for any sales order.

Give it a try and let us know what you see Divesh, Deepesh.

--
Ashish Vijaywargiya

> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Bilgin Ibryam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697781#action_12697781 ] 

Bilgin Ibryam commented on OFBIZ-2284:
--------------------------------------

I remember an old issue related to the same error:  OFBIZ-1189 . May be it can help

> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Divesh Dutta (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697762#action_12697762 ] 

Divesh Dutta commented on OFBIZ-2284:
-------------------------------------

I did this when product type is of 'Service' . Its working fine. Please try on latest revision. Hope that may help you

> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Aswath Satrasala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697751#action_12697751 ] 

Aswath Satrasala commented on OFBIZ-2284:
-----------------------------------------

The following steps by Deepesh are correct .  Please specify 'offline
payment (mail check/moneyorder)'.  You will see a 'Approve order' link.
When you click on Approve order, you get errors.




> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Divesh Dutta (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697748#action_12697748 ] 

Divesh Dutta commented on OFBIZ-2284:
-------------------------------------

1) Hello Ashish, I did as per your suggestion. Its working as you said. Specified Default order status shown when sales order is created. 



> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (OFBIZ-2284) Approve Order error

Posted by "Divesh Dutta (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697755#action_12697755 ] 

Divesh Dutta edited comment on OFBIZ-2284 at 4/9/09 11:30 PM:
--------------------------------------------------------------

Hello Aswath, Can you confirm that when you create order , in which status it is? I again tried by following Deepesh's steps. In that case order is in "created" status. And after clicking on "Approve order" link its working fine. But error which you posted, is like "complete" status can not be changed to "Approved " status. And this is very true. Once the order is completed it can not go back to Approved status. Instead Approve order link should not be shown if order is completed. 

      was (Author: diveshdut):
    Hello Aswath, Can you confirm that when you create order , in which status it is? I again tried by following Deepesh's steps. In that case order is in "created" status. And after clicking on "Approve order" link its working fine. But error which you posted, is like "complete" status can not be changed to "Approved " status. And this is very true. Once the order is completed it can not go back to Approved status. 
  
> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Divesh Dutta (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697755#action_12697755 ] 

Divesh Dutta commented on OFBIZ-2284:
-------------------------------------

Hello Aswath, Can you confirm that when you create order , in which status it is? I again tried by following Deepesh's steps. In that case order is in "created" status. And after clicking on "Approve order" link its working fine. But error which you posted, is like "complete" status can not be changed to "Approved " status. And this is very true. Once the order is completed it can not go back to Approved status. 

> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Aswath Satrasala (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697506#action_12697506 ] 

Aswath Satrasala commented on OFBIZ-2284:
-----------------------------------------

I performed the same operations for a product of type 'finished goods'.  
It seems to be working ok.

> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Deepesh Kapoor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697744#action_12697744 ] 

Deepesh Kapoor commented on OFBIZ-2284:
---------------------------------------

Divesh, the key to get the link for "Approve Order" is to select "offline payment" in order entry payment settings while creating sales order. This way the order is in "Created" status and there is a link to explicitly Approve order.

> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2284) Approve Order error

Posted by "Deepesh Kapoor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697752#action_12697752 ] 

Deepesh Kapoor commented on OFBIZ-2284:
---------------------------------------

Thanks Ashish for sharing the link, from there the Order Status can be specified for product store. 
Actually after reading the first two comments i thought may be while creating sales order to reproduce the error the payment setting thing might be resulting in not getting the "Approve Order" link on the order detail page. Because generally we select COD or Visa and they result in order created in "Approved" status and selecting Offline payment results in "Created" status.

> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-2284) Approve Order error

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-2284.
----------------------------------

    Resolution: Fixed
      Assignee: Jacques Le Roux

I close this issue since I can't reproduce on trunk


> Approve Order error
> -------------------
>
>                 Key: OFBIZ-2284
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2284
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>         Environment: r763532, Windows XP
>            Reporter: Aswath Satrasala
>            Assignee: Jacques Le Roux
>
> I added a product of type 'Service'
> I created a sales order
> After this, I get screen outlining all the order details with ' 'Approve order' link
> I click on the Approve order.
> I got the following error.
> The Following Errors Occurred:
> ERROR : Could not change order status; status is not a valid change.: [ORDER_COMPLETED] -> [ORDER_APPROVED]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.