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

Anomaly RM#85754: PARTNER / ACCOUNTINGSITUATION : accountingSituation… #13745

Open
wants to merge 1 commit into
base: dev
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 axelor-account/src/main/resources/views/Partner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<panel name="accountingSituationPanel" if-module="axelor-account"
onTabSelect="action-partner-account-method-accounting-situation-label"
if="__config__.app.isApp('account')" title="Accounting situation"
showIf="isSupplier || isCustomer || isSubcontractor || isInternal || isCarrier || isFactor || isEmployee || isCorporatePartner || isThirdPartyPayer">
showIf="companySet &amp;&amp; companySet.length > 0 &amp;&amp; (isSupplier || isCustomer || isSubcontractor || isInternal || isCarrier || isFactor || isEmployee || isCorporatePartner || isThirdPartyPayer)">
<field name="isCompensation" colSpan="12" widget="boolean-switch"
showIf="isCustomer &amp;&amp; isSupplier"/>
<label name="errorOnCompaniesLabel" css="label-danger" colSpan="12" hidden="true"/>
Expand Down
3 changes: 3 additions & 0 deletions changelogs/unreleased/85754.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: "Partner: hide 'Accounting situation' panel when the partner doesn't belong to any company."
module: axelor-base
Loading