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

[13.0][MIG] partner_multi_company: Migration to 13.0 #266

Merged
merged 25 commits into from
Jan 12, 2021

Commits on Jan 12, 2021

  1. New module partner_multi_company

    oihane authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    67e4441 View commit details
    Browse the repository at this point in the history
  2. partner_multi_company: Tests + README

    pedrobaeza authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    6b2995f View commit details
    Browse the repository at this point in the history
  3. partner_multi_company: Sync company_ids field

    pedrobaeza authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    181759d View commit details
    Browse the repository at this point in the history
  4. product_multi_company: Avoid errors in other tests

    This fix prevents errors when there are other tests that create partners
    and base_suspend_security is still not ready. There can be still problems
    if these partners are not created with SUPERUSER.
    pedrobaeza authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    86641db View commit details
    Browse the repository at this point in the history
  5. partner_multi_company: Migration to 9.0

    pedrobaeza authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    a4834bb View commit details
    Browse the repository at this point in the history
  6. OCA Transbot updated translations from Transifex

    oca-transbot authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    2d62957 View commit details
    Browse the repository at this point in the history
  7. [MIG] partner_multi_company: Upgrade to v10

    * Bump versions
    * Rename manifest
    * Rename openerp to odoo
    * Implement base_multi_company
    
    Add depends
    
    Swap dependencies
    
    Add base_suspend_security depend back & server-tools repo
    
    Fix tests
    
    Add test for partner._commercial_fields
    
    Why not both?!
    lasley authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    b544cf9 View commit details
    Browse the repository at this point in the history
  8. [MIG] *_multi_company: OpenUpgrade migration scripts

    pedrobaeza authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    d93853c View commit details
    Browse the repository at this point in the history
  9. OCA Transbot updated translations from Transifex

    oca-transbot authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    793662c View commit details
    Browse the repository at this point in the history
  10. [MIG] partner_multi_company: Migration to 11.0

    cubells authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    d946cb6 View commit details
    Browse the repository at this point in the history
  11. [MIG] partner_multi_company: Finish migration to 11.0

    pedrobaeza authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    b96b97d View commit details
    Browse the repository at this point in the history
  12. [UPD] Update partner_multi_company.pot

    oca-travis authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    6a828f9 View commit details
    Browse the repository at this point in the history
  13. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: multi-company-11.0/multi-company-11.0-partner_multi_company
    Translate-URL: https://translation.odoo-community.org/projects/multi-company-11-0/multi-company-11-0-partner_multi_company/
    oca-transbot authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    1c8333e View commit details
    Browse the repository at this point in the history
  14. [12.0][MIG] partner_multi_company

    kittiu authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    43ad8c0 View commit details
    Browse the repository at this point in the history
  15. [UPD] Update partner_multi_company.pot

    oca-travis authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    4c99d92 View commit details
    Browse the repository at this point in the history
  16. [UPD] README.rst

    OCA-git-bot authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    bc7595b View commit details
    Browse the repository at this point in the history
  17. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: multi-company-12.0/multi-company-12.0-partner_multi_company
    Translate-URL: https://translation.odoo-community.org/projects/multi-company-12-0/multi-company-12-0-partner_multi_company/
    oca-transbot authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    f784f2a View commit details
    Browse the repository at this point in the history
  18. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: multi-company-12.0/multi-company-12.0-partner_multi_company
    Translate-URL: https://translation.odoo-community.org/projects/multi-company-12-0/multi-company-12-0-partner_multi_company/
    oca-transbot authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    742282b View commit details
    Browse the repository at this point in the history
  19. [FIX] If user switch company, don't delete user's partner's other com…

    …panies
    MiquelRForgeFlow authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    aad87d1 View commit details
    Browse the repository at this point in the history
  20. partner_multi_company 12.0.1.0.1

    OCA-git-bot authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    02e3f85 View commit details
    Browse the repository at this point in the history
  21. [IMP] partner_multi_company: black, isort

    JoanSForgeFlow authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    846b966 View commit details
    Browse the repository at this point in the history
  22. [MIG] partner_multi_company: Migration to 13.0

    JoanSForgeFlow authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    8e72d63 View commit details
    Browse the repository at this point in the history
  23. added migration scripts

    JoanSForgeFlow authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    c032328 View commit details
    Browse the repository at this point in the history
  24. [UPT]partner_multi_company/migrations do not keep old table + update …

    …rule
    AaronHForgeFlow authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    8719467 View commit details
    Browse the repository at this point in the history
  25. [13.0][FIX] base_multi_company: name_search

    In some situations the 'in' operator is used with company_id in a
    name_search. ORM does not convert to a proper WHERE clause when using
    the 'in' operator.
    e.g: ```
         WHERE "res_partner"."id" in (SELECT "res_partner_id"
         FROM "res_company_res_partner_rel" WHERE "res_company_id" IN (False, 1)
    ```
    patching the args to expand the cumbersome args int a OR clause fix
    the issue.
    e.g: ```
         WHERE "res_partner"."id" not in (SELECT "res_partner_id"
                 FROM "res_company_res_partner_rel"
                 where "res_partner_id" is not null)
             OR  ("res_partner"."id" in (SELECT "res_partner_id"
                 FROM "res_company_res_partner_rel" WHERE "res_company_id" IN 1)
    ```
    LoisRForgeFlow authored and Ernesto Tejeda committed Jan 12, 2021
    Configuration menu
    Copy the full SHA
    e3db520 View commit details
    Browse the repository at this point in the history