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] purchase_last_price_info: Migration to 18.0 #2439

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

Commits on Oct 17, 2024

  1. [ADD] Moved <purchase_last_price_info> from odoomrp-wip

    [IMP] <purchase_last_price_info> Deleted dependency
    
    [IMP] <purchase_last_price> Changed to avoid initializing to False
    
    [IMP] <purchase_last_price_info> Minor changes
    
    [IMP] <purchase_last_price_info> added test
    
    [IMP] <purchase_last_price_info> OCA required _id added
    
    [FIX] <purchase_last_price_info> test fixed
    
    [IMP] Update <purchase_last_price_info> New version format and Try me button
    
    [IMP] <purchase_last_price_info> Test updated data when purchase.order is confirmed
    oihane authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    5a4d60d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e51808 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbbebc7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d633385 View commit details
    Browse the repository at this point in the history
  5. [IMP] add fields to product template form view and update readme

    [ADD] post-init hook
    
    [ADD] migration script
    AdriaGForgeFlow authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    1a3ccb7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4134a93 View commit details
    Browse the repository at this point in the history
  7. [UPD] README.rst

    OCA-git-bot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    6d603c6 View commit details
    Browse the repository at this point in the history
  8. [ADD] icon.png

    OCA-git-bot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    e339b27 View commit details
    Browse the repository at this point in the history
  9. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: purchase-workflow-11.0/purchase-workflow-11.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-11-0/purchase-workflow-11-0-purchase_last_price_info/
    oca-transbot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    510e77d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6868f84 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9c69174 View commit details
    Browse the repository at this point in the history
  12. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_last_price_info/
    oca-transbot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    9a6f0ad View commit details
    Browse the repository at this point in the history
  13. Translated using Weblate (Chinese (Simplified))

    Currently translated at 100.0% (7 of 7 strings)
    
    Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_last_price_info/zh_CN/
    liweijie0812 authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    9285234 View commit details
    Browse the repository at this point in the history
  14. Translated using Weblate (Spanish)

    Currently translated at 100.0% (7 of 7 strings)
    
    Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_last_price_info/es/
    Roodin authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    6f0abab View commit details
    Browse the repository at this point in the history
  15. Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (7 of 7 strings)
    
    Translation: purchase-workflow-12.0/purchase-workflow-12.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-12-0/purchase-workflow-12-0-purchase_last_price_info/pt_BR/
    Rodrigo Macedo authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    8ceabf8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e105eb4 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4d25881 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    6ab5dad View commit details
    Browse the repository at this point in the history
  19. [UPD] README.rst

    OCA-git-bot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    c6748a8 View commit details
    Browse the repository at this point in the history
  20. pre-commit update

    OCA-git-bot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7e03596 View commit details
    Browse the repository at this point in the history
  21. Translated using Weblate (Chinese (Simplified))

    Currently translated at 100.0% (7 of 7 strings)
    
    Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info/zh_CN/
    dong-z authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7b72ca5 View commit details
    Browse the repository at this point in the history
  22. Translated using Weblate (German)

    Currently translated at 100.0% (7 of 7 strings)
    
    Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info/de/
    didierdonze authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    aab2073 View commit details
    Browse the repository at this point in the history
  23. Translated using Weblate (French)

    Currently translated at 100.0% (7 of 7 strings)
    
    Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info/fr/
    didierdonze authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    792a66c View commit details
    Browse the repository at this point in the history
  24. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: purchase-workflow-13.0/purchase-workflow-13.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_last_price_info/
    oca-transbot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    e12e75a View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    5876e64 View commit details
    Browse the repository at this point in the history
  26. [UPD] README.rst

    OCA-git-bot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    db351ba View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    9d599b7 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    c80ef0c View commit details
    Browse the repository at this point in the history
  29. [UPD] README.rst

    OCA-git-bot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    a6f8ccf View commit details
    Browse the repository at this point in the history
  30. Translated using Weblate (French)

    Currently translated at 100.0% (7 of 7 strings)
    
    Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_last_price_info/fr_FR/
    Yvesldff authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    1f7f22c View commit details
    Browse the repository at this point in the history
  31. [IMP] purchase_last_price_info: Add last_purchase_currency and last_p…

    …urchase_price_currency in products.
    
    Refactor code: Now used last_purchase_line_id field and is auto-set wit all info.
    When adding new purchase order lines last_purchase_line_ids field will be used to re-compute
    last_purchase_line_id field and change all information.
    TT30742
    victoralmau authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    f2d9a13 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    8df5d53 View commit details
    Browse the repository at this point in the history
  33. [UPD] README.rst

    OCA-git-bot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    b3b5c27 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    865e5be View commit details
    Browse the repository at this point in the history
  35. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_last_price_info/
    oca-transbot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    706c0aa View commit details
    Browse the repository at this point in the history
  36. [MIG] purchase_last_price_info: black, isort, prettier

    Janire Olagibel authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    f86d473 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    c5b06ee View commit details
    Browse the repository at this point in the history
  38. [UPD] Update purchase_last_price_info.pot

    oca-ci authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    5963639 View commit details
    Browse the repository at this point in the history
  39. [UPD] README.rst

    OCA-git-bot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    2d44dca View commit details
    Browse the repository at this point in the history
  40. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_last_price_info/
    weblate authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    6821a3e View commit details
    Browse the repository at this point in the history
  41. Translated using Weblate (Croatian)

    Currently translated at 100.0% (14 of 14 strings)
    
    Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_last_price_info/hr/
    badbole authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    af69fc8 View commit details
    Browse the repository at this point in the history
  42. Translated using Weblate (Portuguese (Brazil))

    Currently translated at 100.0% (11 of 11 strings)
    
    Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_last_price_info/pt_BR/
    adrianojprado authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    920a8ef View commit details
    Browse the repository at this point in the history
  43. Translated using Weblate (Spanish)

    Currently translated at 100.0% (11 of 11 strings)
    
    Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_last_price_info/es/
    Ivorra78 authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    25ab58d View commit details
    Browse the repository at this point in the history
  44. [UPD] README.rst

    OCA-git-bot authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    4ec7e76 View commit details
    Browse the repository at this point in the history
  45. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_last_price_info/
    weblate authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    1f0bcd9 View commit details
    Browse the repository at this point in the history
  46. [FIX] purchase_last_price_info: Adapt tests according to company curr…

    …ency
    
    Depending on the installed modules, the company currency may be USD or EUR, affecting the
    result of these tests. With this PR, the results are adjusted for both cases.
    victoralmau authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    1cbc82c View commit details
    Browse the repository at this point in the history
  47. Translated using Weblate (Italian)

    Currently translated at 100.0% (11 of 11 strings)
    
    Translation: purchase-workflow-16.0/purchase-workflow-16.0-purchase_last_price_info
    Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-16-0/purchase-workflow-16-0-purchase_last_price_info/it/
    mymage authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    97449ff View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    ae887b5 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    828d638 View commit details
    Browse the repository at this point in the history
  50. [FIX] purchase_last_price_info: access rights issue

    On purchase.order.line creation, `_update_inverses` is called
    before the value of purchase.order.line.company_id is computed.
    `_update_inverses` causes Odoo to filter purchase.order.line
    to find the correct lines to put into the cache, which in turn
    causes access rights check. And because company_id is not yet
    computed it fails.
    Fixing by removing domain from `last_purchase_line_ids` to
    avoid filtering and filter it later manually.
    viktor-anikeenko-avsys authored and StefanRijnhart committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    06101f8 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    07d0000 View commit details
    Browse the repository at this point in the history