Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] sale_product_set #3386

Open
wants to merge 76 commits into
base: 18.0
Choose a base branch
from

Commits on Nov 4, 2024

  1. [add] sale_product_set

    Pierre Verkest authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    de8d08d View commit details
    Browse the repository at this point in the history
  2. [10.0][MIG] sale_product_set

    leemannd authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    b786980 View commit details
    Browse the repository at this point in the history
  3. [10.0][FIX][sale_product_set] incompatibility with sale_margin (OCA#519)

    * when a set is added to a sales order, it passes the unit of measure
    of the product to the sales order line. Fixes an incompatibility with
    module sale_margin.
    MiquelRForgeFlow authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    fef3a19 View commit details
    Browse the repository at this point in the history
  4. [10.0][IMP] sale_product_set: move add set smart button header (OCA…

    …#543)
    
    * [imp] move SO `add set` button to smartbutton header
    
    * [fix] sale_product_set: PEP8
    leemannd authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    e95863c View commit details
    Browse the repository at this point in the history
  5. [MIG][11.0] sale_product_set

    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    f34289a View commit details
    Browse the repository at this point in the history
  6. remove obsolete .pot files [ci skip]

    sbidoul authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    053a551 View commit details
    Browse the repository at this point in the history
  7. [UPD] Update sale_product_set.pot

    oca-travis authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    a3f9993 View commit details
    Browse the repository at this point in the history
  8. Translated using Weblate (Spanish)

    Currently translated at 100.0% (22 of 22 strings)
    
    Translation: sale-workflow-11.0/sale-workflow-11.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-11-0/sale-workflow-11-0-sale_product_set/es/
    pedrobaeza authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    afd80ec View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d5fb75d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    54b065b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1193ba4 View commit details
    Browse the repository at this point in the history
  12. [FIX] - fix class name

    sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    ad3cc1f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    65e74f8 View commit details
    Browse the repository at this point in the history
  14. [ADD] - Add ref field

    sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    a6707d7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f35ab00 View commit details
    Browse the repository at this point in the history
  16. Remove string attribute

    Co-Authored-By: sbejaoui <[email protected]>
    rven and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    5db5fc4 View commit details
    Browse the repository at this point in the history
  17. Translated using Weblate (Spanish)

    Currently translated at 100.0% (24 of 24 strings)
    
    Translation: sale-workflow-12.0/sale-workflow-12.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_product_set/es/
    mvrodriguez authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    c55948a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    b5420cf View commit details
    Browse the repository at this point in the history
  19. Translated using Weblate (German)

    Currently translated at 100.0% (25 of 25 strings)
    
    Translation: sale-workflow-12.0/sale-workflow-12.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_product_set/de/
    marylla authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    c508621 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    70e5400 View commit details
    Browse the repository at this point in the history
  21. [IMP] sale_product_set module

    AdriaGForgeFlow authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    db66743 View commit details
    Browse the repository at this point in the history
  22. Translated using Weblate (Chinese (Simplified))

    Currently translated at 100.0% (27 of 27 strings)
    
    Translation: sale-workflow-12.0/sale-workflow-12.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_product_set/zh_CN/
    liweijie0812 authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    3c30bc5 View commit details
    Browse the repository at this point in the history
  23. sale_product_set: test coverage 100%

    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    96f7ba9 View commit details
    Browse the repository at this point in the history
  24. sale_product_set: add optional partner

    Add `partner_id` to product.set allowing to define specific sets per customer
    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    48c197e View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    7c9a93d View commit details
    Browse the repository at this point in the history
  26. sale_product_set: fix access rule

    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    095dee9 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    ba4473a View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    04ea04b View commit details
    Browse the repository at this point in the history
  29. sale_product_set: fix add wizard relation w/ set

    Before this change: try to delete a set used in a wizard right after
    -> KABOOM! The FK over the set would prevent deletion
    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    bd25fbc View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    4b68c40 View commit details
    Browse the repository at this point in the history
  31. sale_product_set 12.0.1.3.0

    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    3f47aa4 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    67dd863 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    2b2ad84 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    39ee609 View commit details
    Browse the repository at this point in the history
  35. Translated using Weblate (Spanish)

    Currently translated at 100.0% (34 of 34 strings)
    
    Translation: sale-workflow-13.0/sale-workflow-13.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_product_set/es/
    danimv5 authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    43ca705 View commit details
    Browse the repository at this point in the history
  36. Translated using Weblate (Catalan)

    Currently translated at 100.0% (34 of 34 strings)
    
    Translation: sale-workflow-13.0/sale-workflow-13.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_product_set/ca/
    brendapaniagua authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    b29409b View commit details
    Browse the repository at this point in the history
  37. [13][IMP] product_set also duplicate lines

    TDu authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    726ba6c View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    f718870 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    470f664 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    5904215 View commit details
    Browse the repository at this point in the history
  41. Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (34 of 34 strings)
    
    Translation: sale-workflow-14.0/sale-workflow-14.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_product_set/pt_BR/
    britoederr authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    45b3326 View commit details
    Browse the repository at this point in the history
  42. Translated using Weblate (Catalan)

    Currently translated at 100.0% (34 of 34 strings)
    
    Translation: sale-workflow-14.0/sale-workflow-14.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_product_set/ca/
    danimv5 authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    e9a211e View commit details
    Browse the repository at this point in the history
  43. Translated using Weblate (Spanish)

    Currently translated at 100.0% (34 of 34 strings)
    
    Translation: sale-workflow-14.0/sale-workflow-14.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_product_set/es/
    danimv5 authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    6a41ed1 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    cc93a13 View commit details
    Browse the repository at this point in the history
  45. sale_product_set: allow passing custom lines to wizard

    Now you can pass selected lines at creation via field value or ctx key.
    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    114072d View commit details
    Browse the repository at this point in the history
  46. sale_product_set: improve views/actions

    * add to order from set view too
    * display lines and allow to add/remove them
    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    b72b4df View commit details
    Browse the repository at this point in the history
  47. sale_product_set: cleanup test case

    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    745c69f View commit details
    Browse the repository at this point in the history
  48. sale_product_set: fix SO line vals get

    Ensure all required onchanges are applied on new SO line values.
    
    Not all the modules rely on 'product_id_change'
    to change values related to products.
    
    A typical case is 'sale_stock' whereas product lead time
    is handled by '_onchange_product_id_set_customer_lead'.
    
    In this example, without this change,
    all lines added via product set wizard will have a wrong lead time.
    simahawk authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    a256dbf View commit details
    Browse the repository at this point in the history
  49. Translated using Weblate (German)

    Currently translated at 100.0% (36 of 36 strings)
    
    Translation: sale-workflow-14.0/sale-workflow-14.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_product_set/de/
    marylla authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    c1f0f14 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    8b4bef2 View commit details
    Browse the repository at this point in the history
  51. [FIX] sale_product_set: Change toggle_active button to web_ribbon wid…

    …get in form view.
    
    TT34555
    victoralmau authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    83d22fa View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    e84dc98 View commit details
    Browse the repository at this point in the history
  53. [14.0][FIX] sale_product_set: Add company_id from order

    Due to odoo/odoo@86febae
    company should be set on lines
    rousseldenis authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    8b3ed44 View commit details
    Browse the repository at this point in the history
  54. Translated using Weblate (Spanish)

    Currently translated at 91.8% (34 of 37 strings)
    
    Translation: sale-workflow-14.0/sale-workflow-14.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_product_set/es/
    pedrobaeza authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    2606289 View commit details
    Browse the repository at this point in the history
  55. [FIX] sale_product_set: Proper company default

    Since v13, the company environment is different from the user main
    company, and we can get an error if not using the default environment
    one.
    
    Check https://www.odoo.com/documentation/13.0/es/developer/howtos/company.html#howto-company-default-company
    for more info.
    
    TT35333
    pedrobaeza authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    5891c31 View commit details
    Browse the repository at this point in the history
  56. sale_product_set: fix custom lines edit

    Was not possible to change lines manually.
    Closes OCA#1817
    Mantux11 authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    febc668 View commit details
    Browse the repository at this point in the history
  57. Translated using Weblate (Italian)

    Currently translated at 33.3% (12 of 36 strings)
    
    Translation: sale-workflow-14.0/sale-workflow-14.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_product_set/it/
    francesco-ooops authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    8bf2f90 View commit details
    Browse the repository at this point in the history
  58. [13.0][FIX] sale_product_set: fix sequence during set_apply on SO.

    If the user plays too much with sequences on the product set, it's possible to have some negative sequences.
    But when the set is applied on the SO negative sequences are added to max_sequence. As the sequence is < 0 it adds the product 'in the middle' of the SO instead of let grouped every product's set.
    acsonefho authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    2244935 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    ac558a9 View commit details
    Browse the repository at this point in the history
  60. Translated using Weblate (Italian)

    Currently translated at 36.1% (13 of 36 strings)
    
    Translation: sale-workflow-15.0/sale-workflow-15.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_product_set/it/
    mymage authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    4bbd4c6 View commit details
    Browse the repository at this point in the history
  61. Translated using Weblate (Slovenian)

    Currently translated at 58.3% (21 of 36 strings)
    
    Translation: sale-workflow-15.0/sale-workflow-15.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_product_set/sl/
    sysadminmatmoz authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    f214c1f View commit details
    Browse the repository at this point in the history
  62. [MIG] sale_product_set: Migration to 16.0

    Christopher Rogos authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    343a8f7 View commit details
    Browse the repository at this point in the history
  63. Split into product-attribute/product_set and sale_product_set

    [UPD] Update sale_product_set.pot
    
    [UPD] README.rst
    
    Update translation files
    
    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: sale-workflow-16.0/sale-workflow-16.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_product_set/
    
    Update translation files
    
    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: sale-workflow-16.0/sale-workflow-16.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_product_set/
    
    Translated using Weblate (Spanish)
    
    Currently translated at 100.0% (23 of 23 strings)
    
    Translation: sale-workflow-16.0/sale-workflow-16.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_product_set/es/
    
    [UPD] README.rst
    Christopher Rogos authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    4334cff View commit details
    Browse the repository at this point in the history
  64. [MIG] sale_product_set_layout: Migration to 16.0

    Translated using Weblate (Italian)
    
    Currently translated at 100.0% (23 of 23 strings)
    
    Translation: sale-workflow-16.0/sale-workflow-16.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_product_set/it/
    
    [UPD] Update sale_product_set.pot
    
    [BOT] post-merge updates
    
    Update translation files
    
    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: sale-workflow-16.0/sale-workflow-16.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_product_set/
    
    Translated using Weblate (Italian)
    
    Currently translated at 100.0% (26 of 26 strings)
    
    Translation: sale-workflow-16.0/sale-workflow-16.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_product_set/it/
    
    Translated using Weblate (Spanish)
    
    Currently translated at 100.0% (26 of 26 strings)
    
    Translation: sale-workflow-16.0/sale-workflow-16.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_product_set/es/
    Christopher Rogos authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    8d6107c View commit details
    Browse the repository at this point in the history
  65. [IMP] sale_product_set: Move the base logic of the transient model to…

    … product_set
    
    The reason to move this logic is that there are other modules that extend
    product_set as for example stock_product_set but at the same time make use
    of the transient model to define a wizard. For this reason it is better to
    have the logic available in product_set module and avoid duplicating code or
    inheriting from sale_product_set and what this implies in their respective
    dependencies with the only need to extend the transient model.
    In addition, the transient model is renamed to make it clearer to identify
    that it is this type of model.
    
    TT48100
    
    [UPD] Update sale_product_set.pot
    
    [BOT] post-merge updates
    
    Update translation files
    
    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: sale-workflow-16.0/sale-workflow-16.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_product_set/
    pilarvargas-tecnativa authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    6b2b5b1 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    f224ca6 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    e2488de View commit details
    Browse the repository at this point in the history
  68. [UPD] Update sale_product_set.pot

    oca-ci authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    f2c9322 View commit details
    Browse the repository at this point in the history
  69. [BOT] post-merge updates

    OCA-git-bot authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    b9472c5 View commit details
    Browse the repository at this point in the history
  70. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: sale-workflow-17.0/sale-workflow-17.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_product_set/
    weblate authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    04e95d5 View commit details
    Browse the repository at this point in the history
  71. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: sale-workflow-17.0/sale-workflow-17.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_product_set/
    weblate authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    3d0b93c View commit details
    Browse the repository at this point in the history
  72. Translated using Weblate (German)

    Currently translated at 100.0% (25 of 25 strings)
    
    Translation: sale-workflow-17.0/sale-workflow-17.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_product_set/de/
    NICO-SOLUTIONS authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    1c4fe9b View commit details
    Browse the repository at this point in the history
  73. Translated using Weblate (Swedish)

    Currently translated at 100.0% (25 of 25 strings)
    
    Translation: sale-workflow-17.0/sale-workflow-17.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_product_set/sv/
    jakobkrabbe authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    046ddec View commit details
    Browse the repository at this point in the history
  74. Translated using Weblate (Italian)

    Currently translated at 100.0% (25 of 25 strings)
    
    Translation: sale-workflow-17.0/sale-workflow-17.0-sale_product_set
    Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_product_set/it/
    mymage authored and sbejaoui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    42c7d17 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    2d59b02 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    69bf645 View commit details
    Browse the repository at this point in the history