[19.0][MIG] l10n_in_ewaybill: model move from stock + account.move ewaybill data#89
Open
dnplkndll wants to merge 1 commit into
Open
[19.0][MIG] l10n_in_ewaybill: model move from stock + account.move ewaybill data#89dnplkndll wants to merge 1 commit into
dnplkndll wants to merge 1 commit into
Conversation
… data - update_module_moved_models for l10n.in.ewaybill[.cancel] (l10n_in_ewaybill_stock -> l10n_in_ewaybill); SQL table name unchanged, only ir.model/ir.model.fields ownership and 6 xmlids move. - rename_fields for the 3 res.company credential columns (drop _edi_ segment). - pre-migration preserves 8 account.move ewaybill columns as legacy; post-migration inserts one l10n.in.ewaybill row per move with non-NULL data (state='pending', company_id from the move, mode '0' -> NULL since 19.0 drops that key).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 19.0 e-Waybill restructure: the
l10n.in.ewaybillmodel moves out ofl10n_in_ewaybill_stock, the module renames froml10n_in_edi_ewaybill(apriori), and 8 account.move ewaybill fields move intol10n.in.ewaybillrows.update_module_moved_modelsfor l10n.in.ewaybill[.cancel]; 6 xmlids renamed; 3 res.company credential columns renamed.Lab-validated end-to-end: installed the EDI modules in a fresh 18.0 DB, set synthetic ewaybill data, ran the full
-u allmigration (rc=0), and confirmed the l10n.in.ewaybill row was created with account_move_id + company_id + distance/vehicle/doc/mode intact.