# Order value in Action Windows

**URL:** https://discuss.tryton.org/t/order-value-in-action-windows/2648
**Category:** User
**Created:** [April 28, 2020, 5:01am UTC](https://discuss.tryton.org/t/order-value-in-action-windows/2648 "2020-04-28T05:01:03Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jeromarquez](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jeromarquez/32/452_2.png) [@jeromarquez](https://discuss.tryton.org/u/jeromarquez)
#### Post date: [April 28, 2020, 5:01am UTC](https://discuss.tryton.org/t/order-value-in-action-windows/2648/1 "2020-04-28T05:01:03Z")

</div>

Hello everyone!  
I’m trying to personalize an Action Window with the last 30 days Invoices to show on the dashboard.  
I could do everything that I want less getting them ordered by date.  
I tryed with [(“invoice\_date”, “DESC”)] but nothing happens. They continue ordered by number.  
Does someone have the answer?  
Thanks!

---

<div class="post-metadata">

### Author: ![oscarQ](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/oscarq/32/413_2.png) [@oscarQ](https://discuss.tryton.org/u/oscarQ)
#### Post date: [April 28, 2020, 9:12am UTC](https://discuss.tryton.org/t/order-value-in-action-windows/2648/2 "2020-04-28T09:12:55Z")

</div>

I think that it should work so maybe the problem is that for some reason the database is not getting updated.  
Can you check the value of the field ‘order’ of this record through the database or through the web interface (/Administration/User Interface/Actions/Window Action)

---

<div class="post-metadata">

### Author: ![jeromarquez](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jeromarquez/32/452_2.png) [@jeromarquez](https://discuss.tryton.org/u/jeromarquez)
#### Post date: [April 28, 2020, 11:49am UTC](https://discuss.tryton.org/t/order-value-in-action-windows/2648/3 "2020-04-28T11:49:22Z")

</div>

Hi Oscar, thanks for your answer.  
Are you asking me this?

 ![imagen](https://discuss-cdn.tryton.org/uploads/default/original/1X/80af549f9ccfd38c20306c7874a0c1c2a7be8830.png)  
 ![imagen](https://discuss-cdn.tryton.org/uploads/default/original/1X/77fca51a4523e3a4eb63445f0cd21cfb7cf3ee24.png)

---

<div class="post-metadata">

### Author: ![oscarQ](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/oscarq/32/413_2.png) [@oscarQ](https://discuss.tryton.org/u/oscarQ)
#### Post date: [April 28, 2020, 12:18pm UTC](https://discuss.tryton.org/t/order-value-in-action-windows/2648/4 "2020-04-28T12:18:49Z")

</div>

Yes, that’s what I was asking for.  
The value is right, so maybe the problem is that you are not calling this action in the menu?  
(I tested it in my environment to be sure, and it’s working but I’m using 5.2, so maybe something changed in later versions)

---

<div class="post-metadata">

### Author: ![jeromarquez](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jeromarquez/32/452_2.png) [@jeromarquez](https://discuss.tryton.org/u/jeromarquez)
#### Post date: [April 28, 2020, 12:48pm UTC](https://discuss.tryton.org/t/order-value-in-action-windows/2648/5 "2020-04-28T12:48:08Z")

</div>

I’m calling it from dashboard. I will try calling it from the menu and let you know.  
Thank you very much for your time.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [April 28, 2020, 1:13pm UTC](https://discuss.tryton.org/t/order-value-in-action-windows/2648/6 "2020-04-28T13:13:30Z")

</div>

Indeed the order of action is not used on board. Please fill an issue.

---

<div class="post-metadata">

### Author: ![jeromarquez](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jeromarquez/32/452_2.png) [@jeromarquez](https://discuss.tryton.org/u/jeromarquez)
#### Post date: [April 28, 2020, 6:07pm UTC](https://discuss.tryton.org/t/order-value-in-action-windows/2648/7 "2020-04-28T18:07:40Z")

</div>

@ced Something like this?

> **[Action Window order on dashboard (#9275) · Issues · Tryton / Tryton · GitLab](https://foss.heptapod.net/tryton/tryton/-/issues/9275)**
>
> When you choose some ordered Action Window on dashboard it doesn't work properly. It just gets a default order.

Excuse me, but I’m totally new on this kind of things.
