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

[17.0][FIX] l10n_do_accounting: fix labels not showing due to fields inside partner_id div tag #1186

Merged
merged 3 commits into from
Oct 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion l10n_do_accounting/views/account_move_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<attribute name="invisible">(not l10n_latam_use_documents and country_code == 'DO') or (not l10n_do_enable_first_sequence and not l10n_latam_manual_document_number and state == 'draft') or (not l10n_do_enable_first_sequence and l10n_latam_manual_document_number and state == 'draft') and (move_type in ('out_invoice', 'out_refund', 'in_refund') and country_code == 'DO')</attribute>
<attribute name="readonly">(state != 'draft' and country_code == 'DO') or (posted_before and country_code == 'DO')</attribute>
</xpath>
<xpath expr="//form[1]/sheet[1]/group[1]/group[1]/div/field[@name='partner_id']" position="after">
<xpath expr="//form[1]/sheet[1]/group[1]/group[1]/div" position="after">
<xpath expr="//field[@name='l10n_latam_document_type_id']" position="move"/>
<xpath expr="//field[@name='l10n_latam_document_number']" position="move"/>
<field name="l10n_do_origin_ncf"
Expand Down
Loading