Skip to content

[IMP] account_ux: show credit_limit field directly on partner form#924

Open
matiasperalta1 wants to merge 1 commit into
ingadhoc:19.0from
adhoc-dev:19.0-t-62336-mnp
Open

[IMP] account_ux: show credit_limit field directly on partner form#924
matiasperalta1 wants to merge 1 commit into
ingadhoc:19.0from
adhoc-dev:19.0-t-62336-mnp

Conversation

@matiasperalta1

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings March 31, 2026 19:56
@roboadhoc

Copy link
Copy Markdown
Contributor

Pull request status dashboard

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Este PR ajusta la vista de propiedades de Contactos (res.partner) para mostrar el campo credit_limit directamente en el formulario, simplificando la edición del límite de crédito desde la UI.

Changes:

  • Añade una herencia de account.view_partner_property_form para renombrar la etiqueta relacionada al límite de crédito.
  • Oculta el campo use_partner_credit_limit y fuerza visible el campo credit_limit en esa vista.

Comment on lines +8 to +13
<label for="use_partner_credit_limit" position="attributes">
<attribute name="string">Credit Limit</attribute>
</label>
<field name="use_partner_credit_limit" position="attributes">
<attribute name="invisible">1</attribute>
</field>

Copilot AI Mar 31, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Al ocultar use_partner_credit_limit (invisible=1) el <label for="use_partner_credit_limit"> queda apuntando a un campo invisible, lo que empeora accesibilidad/UX (label sin control asociado). Sugerencia: retargetear el for del label a credit_limit (o bien ocultar también el label y dejar que credit_limit muestre su propio label).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants