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

[16][IMP] Contract: Smart Button "Contracts" not displayed on Contact until an invoice is published #1143

Open
1 task
fcvalgar opened this issue Nov 13, 2024 · 2 comments
Labels
Milestone

Comments

@fcvalgar
Copy link

fcvalgar commented Nov 13, 2024

Module
contract

Describe the bug

The "Contracts" smart button on the contact form view does not appear when a contract is created and in progress. It only becomes visible after an associated invoice is published.

To Reproduce

Affected versions: Odoo 16

Steps to reproduce the behavior:

  • Create a contract for a contact.
  • Set the contract to "in progress" status.
  • Go to the contact's form view to check for the "Contracts" smart button.

Expected behavior:

  • The "Contracts" smart button should be displayed on the contact form as soon as there is an active contract, regardless of whether there is a published invoice.

Additional context This issue limits the ability to view ongoing contracts directly from the contact form unless an invoice has been published.

MT-7885 @moduon

@fcvalgar fcvalgar added the bug label Nov 13, 2024
@rafaelbn rafaelbn added this to the 16.0 milestone Nov 14, 2024
@rafaelbn rafaelbn changed the title [16] Contract: Smart Button "Contracts" not displayed on Contact until an invoice is published [16][IMP] Contract: Smart Button "Contracts" not displayed on Contact until an invoice is published Nov 14, 2024
@rafaelbn
Copy link
Member

Hello @OCA/project-service-maintainers !

Do you agree in this improvement? 😄

Let me know please! ❤️

Thank you!

@rousseldenis
Copy link
Contributor

@rafaelbn This is due to :

image

So the customer_rankshould be updated when we create a contract IMHO (that's logical). But IMHO too, we should not rely on customer rank to display the smart button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants