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

[IMP] account_ux: add warning for dedicated payment sequence #619

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
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 account_ux/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'Account UX',
'version': "17.0.2.7.0",
'version': "17.0.2.8.0",
'category': 'Accounting',
'sequence': 14,
'summary': '',
Expand Down
8 changes: 8 additions & 0 deletions account_ux/views/account_journal_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
<field name="country_code" position="before">
<field name="mail_template_id" context="{'default_model': 'account.move'}" invisible="type not in ['sale', 'purchase']"/>
</field>
<field name="payment_sequence" position="after">
<div colspan="2">
<p invisible="type not in ['bank', 'cash'] or not payment_sequence">
<i>Please note that when this box is selected, you must ensure that the
payments follow a different sequence format.</i>
</p>
</div>
</field>
</field>
</record>
</odoo>