Order Status Pipeline

908 views
Skip to first unread message

Andras Hee

unread,
Feb 21, 2013, 10:12:19 AM2/21/13
to django...@googlegroups.com
Hi
I have a problem. Although I specified the OSCAR_ORDER_STATUS_PIPELINE in the settings.py I'm not capable to transfer an order to a next state. There are no stati at all.

I have following code in the settings.py:

OSCAR_INITIAL_ORDER_STATUS = 'Pending'
OSCAR_INITIAL_LINE_STATUS = 'Pending'

OSCAR_ORDER_STATUS_PIPELINE = {
    'Pending': ('Being processed', 'Cancelled',),
    'Being processed': ('Processed', 'Cancelled',),
    'Cancelled': (),
    }

What could be wrong? Thank you very much for your help.
Best Regards
Andras

m...@maikhoepfel.de

unread,
Feb 25, 2013, 12:01:35 PM2/25/13
to django...@googlegroups.com
Hello Andras,

I'm guessing you're looking at an order that was created before you added the settings. I've had the same problem, and the status of my test orders before adding the settings (unsurprisingly) did not change. So just place a new order, and you should see the changes!

Let me know if you're still having trouble after that.

Regards,

Maik

m...@maikhoepfel.de

unread,
Feb 25, 2013, 12:04:40 PM2/25/13
to django...@googlegroups.com
Hello Andras,

please disregard what I've said. I got confused between order status and line status. I'll have a look into it; I dont yet know how it works myself.

Regards,

Maik

ad...@philippundhee.ch

unread,
Feb 26, 2013, 9:16:21 AM2/26/13
to django...@googlegroups.com
Hi Maik
Thank you very much for your answer and deeper investigation.

Regards Andras

David Winterbottom

unread,
Mar 1, 2013, 12:32:56 PM3/1/13
to django-oscar

Andras - right now, the default templates for Oscar's product dashboard are missing a form to set the order status.  It shouldn't be too difficult to add the form into the templates and extend the OrderDetailView to pass in the relevant form data.

This will be fixed in the master branch shortly.


--
https://github.com/tangentlabs/django-oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
David Winterbottom
Head of Programming

Tangent Labs
84-86 Great Portland Street
London W1W 7NR
England, UK

ad...@philippundhee.ch

unread,
Mar 12, 2013, 4:34:53 AM3/12/13
to django...@googlegroups.com, david.win...@tangentlabs.co.uk
Very nice, thanks!

Sergey Maranchuk

unread,
Nov 26, 2013, 5:14:39 AM11/26/13
to django...@googlegroups.com
what status of this issue?
have same problem with latest master
as i saw on http://sandbox.oscar.tangentlabs.co.uk u can't change order status too

четверг, 21 февраля 2013 г., 17:12:19 UTC+2 пользователь Andras Hee написал:

Marco Badan

unread,
Nov 26, 2013, 11:43:45 AM11/26/13
to django...@googlegroups.com
Hi Sergey,

do you mean the order line status?

There isn't a form yet for changing the order status in the dashboard.
Changing status to all the lines should trigger an order status update.

The form for changing the order lines status it's not working for me.

Cheers
marco

Maik Hoepfel

unread,
Nov 29, 2013, 10:11:29 AM11/29/13
to django...@googlegroups.com
Hi Marco,

that section is usually very specific to business needs, and hence isn't
included in stock Oscar. But I agree that a basic working version would
be helpful. We're happy to accept PRs for that.

Regards,

Maik

On 26/11/13 16:43, Marco Badan wrote:
> Hi Sergey,
>
> do you mean the order line status?
>
> There isn't a form yet for changing the order status in the dashboard.
> Changing status to all the lines should trigger an order status update.
>
> The form for changing the order lines status it's not working for me.
>
> Cheers
> marco
>
> Il giorno martedì 26 novembre 2013 11:14:39 UTC+1, Sergey Maranchuk ha
> scritto:
>
> what status of this issue?
> have same problem with latest master
> as i saw on http://sandbox.oscar.tangentlabs.co.uk
> <http://www.google.com/url?q=http%3A%2F%2Fsandbox.oscar.tangentlabs.co.uk&sa=D&sntz=1&usg=AFQjCNG5iRGdfauh5wloiRr0FJCa-8UUbw>
> u can't change order status too
>
> четверг, 21 февраля 2013 г., 17:12:19 UTC+2 пользователь Andras Hee
> написал:
>
> Hi
> I have a problem. Although I specified
> the OSCAR_ORDER_STATUS_PIPELINE in the settings.py I'm not
> capable to transfer an order to a next state. There are no stati
> at all.
>
> I have following code in the settings.py:
>
> OSCAR_INITIAL_ORDER_STATUS = 'Pending'
> OSCAR_INITIAL_LINE_STATUS = 'Pending'
>
> OSCAR_ORDER_STATUS_PIPELINE = {
> 'Pending': ('Being processed', 'Cancelled',),
> 'Being processed': ('Processed', 'Cancelled',),
> 'Cancelled': (),
> }
>
> What could be wrong? Thank you very much for your help.
> Best Regards
> Andras
>
> --
> https://github.com/tangentlabs/django-oscar
> http://django-oscar.readthedocs.org/en/latest/
> https://twitter.com/django_oscar
> ---
> You received this message because you are subscribed to the Google
> Groups "django-oscar" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-oscar...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-oscar.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-oscar/c37da135-8d97-4236-ad32-14cf67053f48%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages