Skip to Content

Contributors

  • Re: Paperformat issues (Odoo14)
    One last note I forgot to report: it might be obvious, but although this issue might not be really problematic on standard report layouts, It will become an issue when you manage 4x or 5x higher footers, as the occupied space becomes relevant. 
    I posted an example with standard reports only for reproducibility.

    --
    Francesco Ballerini

    Il giorno ven 7 giu 2024 alle ore 14:44 Francesco Ballerini <francescobl.lavoro@gmail.com> ha scritto:

    Hi Tom,


    Thanks for the super quick response.


    AFAIK the report_qweb_element_page_visibility operates on the area outside the margins of the "content area" so the two things should be clearly separated


    That actually make sense for me, so since I was testing a custom report I've tried to reproduced the situation on OCA/reporting-engine odoo14 instance, unfortunately I must confirm what I've said in previous message: if you leave paper format margin bottom value to 0px the footer will not be rendered with or without the installation of module report_qweb_element_page_visibility .


    I've taken notes of all steps to reproduce this behaviour, you can read detailed steps below. Is there anything we can do? Should I open an issue for the module?


    I don't think it's strictly related, so I'm not sure what to do here.


    Steps to reproduce (example with sale order report)


    ADD VISIBILITY CLASS (render footer only in last page)

    - go on Settings > search for > search for "Document Layout", ensure the "external_layout_standard" or another layout is set

    - open the document layout by "external-link" window, find the "div" with footer class and add class "last-page"


    ENSURE PAPER FORMAT USAGE ON REPORT

    - go on Technical > Actions > Reports , select the one named "Quotation / Order"

    - set "A4" record as value for "Paperperformat" field, then click to open the paperformat (or go on Technical > Reporting > Paper Format, and select the A4 paperformat)


    CHANGE PAPER FORMAT PARAMETER

    - set margin bottom to 0px


    PREPARE SALE ORDER DOCUMENT

    - make a sale order that will have enough products to generate a report of at least 2 pages (around 25 products should be fine for the standard report)


    PRINT DOCUMENT

    - on the sale order click "Print" > Quotation / Order


    CURRENT BEHAVIOUR

    Footer will not be rendered on last page (I posted the report in attachments)


    Thank you,
    Francesco Ballerini
    --------------

    Il giorno ven 7 giu 2024 alle ore 12:22 Tom Blauwendraat <notifications@odoo-community.org> ha scritto:

    It sounds a bit paradoxical that you define a bottom margin for the report which is then occupied :)

    AFAIK the report_qweb_element_page_visibility operates on the area outside the margins of the "content area" so the two things should be clearly separated

    Do you perhaps have a screenshot with some arrows and circles highlighting what you mean

    On 6/7/24 12:13, Francesco Ballerini wrote:

    Hi, 


    I am using this module report_qweb_element_page_visibility to be able to show footer conditionally in reports, but I'm having issues with paperformat.


    I need to define  a "margin botton" paperformat parameter in order to let the footer get the proper space when it needs to be rendered, although by defining a static paperformat margin bottom the space of the footer will always be occupied in the report, even if the footer is not displayed by the class last-page/first-page


    So the OCA module works properly, but I think that the margin bottom paperformat parameter is not flexible enough to support this situation.

    Did you ever come up with a solution to this ? Any kind of workaround is fine :)

    Thank you
    --
    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 - 03:01 - 7 Jun 2024
  • Re: Paperformat issues (Odoo14)

    Hi Tom,


    Thanks for the super quick response.


    AFAIK the report_qweb_element_page_visibility operates on the area outside the margins of the "content area" so the two things should be clearly separated


    That actually make sense for me, so since I was testing a custom report I've tried to reproduced the situation on OCA/reporting-engine odoo14 instance, unfortunately I must confirm what I've said in previous message: if you leave paper format margin bottom value to 0px the footer will not be rendered with or without the installation of module report_qweb_element_page_visibility .


    I've taken notes of all steps to reproduce this behaviour, you can read detailed steps below. Is there anything we can do? Should I open an issue for the module?


    I don't think it's strictly related, so I'm not sure what to do here.


    Steps to reproduce (example with sale order report)


    ADD VISIBILITY CLASS (render footer only in last page)

    - go on Settings > search for > search for "Document Layout", ensure the "external_layout_standard" or another layout is set

    - open the document layout by "external-link" window, find the "div" with footer class and add class "last-page"


    ENSURE PAPER FORMAT USAGE ON REPORT

    - go on Technical > Actions > Reports , select the one named "Quotation / Order"

    - set "A4" record as value for "Paperperformat" field, then click to open the paperformat (or go on Technical > Reporting > Paper Format, and select the A4 paperformat)


    CHANGE PAPER FORMAT PARAMETER

    - set margin bottom to 0px


    PREPARE SALE ORDER DOCUMENT

    - make a sale order that will have enough products to generate a report of at least 2 pages (around 25 products should be fine for the standard report)


    PRINT DOCUMENT

    - on the sale order click "Print" > Quotation / Order


    CURRENT BEHAVIOUR

    Footer will not be rendered on last page (I posted the report in attachments)


    Thank you,
    Francesco Ballerini
    --------------

    Il giorno ven 7 giu 2024 alle ore 12:22 Tom Blauwendraat <notifications@odoo-community.org> ha scritto:

    It sounds a bit paradoxical that you define a bottom margin for the report which is then occupied :)

    AFAIK the report_qweb_element_page_visibility operates on the area outside the margins of the "content area" so the two things should be clearly separated

    Do you perhaps have a screenshot with some arrows and circles highlighting what you mean

    On 6/7/24 12:13, Francesco Ballerini wrote:

    Hi, 


    I am using this module report_qweb_element_page_visibility to be able to show footer conditionally in reports, but I'm having issues with paperformat.


    I need to define  a "margin botton" paperformat parameter in order to let the footer get the proper space when it needs to be rendered, although by defining a static paperformat margin bottom the space of the footer will always be occupied in the report, even if the footer is not displayed by the class last-page/first-page


    So the OCA module works properly, but I think that the margin bottom paperformat parameter is not flexible enough to support this situation.

    Did you ever come up with a solution to this ? Any kind of workaround is fine :)

    Thank you
    --
    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 - 02:46 - 7 Jun 2024
  • Re: Paperformat issues (Odoo14)

    It sounds a bit paradoxical that you define a bottom margin for the report which is then occupied :)

    AFAIK the report_qweb_element_page_visibility operates on the area outside the margins of the "content area" so the two things should be clearly separated

    Do you perhaps have a screenshot with some arrows and circles highlighting what you mean

    On 6/7/24 12:13, Francesco Ballerini wrote:

    Hi, 


    I am using this module report_qweb_element_page_visibility to be able to show footer conditionally in reports, but I'm having issues with paperformat.


    I need to define  a "margin botton" paperformat parameter in order to let the footer get the proper space when it needs to be rendered, although by defining a static paperformat margin bottom the space of the footer will always be occupied in the report, even if the footer is not displayed by the class last-page/first-page


    So the OCA module works properly, but I think that the margin bottom paperformat parameter is not flexible enough to support this situation.

    Did you ever come up with a solution to this ? Any kind of workaround is fine :)

    Thank you
    --
    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 Tom Blauwendraat - 12:21 - 7 Jun 2024
  • Paperformat issues (Odoo14)

    Hi, 


    I am using this module report_qweb_element_page_visibility to be able to show footer conditionally in reports, but I'm having issues with paperformat.


    I need to define  a "margin botton" paperformat parameter in order to let the footer get the proper space when it needs to be rendered, although by defining a static paperformat margin bottom the space of the footer will always be occupied in the report, even if the footer is not displayed by the class last-page/first-page


    So the OCA module works properly, but I think that the margin bottom paperformat parameter is not flexible enough to support this situation.

    Did you ever come up with a solution to this ? Any kind of workaround is fine :)

    Thank you
    --
    Francesco Ballerini


    by Francesco Ballerini - 12:11 - 7 Jun 2024
  • e-Commerce categories template on another page (Odoo14)
    Hi,

    I'd like to bring the category template of e-Commerce (this one) on the Homepage route.

    Did someone else ever did it on public repository? (currently working on odoo14 so nearest versions are fine)

    I think I could literally re-use the original template and a new controller in order to send categories data on the home page, but having an example of implementation would be great.

    Regards,
    --
    Francesco Ballerini


    by Francesco Ballerini - 04:41 - 6 Jun 2024
  • Re: Mass ir.attachment export

    Hi,


    That's super-useful, thanks!

    Kind regards,
    Alexey

    On 5 Jun 2024, at 12:42, Rémi CAZENAVE - Le Filament <notifications@odoo-community.org> wrote:

    Hi Alexey,
    we had a similar request from a customer and we ended up making a Python script to export files directly from filestore into a directory structure with one directory per invoice / sale order / expense name.

    If it could be useful, you can find it here : https://sources.le-filament.com/-/snippets/4

    Best Regards,
    Rémi

    Le mercredi 05/06/2024 09:22, Alexey Pelykh <notifications@odoo-community.org> a écrit :

    Greetings,
    
    I'm looking for a module that could export all attachments from bills and invoices, preferably sorted by month - for archival purposes. Any in existence?
    
    Cheers,
    Alexey

    _______________________________________________
    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 Alexey Pelykh - 12:46 - 5 Jun 2024
  • Re: Mass ir.attachment export
    Hi Alexey,
    we had a similar request from a customer and we ended up making a Python script to export files directly from filestore into a directory structure with one directory per invoice / sale order / expense name.

    If it could be useful, you can find it here : https://sources.le-filament.com/-/snippets/4

    Best Regards,
    Rémi

    Le mercredi 05/06/2024 09:22, Alexey Pelykh <notifications@odoo-community.org> a écrit :

    Greetings,
    
    I'm looking for a module that could export all attachments from bills and invoices, preferably sorted by month - for archival purposes. Any in existence?
    
    Cheers,
    Alexey

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Rémi Cazenave - 12:41 - 5 Jun 2024
  • 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.

    -- 
    田代祥隆 Yoshi Tashiro
    コタエル株式会社 / Quartile Limited


    On Wed, Jun 5, 2024 at 6:17 PM Stefano Consolaro <notifications@odoo-community.org> wrote:
    @Yoshi
    do you think that it will be a good idea to do a PR to add this module to the OCA repository?
    Thanks

    Da "Francesco Ballerini" notifications@odoo-community.org
    Cc
    Data Wed, 05 Jun 2024 08:27:18 -0000
    Oggetto 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 Ballrini



    Il 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!
    -- 
    田代祥隆 Yoshi Tashiro
    コタエル株式会社 / Quartile Limited



    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: Contracts for different subsequent prices

    Hello Jan,

    Do you use the product_contract module to make contract subscription available in the webshop ?

    If yes, you should be able to set up the contract template linked to the product with different lines with different recurrence/end date. 

    Victor Champonnois - Coop IT Easy
    Tel : +32 475 81 01 12
    On 4/06/24 09:59, Jan Suhr | Nitrokey wrote:
    Hi Pablo!
    Yes, I see this is possible in a sales order. But can this be configured 
    in the product or contract or contract template so that it automatically 
    applies to all products/contracts bought in the online shop?
    
    Best regards
    Jan
    

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Victor - 11:16 - 5 Jun 2024
  • Re: Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
    @Yoshi
    do you think that it will be a good idea to do a PR to add this module to the OCA repository?
    Thanks

    Da "Francesco Ballerini" notifications@odoo-community.org
    A "Contributors" contributors@odoo-community.org
    Cc
    Data Wed, 05 Jun 2024 08:27:18 -0000
    Oggetto 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 Ballrini



    Il 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!
    -- 
    田代祥隆 Yoshi Tashiro
    コタエル株式会社 / Quartile Limited



    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
    www.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 Ballrini



    Il 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!
    -- 
    田代祥隆 Yoshi Tashiro
    コタエル株式会社 / Quartile Limited



    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: Mass ir.attachment export
    Hi,

    At least in version 14.0 there is a mixin called `ir.attachment.action_download` you may re-use from attachment_zipped_download module (documented in usage)

    Regards

    Le mer. 5 juin 2024 à 09:23, Alexey Pelykh <notifications@odoo-community.org> a écrit :
    Greetings,
    
    I'm looking for a module that could export all attachments from bills and invoices, preferably sorted by month - for archival purposes. Any in existence?
    
    Cheers,
    Alexey

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    --
    Pierre

    by Pierre Verkest - 09:39 - 5 Jun 2024
  • Mass ir.attachment export
    Greetings,
    
    I'm looking for a module that could export all attachments from bills and invoices, preferably sorted by month - for archival purposes. Any in existence?
    
    Cheers,
    Alexey

    by Alexey Pelykh - 09:22 - 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!
    -- 
    田代祥隆 Yoshi Tashiro
    コタエル株式会社 / Quartile Limited



    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
  • Re: Contracts for different subsequent prices
    Jan, with OCA Contracts you use a Contract Template, whith Recurrence at Line Level, and specific Date End for that line only for one year.




    El 2024-06-04 04:59, Jan Suhr | Nitrokey escribió:
    Hi Pablo!
    Yes, I see this is possible in a sales order. But can this be configured
    in the product or contract or contract template so that it automatically
    applies to all products/contracts bought in the online shop?
    Best regards
    Jan

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15 [1]
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe [2]



    [1] https://odoo-community.org/groups/contributors-15
    [2] https://odoo-community.org/groups?unsubscribe

    by info - 09:45 - 4 Jun 2024
  • Outgoing quantity from draft/sent or not fully delivered confirmed orders (odoo14)
    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

    by Francesco Ballerini - 05:21 - 4 Jun 2024
  • Re: Contracts for different subsequent prices
    Hi Pablo!
    Yes, I see this is possible in a sales order. But can this be configured 
    in the product or contract or contract template so that it automatically 
    applies to all products/contracts bought in the online shop?
    
    Best regards
    Jan
    

    by Jan Suhr - 09:58 - 4 Jun 2024
  • Re: Contracts for different subsequent prices
    Hello Jan
    
    Yes, you can specify diferente recurrence for each line, and you can set 
    an end date for each individual line.
    
    Regards
    
    
    
    El 2024-06-03 13:47, Jan Suhr | Nitrokey escribió:
    
    > Hi!
    
    > We sell a service contract which costs more in the first year (because
    
    > of installation service) and less in subsequent years (license costs
    
    > only). Ideally this would be configured as a single product which can
    
    > simply be offered in the online shop. Is it possible to configure these
    
    > different prices with Contracts?
    
    > Best regards
    
    > Jan
    
    > 
    
    > _______________________________________________
    
    > Mailing-List: https://odoo-community.org/groups/contributors-15 [1]
    
    > Post to: mailto:contributors@odoo-community.org
    
    > Unsubscribe: https://odoo-community.org/groups?unsubscribe [2]
    
    > 
    
    > 
    
    > 
    
    > [1] https://odoo-community.org/groups/contributors-15
    
    > [2] https://odoo-community.org/groups?unsubscribe
    

    by info - 05:03 - 4 Jun 2024
  • Contracts for different subsequent prices
    Hi!
    We sell a service contract which costs more in the first year (because 
    of installation service) and less in subsequent years (license costs 
    only). Ideally this would be configured as a single product which can 
    simply be offered in the online shop. Is it possible to configure these 
    different prices with Contracts?
    
    Best regards
    Jan
    

    by Jan Suhr - 06:45 - 3 Jun 2024
  • Re: Intercompany confirmations

    My, how could I have missed that. Thanks!!!

    On 5/30/24 15:17, Carlos Lopez wrote:
    Hi, check this module and other modules into same repo

    El jue, 30 may 2024 a las 7:53, Tom Blauwendraat (<notifications@odoo-community.org>) escribió:
    Hi OCA,
    
    Enterprise sale_purchase_intercompany modules are not that great.
    
    Does anyone know of an alternative?
    
    -Tom
    
    

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    --

    Saludos Cordiales.

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Tom Blauwendraat - 04:17 - 30 May 2024