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

[16.0] [MIG] product_pack: Migration to 16.0 #120

Merged
merged 75 commits into from
Feb 28, 2023

Commits on Feb 23, 2023

  1. INIT

    INIT
    
    ADD pot files and module for agrimesores
    jjscarafia authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    b6a1186 View commit details
    Browse the repository at this point in the history
  2. [FIX] traslation and clean modules

    nicomacr authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    3fd46eb View commit details
    Browse the repository at this point in the history
  3. [IMP/FIX] product pack

    IMP product pack to support surveyor packs
    
    IMP pack description
    
    IMP add product pack standar functionality for v8 and general improvements
    
    IMP discounts and portal distributors permissions
    
    FIX product_pack license and author
    
    FIX prod pack available
    
    IMP pack to restrict company in products
    
    FIX pack company restriction
    jjscarafia authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    36f2c92 View commit details
    Browse the repository at this point in the history
  4. IMP

    Nicolas Mac Rouillon authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    67b98de View commit details
    Browse the repository at this point in the history
  5. [IMP/FIX] product_pack

    IMP product_pack format
    
    FIX fix_digits_compute_to_digits
    
    IMP IMPORTANT imprrovements on product pack, get pack with sale order constraint
    
    IMP use constraint on sale line and not sale order for product packs
    
    IMP implement totalice price on product pack
    
    IMP update pack manifest
    
    FIX prod pack copy sale order
    
    FIX contraint
    
    IMP compt with other modules
    
    FIX prod pack @api.multi
    jjscarafia authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    adeaa8b View commit details
    Browse the repository at this point in the history
  6. 9.0-fix-product_pack (OCA#110)

    9.0 FIX filter the taxes by company (OCA#111)
    nicomacr authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    658c360 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cf3cba9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c613497 View commit details
    Browse the repository at this point in the history
  9. [REL] init repository v11 (OCA#122)

    * [REL] replace __openerp__ for __manifest__
    
    * [REL] replace openerp imports for odoo
    
    * [REL] some python3 exceptions
    
    * [REL] replace openerp by odoo on xml files
    
    * [REL] delete utf-8 line on python files
    
    * [REL] some minor fixes for migration to v11
    
    * [FIX] runbot link
    jjscarafia authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    d3bc637 View commit details
    Browse the repository at this point in the history
  10. [REL] migration product_pack to 11.0 (OCA#145)

    * [FIX] xml files names
    
    * [REL] migration product_pack to 11.0
    * [FIX] Update README
    * [FIX] remove openerp tags and data tags
    * [IMP] change some funtion to improve funcionality
    * [FIX] change name to xml and .py files according guidelines
    * [FIX] remove api.one decorators
    
    * [FIX] update readme
    
    * [FIX] Remove "encoding: utf-8"
    
    * [FIX] remove api.multi, string not necesary and some other fixes
    
    * [FIX] demo data to separate according Guidelines
    
    * [FIX] fix names in fields
    
    * [FIX] remove executable
    nicomacr authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    fb59d97 View commit details
    Browse the repository at this point in the history
  11. [IMP] product pack access rights

    jjscarafia authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    6d6af16 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6f00311 View commit details
    Browse the repository at this point in the history
  13. [ADD] product_pack: Compatibility 11.0 and multiples improves. (OCA#185)

    * [ADD] product_pack: Add compatibility with website_sale.
    
    * [ADD] product_pack: Allow product pack modify
    
    * [ADD] product_pack: In sale order do not let to delete/modify a line that
    belongs to a pack
    
    * [ADD] product_pack: Be able to edit pack lines inf allow_modify_pack is set in
    product.
    
    * [ADD] product_pack: Do not compute price in cart for components_price packs
    
    [FIX] product_pack: Pack line price fixed (take into account pricelist) (OCA#187)
    
    * [FIX] product_pack: Pack line price fixed (take into account pricelist)
    
    Proper compute pack line price using price instead of list_price
    
    * [FIX] product_pack: Allow Modidy Pack only showed for Components price packs
    
    * [FIX] product_pack: When changing pack_price_type clean allow_modify_pack if
    needed.
    zaoral authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    54c1787 View commit details
    Browse the repository at this point in the history
  14. [FIX] the stock calculation from product packs if see from product te…

    …mplate view (OCA#189)
    
    [FIX] we add prefetch_fields becase if not the stock it's no correct when this method it's call from website (OCA#191)
    nicomacr authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    05446f1 View commit details
    Browse the repository at this point in the history
  15. [FIX] product_pack: Take into account both pricelist and pack line di…

    …scount. (#197)
    
    Formerly was only taking into account the product packs discount, now take
    into account both discounts.
    
    Also we simplify the way that get_sale_order_line_vals works and now is
    simplier and use Odoo's onchange methods to compute the lines values.
    
    [FIX] product_pack: Pack component now have the tax of the company (#198)
    
    Before this fix the product's packs new sale order line have multiple taxes:
    one por each company. Actually only need to add the taxes realated to the
    sale order's company.
    
    [FIX] product_pack: compute proper components prices (#199)
    
    In some cases the values were prefetched and it was throwing bad prices.
    we add prefetch_fields to the context of the packs and that solve it.
    
    [FIX/IMP] product_pack: Allow modify pack and do not reset after confirm website sale order (#201)
    
    * [FIX] product_pack: Do not reset packs components when confirm sale order.
    
    If a sale order is updated from the website whrn confirm the order we do
    not expand the pack, we usit as it is.
    
    * [ADD] product_pack: Allow modify pack from backend/website
    
    Now we can choose if the product can be modified in the only int he backend or
    if can be modified also in the frontend by the customers.
    
    * [FIX] lint
    zaoral authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    9318561 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7ed910f View commit details
    Browse the repository at this point in the history
  17. [FIX] product_pack: remove price and discount if the parent pack it's…

    … the type 'fixed and totalice' (#203)
    nicomacr authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    e9d43ea View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    faca591 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    58538e1 View commit details
    Browse the repository at this point in the history
  20. [UPD] Update product_pack.pot

    oca-travis authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    38e7a8d View commit details
    Browse the repository at this point in the history
  21. [UPD] README.rst

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    4aae93a View commit details
    Browse the repository at this point in the history
  22. [ADD] icon.png

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    724c037 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    cc98117 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a910cf3 View commit details
    Browse the repository at this point in the history
  25. [UPD] README.rst

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    2c5785a View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    3513e1b View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    49a7a91 View commit details
    Browse the repository at this point in the history
  28. Translated using Weblate (Portuguese)

    Currently translated at 95.6% (43 of 45 strings)
    
    Translation: product-pack-12.0/product-pack-12.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-12-0/product-pack-12-0-product_pack/pt/
    pedrocs-exo authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    2eb41ce View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    89cede9 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    30cc6d2 View commit details
    Browse the repository at this point in the history
  31. Translated using Weblate (Catalan)

    Currently translated at 100.0% (45 of 45 strings)
    
    Translation: product-pack-12.0/product-pack-12.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-12-0/product-pack-12-0-product_pack/ca/
    CarlesAntoli authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    e706842 View commit details
    Browse the repository at this point in the history
  32. [12.0] [FIX] product_pack : use sudo in the get_pack_lines method

    This is because in the e-commerce when an user portal or public try to access to the catalog of products has an access error to the model "product pack line".
     Them problem is when the method price_compute is call then try to compute the products expand the product pack and try to access to that model.
    This way evoid to set an access  read to "product pack line" for the portal and public users.
    nicomacr authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    fd5a534 View commit details
    Browse the repository at this point in the history
  33. product_pack 12.0.1.0.1

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    bdb8f56 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    36cf10c View commit details
    Browse the repository at this point in the history
  35. Translated using Weblate (French)

    Currently translated at 4.4% (2 of 45 strings)
    
    Translation: product-pack-12.0/product-pack-12.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-12-0/product-pack-12-0-product_pack/fr/
    ypapouin authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    f1b46ff View commit details
    Browse the repository at this point in the history
  36. Translated using Weblate (French)

    Currently translated at 100.0% (45 of 45 strings)
    
    Translation: product-pack-12.0/product-pack-12.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-12-0/product-pack-12-0-product_pack/fr/
    ypapouin authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    fa09537 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    c034db0 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    2abbea0 View commit details
    Browse the repository at this point in the history
  39. [UPD] Update product_pack.pot

    oca-travis authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    7d379cd View commit details
    Browse the repository at this point in the history
  40. [UPD] README.rst

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    e16aede View commit details
    Browse the repository at this point in the history
  41. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: product-pack-13.0/product-pack-13.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-13-0/product-pack-13-0-product_pack/
    oca-transbot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    0d195a7 View commit details
    Browse the repository at this point in the history
  42. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: product-pack-13.0/product-pack-13.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-13-0/product-pack-13-0-product_pack/
    oca-transbot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    01e0af3 View commit details
    Browse the repository at this point in the history
  43. Added translation using Weblate (Dutch)

    bosd authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    ac554ef View commit details
    Browse the repository at this point in the history
  44. Translated using Weblate (Dutch)

    Currently translated at 18.1% (8 of 44 strings)
    
    Translation: product-pack-13.0/product-pack-13.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-13-0/product-pack-13-0-product_pack/nl/
    bosd authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    d4429e0 View commit details
    Browse the repository at this point in the history
  45. [13.0] [IMP] product_pack: Use sudo to access to packs lines

    In case the user has not enough right to access to pack lines and add in the order a line with packs, this way we allow access to the price without problems with access to the model.
    nicomacr authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    bb24890 View commit details
    Browse the repository at this point in the history
  46. product_pack 13.0.1.0.1

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    4bf16cd View commit details
    Browse the repository at this point in the history
  47. [13.0] [FIX] product_pack: Use sudo when calculate the price and the …

    …user doesn't have access to write in the model product_product.
    
    This bug affect product variants and all types of product packs.
    
    Configuration to replicate the scenario with the bug:
    Select a user without any administration rights, either sales, invoice or accounting. I use the "demo" user in runbot to replicate.
    
    1) Create a product pack and configurate with any types
    2) Go to the view of product product.
    3) Find that product pack searching by the name.
    4) An error with rights access for the user will raise.
    nicomacr authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    f09239d View commit details
    Browse the repository at this point in the history
  48. product_pack 13.0.1.0.2

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    d4ccf65 View commit details
    Browse the repository at this point in the history
  49. [FIX] product_pack: Solve the problem with the packs and the user wit…

    …hout right to write in products.
    
    This solve the problem when with a user without rights to write in product, you want to search or access to a product variant who are a pack regardless the type or the composition of that one.
    
    We undone this PR OCA#42 because not solve completly the problem, with this change now all problems are solved.
    nicomacr authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    6393dc3 View commit details
    Browse the repository at this point in the history
  50. product_pack 13.0.1.0.3

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    d673ebd View commit details
    Browse the repository at this point in the history
  51. [MIG] product_pack: Migration to 14.0

    Usdoo Wedoo authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    be13f2c View commit details
    Browse the repository at this point in the history
  52. [UPD] Update product_pack.pot

    oca-travis authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    3fbff85 View commit details
    Browse the repository at this point in the history
  53. [UPD] README.rst

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    2b506f5 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    ed9003b View commit details
    Browse the repository at this point in the history
  55. [UPD] README.rst

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    57c61fd View commit details
    Browse the repository at this point in the history
  56. product_pack 14.0.1.0.1

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    66ea972 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    612ce86 View commit details
    Browse the repository at this point in the history
  58. [UPD] Update product_pack.pot

    oca-travis authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    07f7843 View commit details
    Browse the repository at this point in the history
  59. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: product-pack-14.0/product-pack-14.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-14-0/product-pack-14-0-product_pack/
    oca-transbot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    ef8a74c View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    5ed6ec0 View commit details
    Browse the repository at this point in the history
  61. Translated using Weblate (Swedish)

    Currently translated at 100.0% (44 of 44 strings)
    
    Translation: product-pack-14.0/product-pack-14.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-14-0/product-pack-14-0-product_pack/sv/
    simonstromb authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    b9aa934 View commit details
    Browse the repository at this point in the history
  62. Translated using Weblate (Catalan)

    Currently translated at 100.0% (44 of 44 strings)
    
    Translation: product-pack-14.0/product-pack-14.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-14-0/product-pack-14-0-product_pack/ca/
    Noel000 authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    85313a5 View commit details
    Browse the repository at this point in the history
  63. [14.0][IMP] product_pack: Pack modifiable visible on detailed lines

    As this is an option, this is an enhancement from previous version as it should
    be visible without conditions.
    rousseldenis authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    db452f5 View commit details
    Browse the repository at this point in the history
  64. [UPD] Update product_pack.pot

    oca-travis authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    844b159 View commit details
    Browse the repository at this point in the history
  65. product_pack 14.0.1.1.0

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    cada52a View commit details
    Browse the repository at this point in the history
  66. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: product-pack-14.0/product-pack-14.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-14-0/product-pack-14-0-product_pack/
    oca-transbot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    2e29d00 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    8cdd3b6 View commit details
    Browse the repository at this point in the history
  68. [UPD] Update product_pack.pot

    oca-ci authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    cc1e422 View commit details
    Browse the repository at this point in the history
  69. [UPD] README.rst

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    ab869b7 View commit details
    Browse the repository at this point in the history
  70. [FIX] product_pack: Compute directly the price on pricelists

    Steps to reproduce the problem:
    
    - Create a new pack with "Pack component price" =
      "Totalized in main product"
    - Put some components on it.
    - Create a sales order with such pack.
    - The price unit got in the sales order line is not the sum of the
      components.
    
    That's because the computations done after calling `price_compute` in
    the pricelist engine modify the final returned price, so we don't call
    super on such cases and compute it directly.
    
    TT37977
    pedrobaeza authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    3d819dd View commit details
    Browse the repository at this point in the history
  71. [UPD] Update product_pack.pot

    oca-ci authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    609a102 View commit details
    Browse the repository at this point in the history
  72. product_pack 15.0.1.0.1

    OCA-git-bot authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    ba2216d View commit details
    Browse the repository at this point in the history
  73. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: product-pack-15.0/product-pack-15.0-product_pack
    Translate-URL: https://translation.odoo-community.org/projects/product-pack-15-0/product-pack-15-0-product_pack/
    weblate authored and FrancoMaxime committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    7d0b79a View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    ea8ff51 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Configuration menu
    Copy the full SHA
    4edad83 View commit details
    Browse the repository at this point in the history