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] base_export_manager: Migration to 16.0 #649

Closed
wants to merge 51 commits into from

Commits on Apr 24, 2023

  1. Configuration menu
    Copy the full SHA
    d85e141 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef5bb2d View commit details
    Browse the repository at this point in the history
  3. Missing rename

    hhgabelgaard authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    0bb9c3b View commit details
    Browse the repository at this point in the history
  4. [IMP] base_export_manager: Several things:

    * Improve UX for base_export_manager.
    
      - Improve user instructions in README.
      - Require some required fields.
      - Allow to select models from a list.
      - Allow to select up to 3 fields from dynamic lists.
      - Improve translations.
      - More tests.
      - Translate column labels.
    
      Some methods have been renamed, so version tag is raised to 8.0.2.0.0.
    
    * Make inverse method be called at view time.
    * Hardcode constraints in the `create` method instead of using normal ones.
    
      Depending on the context where the record is created, it gets `resource` or `model_id`. The problem is that Odoo checks constrains before inverses, so constrains would fail always.
    
      Test added to ensure future versions contemplate all use cases.
    
    * Allow to reorder fields.
    yajo authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    4820643 View commit details
    Browse the repository at this point in the history
  5. [MIG] base_export_manager: Upgrade to v9

    * Upgrade base_export_manager to v9
    * Rename JS to base_export_manager
    lasley authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    a65266e View commit details
    Browse the repository at this point in the history
  6. [REF] base_export_manager: Fix model domain

    * Change osv_memory to transient for model_id domain
    lasley authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    9fc651b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d878ed7 View commit details
    Browse the repository at this point in the history
  8. [IMP] Add export permission

    Sandip Mangukiya authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    fdab1ed View commit details
    Browse the repository at this point in the history
  9. IMP: support v7,v8 API and remove sql with ORM methods (#1)

    smangukiya authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    85c71fd View commit details
    Browse the repository at this point in the history
  10. [FIX+IMP] PEP8 + conflicts + Combined methods

    Maxime Chambreuil authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    806defc View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    31387b9 View commit details
    Browse the repository at this point in the history
  12. [IMP] base_export_manager: Several things (II):

    * Improve UX for base_export_manager.
    
      - Improve user instructions in README.
      - Require some required fields.
      - Allow to select models from a list.
      - Allow to select up to 3 fields from dynamic lists.
      - Improve translations.
      - More tests.
      - Translate column labels.
    
      Some methods have been renamed, so version tag is raised to 8.0.2.0.0.
    
    * Hardcode constraints in the `create` method instead of using normal ones.
    
      Depending on the context where the record is created, it gets `resource` or `model_id`. The problem is that Odoo checks constrains before inverses, so constrains would fail always.
    
      Test added to ensure future versions contemplate all use cases.
    
    * Allow to reorder fields.
    yajo authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    3449139 View commit details
    Browse the repository at this point in the history
  13. base_export_manager: Upgrade to v9 * Upgrade base_export_manager to v…

    …9 * Rename JS to base_export_manager
    lasley authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    f18e98a View commit details
    Browse the repository at this point in the history
  14. Add export permission

    Sandip Mangukiya authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    6bf416d View commit details
    Browse the repository at this point in the history
  15. [8.0][FIX][base_export_manager] Fix "Expected singleton" bug. (OCA#521)

    [FIX][base_export_manager] Fix "Expected singleton" bug.
    
    If you had a field that got translated in more than 1 addon, you'd possibly getto this error:
    
          File "/opt/odoo/0079_ahk_openerp/oca/base_export_manager/models/ir_exports_line.py", line 105, in _compute_label
            field.name)),
          File "/opt/odoo/common/openerp/v8/openerp/fields.py", line 825, in __get__
            record.ensure_one()
          File "/opt/odoo/common/openerp/v8/openerp/models.py", line 5355, in ensure_one
            raise except_orm("ValueError", "Expected singleton: %s" % self)
        except_orm: ('ValueError', 'Expected singleton: ir.translation(4899, 703976)')
    
    With this patch, now we let Odoo return the translated string by using its
    standard method to do so, so we have to care for less.
    
    * Move installation outside a data file.
    
    This makes the whole installation to be able to roll back if something goes
    wrong, instead of entering an error loop.
    
    * Include envorionment in its manager.
    
    * Add 4th field
    
    * Move to api.multi, refactoring some stuff.
    
    - Add some comments in complex parts.
    - Rename `onchange_name` to `_onchange_name` (guidelines).
    - Make `_compute_name`'s try block shorter and easier to understand.
    
    * Allow R/W of name directly in model.
    
    * Update tests to cover new behaviors.
    yajo authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    5a2ca1f View commit details
    Browse the repository at this point in the history
  16. [MIG]Migrated base_export_manager module.

    serpentcs authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    56d896a View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    3b50fc7 View commit details
    Browse the repository at this point in the history
  18. [UPD] Update base_export_manager.pot

    oca-travis authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    c750a2c View commit details
    Browse the repository at this point in the history
  19. [MIG] base_export_manager: Migrate to v11

    - Remove all possible translation commits
    - Aesthetical changes
    - Bump version
    - Some new standards, such as split readme
    
    Basically, nothing.
    yajo authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    4bf2c3c View commit details
    Browse the repository at this point in the history
  20. [UPD] Update base_export_manager.pot

    oca-travis authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    fbf4752 View commit details
    Browse the repository at this point in the history
  21. [UPD] README.rst

    OCA-git-bot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    0a99eca View commit details
    Browse the repository at this point in the history
  22. Translated using Weblate (Danish)

    Currently translated at 80.0% (20 of 25 strings)
    
    Translation: server-ux-11.0/server-ux-11.0-base_export_manager
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-11-0/server-ux-11-0-base_export_manager/da/
    hhgabelgaard authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    9e6c954 View commit details
    Browse the repository at this point in the history
  23. Update translation files

    Updated by Update PO files to match POT (msgmerge) hook in Weblate.
    oca-transbot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    8ec16a8 View commit details
    Browse the repository at this point in the history
  24. [MIG] base_export_manager: Migration to 12.0

    Olivier Jossen authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    c110ae7 View commit details
    Browse the repository at this point in the history
  25. [UPD] README.rst

    OCA-git-bot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    5321145 View commit details
    Browse the repository at this point in the history
  26. [UPD] Update base_export_manager.pot

    oca-travis authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    fd759c5 View commit details
    Browse the repository at this point in the history
  27. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-ux-12.0/server-ux-12.0-base_export_manager
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-base_export_manager/
    oca-transbot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    c8f7724 View commit details
    Browse the repository at this point in the history
  28. Translated using Weblate (Portuguese)

    Currently translated at 100.0% (31 of 31 strings)
    
    Translation: server-ux-12.0/server-ux-12.0-base_export_manager
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-base_export_manager/pt/
    pedrocs-exo authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    9f721ca View commit details
    Browse the repository at this point in the history
  29. [UPD] README.rst

    OCA-git-bot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    6d8cae3 View commit details
    Browse the repository at this point in the history
  30. Translated using Weblate (Chinese (Simplified))

    Currently translated at 100.0% (31 of 31 strings)
    
    Translation: server-ux-12.0/server-ux-12.0-base_export_manager
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-base_export_manager/zh_CN/
    liweijie0812 authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    22d9564 View commit details
    Browse the repository at this point in the history
  31. Translated using Weblate (Croatian)

    Currently translated at 90.3% (28 of 31 strings)
    
    Translation: server-ux-12.0/server-ux-12.0-base_export_manager
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-12-0/server-ux-12-0-base_export_manager/hr/
    badbole authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    1278619 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    94643b6 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    1d802da View commit details
    Browse the repository at this point in the history
  34. [UPD] Update base_export_manager.pot

    oca-travis authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    b28ade8 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: server-ux-13.0/server-ux-13.0-base_export_manager
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-13-0/server-ux-13-0-base_export_manager/
    oca-transbot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    da26c36 View commit details
    Browse the repository at this point in the history
  36. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: server-ux-13.0/server-ux-13.0-base_export_manager
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-13-0/server-ux-13-0-base_export_manager/
    oca-transbot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    469dfb1 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    7ab8402 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    a39a389 View commit details
    Browse the repository at this point in the history
  39. [UPD] Update base_export_manager.pot

    oca-travis authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    12df48e View commit details
    Browse the repository at this point in the history
  40. [UPD] README.rst

    OCA-git-bot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    e89042d View commit details
    Browse the repository at this point in the history
  41. Translated using Weblate (Spanish)

    Currently translated at 100.0% (31 of 31 strings)
    
    Translation: server-ux-14.0/server-ux-14.0-base_export_manager
    Translate-URL: https://translation.odoo-community.org/projects/server-ux-14-0/server-ux-14-0-base_export_manager/es/
    anasuarez1 authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    ca9848c View commit details
    Browse the repository at this point in the history
  42. [FIX] base_export_manager: Don't return on invalid field, but break

    If not, we are not assigning the label value for the record and we get
    a missing cache value error.
    pedrobaeza authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    d5069ad View commit details
    Browse the repository at this point in the history
  43. base_export_manager 14.0.1.0.1

    OCA-git-bot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    4f41b11 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    8adbf33 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    a8a9e0d View commit details
    Browse the repository at this point in the history
  46. [UPD] Update base_export_manager.pot

    oca-ci authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    41e8024 View commit details
    Browse the repository at this point in the history
  47. [UPD] README.rst

    OCA-git-bot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    85b2a12 View commit details
    Browse the repository at this point in the history
  48. [FIX] base_export_manager: Remove default because it is redundant

    WARNING odoo.fields: Redundant default on ir.exports.line.model1_id
    victoralmau authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    20bca42 View commit details
    Browse the repository at this point in the history
  49. base_export_manager 15.0.1.0.1

    OCA-git-bot authored and rjpathan committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    1e2aa10 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    30ad949 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

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