fix: sync authotp and weighbridge custom fields via json fixtures - #136
Merged
av-dev2 merged 6 commits intoAug 31, 2026
Conversation
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin version-15
git worktree add -d .worktree/backport-136-to-version-15 origin/version-15
cd .worktree/backport-136-to-version-15
git switch --create backport-136-to-version-15
git cherry-pick -x 82dff79b1f1ff5da93ae4606042279806d27a404 9d843cb32ce143a6e2b47ef3bff9e4058ebdf0a6 2f750178b276b46cbf3696aba882accff450b957 59ee801286791648eb0a248cc09adeb7dae62c68 e2c436fedc83cdbb4859dc5ad9d3d20de5065c3d ab818e295d7199e6618f1a9762544e2ad1a1e332 |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin version-16-hotfix
git worktree add -d .worktree/backport-136-to-version-16-hotfix origin/version-16-hotfix
cd .worktree/backport-136-to-version-16-hotfix
git switch --create backport-136-to-version-16-hotfix
git cherry-pick -x 82dff79b1f1ff5da93ae4606042279806d27a404 9d843cb32ce143a6e2b47ef3bff9e4058ebdf0a6 2f750178b276b46cbf3696aba882accff450b957 59ee801286791648eb0a248cc09adeb7dae62c68 e2c436fedc83cdbb4859dc5ad9d3d20de5065c3d ab818e295d7199e6618f1a9762544e2ad1a1e332 |
2 tasks
av-dev2
added a commit
that referenced
this pull request
Aug 31, 2026
av-dev2
added a commit
that referenced
this pull request
Aug 31, 2026
…k-fields fix: restore weighbridge_ticket item link fields dropped by #136
This was referenced Aug 31, 2026
Merged
av-dev2
added a commit
that referenced
this pull request
Aug 31, 2026
…otfix fix: sync authotp and weighbridge custom fields via json fixtures (backport of #136)
1 task
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.
Summary
Customer.authotp_validated,Sales Invoice.authotp*) were only created viaafter_install, so any site where av_tools was already installed before these fields were added never got them, causing "Field authotp_validated not found" on Sales Invoice.Vehicle.default_tare_weightfield into JSON fixtures underpatches/custom_fields/custom_fields_json/, which the existing genericav_tools.utils.create_custom_fields.executeloader already runs on bothafter_installandafter_migrate.after_migrate.py.Test plan
av_tools.utils.create_custom_fields.executeagainst an existing site with av_tools already installed; confirmed all authotp and weighbridge custom fields are created/synced correctly.pre-commit run --all-filespasses.