Skip to content

Conversation

@max3903
Copy link
Member

@max3903 max3903 commented Oct 19, 2015

Updated:

  • module_prototyper/models/module_prototyper.py:
    • Added set_keep_external_ids method: Set the the keep_external_ids from the wizard keep_external_ids will help to update all external ids or keep exsting ones.
    • Added topological_sort method: Items must be provided in the form of an iterable, where the key has a tuple.
    • Modify generate_data_files method: Added code to construct a better data file.
    • Added order_data method: Create a hierarchy to export external ids, using a level dependent of parent.
    • Added generate_external_id method: Create all external ids to later export.
    • Added fixup_data method: Order, generate external ids and load all data to export.
    • Added deps_detect method: Detect depedencies on the data fields.
    • Add fields_ignore to some methods: This variable transport a information related by "Circular dependency cleaning" from wizard 'volatile" to export methods.
  • module_prototyper/wizard/module_prototyper_module_export.py:
    • Added fields (keep_external_ids, fields_selected, fields_selected_initial, fields_not_selected): Keep_external_ids guaranted that the external_ids in the database are not rewrite when export module. fields_selected* is used to store the cleanup data when exists a circular dependency.
    • dep_solve, action export, zip_files override: This override guaranted the correct "circular dependency cleaning" in exporting methods (see fields_ignore).
  • module_prototyper/wizard/module_prototyper_module_export_view.xml:
    • Added fields_selected, fields_selected_initial, fields_not_selected to the export wizard.
  • module_prototyper/templates/8.0/data/model_name.xml.template:
    • Added logic to generate fields with all addtional information.

kurkop and others added 3 commits October 9, 2015 13:28
…templates/8.0/data/model_name.xml.template, module_prototyper/wizard/module_prototyper_module_export.py, module_prototyper/wizard/module_prototyper_module_export_view.xml): Added and override methods/views that generate files during export.
…rkop

[IMP] Added and override methods/views that generate files during export with external ids
@oca-clabot
Copy link

Hey @max3903, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/website.cla
Here is a list of the users:

  • Juan Pablo Arias (no github login found)

Appreciation of efforts,
OCA CLAbot

@kurkop
Copy link

kurkop commented Oct 23, 2015

OK, I configured my account with the OCA CLA email.

@max3903
Copy link
Member Author

max3903 commented Nov 2, 2015

Superseeded by #279

@max3903 max3903 closed this Nov 2, 2015
@nhomar nhomar removed the in progress label Nov 2, 2015
@max3903 max3903 deleted the 8.0-prototype branch November 2, 2015 19:16
SiesslPhillip pushed a commit to grueneerde/OCA-server-tools that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/server-tools (9.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants