- Mailing Lists
- Contributors
- Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
- 'draft' (quotations) orders
- 'sent' (e-Commerce) orders
- 'confirm' orders but only for those lines that hasn't been fully delivered
by Francesco Ballerini - 05:21 - 4 Jun 2024
Follow-Ups
-
Re: Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
Hi Stefano, please feel free to use the code to create a PR in the OCA. We could also do so ourselves when we have time. If we put it in OCA, we probably want to add a configuration to enable the feature, as this module may break some tests from other modules otherwise.--On Wed, Jun 5, 2024 at 6:17 PM Stefano Consolaro <notifications@odoo-community.org> wrote:@Yoshido you think that it will be a good idea to do a PR to add this module to the OCA repository?ThanksDa "Francesco Ballerini" notifications@odoo-community.orgA "Contributors" contributors@odoo-community.orgCcData Wed, 05 Jun 2024 08:27:18 -0000Oggetto Re: Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
Hi Yoshi,
This perfectly matches what I was searching for 👍👍 I like the approach of adding 'draft' and 'sent' quantities directly into the 'virtual_available' field, I think we can try to use your module as is.This was really helpful and effective, thank you !--Francesco BallriniIl giorno mer 5 giu 2024 alle ore 02:39 Yoshi Tashiro <notifications@odoo-community.org> ha scritto:Hi Francesco,We made this module for a client for the similar need to what you describe.Good luck!--On Wed, Jun 5, 2024 at 12:23 AM Francesco Ballerini <notifications@odoo-community.org> wrote:Hi,I am looking for way to compute a field on products that shows the "free quantity" in a slightly different way compared to Odoo:Odoo will show free quantity as "qty on hand - reserved qty", but the reserved quantity is related to stock moves so the evaluation involves an order confirmation.I have been asked to add a new "free quantity" field that is computed instead as "qty on hand - outgoing qty" where the outgoing quantity should be computed from- 'draft' (quotations) orders
- 'sent' (e-Commerce) orders
- 'confirm' orders but only for those lines that hasn't been fully delivered
I might have found an approach to this, which I'll describe below, but I'd like to ask if you have a better suggestion (in best case a field that I've missed or maybe a module introducing this), as I was looking for an easier or better way to achieve this task.Otherwise I think I can do the following:I think I can use this module maybe in combination with its parent sale_delivery_state, in order to filter out the majority of orders and evaluate the remaining order lines, filtered by active product:the sum of `demanded quantity - delivered quantity` for all those lines should match the needed computation I need for the "outgoing" quantity at this point.Do you have any hint for a shorter and/or better way?Thanks in advance--Francesco Ballerini_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Stefano Consolaro_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Yoshi Tashiro. - 11:50 - 5 Jun 2024 -
Re: Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
@Yoshido you think that it will be a good idea to do a PR to add this module to the OCA repository?ThanksDa "Francesco Ballerini" notifications@odoo-community.orgA "Contributors" contributors@odoo-community.orgCcData Wed, 05 Jun 2024 08:27:18 -0000Oggetto Re: Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
Hi Yoshi,
This perfectly matches what I was searching for 👍👍 I like the approach of adding 'draft' and 'sent' quantities directly into the 'virtual_available' field, I think we can try to use your module as is.This was really helpful and effective, thank you !--Francesco BallriniIl giorno mer 5 giu 2024 alle ore 02:39 Yoshi Tashiro <notifications@odoo-community.org> ha scritto:Hi Francesco,We made this module for a client for the similar need to what you describe.Good luck!--On Wed, Jun 5, 2024 at 12:23 AM Francesco Ballerini <notifications@odoo-community.org> wrote:Hi,I am looking for way to compute a field on products that shows the "free quantity" in a slightly different way compared to Odoo:Odoo will show free quantity as "qty on hand - reserved qty", but the reserved quantity is related to stock moves so the evaluation involves an order confirmation.I have been asked to add a new "free quantity" field that is computed instead as "qty on hand - outgoing qty" where the outgoing quantity should be computed from- 'draft' (quotations) orders
- 'sent' (e-Commerce) orders
- 'confirm' orders but only for those lines that hasn't been fully delivered
I might have found an approach to this, which I'll describe below, but I'd like to ask if you have a better suggestion (in best case a field that I've missed or maybe a module introducing this), as I was looking for an easier or better way to achieve this task.Otherwise I think I can do the following:I think I can use this module maybe in combination with its parent sale_delivery_state, in order to filter out the majority of orders and evaluate the remaining order lines, filtered by active product:the sum of `demanded quantity - delivered quantity` for all those lines should match the needed computation I need for the "outgoing" quantity at this point.Do you have any hint for a shorter and/or better way?Thanks in advance--Francesco Ballerini_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Stefano Consolarowww.mymage.it
by Stefano Consolaro - 11:16 - 5 Jun 2024 -
Re: Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
Hi Yoshi,
This perfectly matches what I was searching for 👍👍 I like the approach of adding 'draft' and 'sent' quantities directly into the 'virtual_available' field, I think we can try to use your module as is.This was really helpful and effective, thank you !--Francesco BallriniIl giorno mer 5 giu 2024 alle ore 02:39 Yoshi Tashiro <notifications@odoo-community.org> ha scritto:Hi Francesco,We made this module for a client for the similar need to what you describe.Good luck!--On Wed, Jun 5, 2024 at 12:23 AM Francesco Ballerini <notifications@odoo-community.org> wrote:Hi,I am looking for way to compute a field on products that shows the "free quantity" in a slightly different way compared to Odoo:Odoo will show free quantity as "qty on hand - reserved qty", but the reserved quantity is related to stock moves so the evaluation involves an order confirmation.I have been asked to add a new "free quantity" field that is computed instead as "qty on hand - outgoing qty" where the outgoing quantity should be computed from- 'draft' (quotations) orders
- 'sent' (e-Commerce) orders
- 'confirm' orders but only for those lines that hasn't been fully delivered
I might have found an approach to this, which I'll describe below, but I'd like to ask if you have a better suggestion (in best case a field that I've missed or maybe a module introducing this), as I was looking for an easier or better way to achieve this task.Otherwise I think I can do the following:I think I can use this module maybe in combination with its parent sale_delivery_state, in order to filter out the majority of orders and evaluate the remaining order lines, filtered by active product:the sum of `demanded quantity - delivered quantity` for all those lines should match the needed computation I need for the "outgoing" quantity at this point.Do you have any hint for a shorter and/or better way?Thanks in advance--Francesco Ballerini_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Francesco Ballerini - 10:26 - 5 Jun 2024 -
Re: Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
Hi Francesco,We made this module for a client for the similar need to what you describe.Good luck!--On Wed, Jun 5, 2024 at 12:23 AM Francesco Ballerini <notifications@odoo-community.org> wrote:Hi,I am looking for way to compute a field on products that shows the "free quantity" in a slightly different way compared to Odoo:Odoo will show free quantity as "qty on hand - reserved qty", but the reserved quantity is related to stock moves so the evaluation involves an order confirmation.I have been asked to add a new "free quantity" field that is computed instead as "qty on hand - outgoing qty" where the outgoing quantity should be computed from- 'draft' (quotations) orders
- 'sent' (e-Commerce) orders
- 'confirm' orders but only for those lines that hasn't been fully delivered
I might have found an approach to this, which I'll describe below, but I'd like to ask if you have a better suggestion (in best case a field that I've missed or maybe a module introducing this), as I was looking for an easier or better way to achieve this task.Otherwise I think I can do the following:I think I can use this module maybe in combination with its parent sale_delivery_state, in order to filter out the majority of orders and evaluate the remaining order lines, filtered by active product:the sum of `demanded quantity - delivered quantity` for all those lines should match the needed computation I need for the "outgoing" quantity at this point.Do you have any hint for a shorter and/or better way?Thanks in advance--Francesco Ballerini_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Yoshi Tashiro. - 02:39 - 5 Jun 2024