[FW][FIX] l10n_id: show kode transaksi outside accounting #155994
Closed
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.
Currently the field
Kode Transaksi
can be found inside the accounting tab. This fix will move it under the tax field.Kode Transaksi
is a field that should be used in the sale flow and is currently unavailabe for sales team.Steps to reproduce:
Tax ID
Accounting
tab, you can findKode transaksi
. Sales team don't have access to the accounting tab, and thus not toKode transaksi
either.Why the fix:
Technically what we want here is to have the field for
Kode Transaksi
after thevat
field from this viewodoo/odoo/addons/base/views/res_partner_views.xml
Lines 205 to 210 in 04593b2
Two possible solutions for this fix:
Fetch the path to
group/group
and put the field inside.Fetch the path to the
vat
field and put the field after. This would also require to change the priority of the view starting from saas-16.3 because thevat
field is being moved in this view:odoo/addons/base_vat/views/res_partner_views.xml
Lines 14 to 18 in 8ccde3f
By changing the priority, it would allow for
Kode transaksi
to be place after thevat_vies_container
. Else it would be inside, which does not make sense inthis case.opw-3731357
Forward-Port-Of: #155515