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: Show cancel button only when account_cancel module is … #17216

Conversation

hch-odoo
Copy link
Contributor

…installed,

Since 'Allow Cancelling Entries' option for a 'Journal' is made available to the user only when the 'account_cancel' module is installed, the 'Cancel Entries' button for 'Journal Entries' should also be made available to the user only after 'account_cancel' module gets installed and not when the 'account' module is installed. And the same thing should be applied for an invoice, that is, Invoice should be cancellable only after 'account_cancel' module is installed.

Description of the issue/feature this PR addresses:
Task: https://www.odoo.com/web?#id=33348&view_type=form&model=project.task&action=327&menu_id=4720
Pad: https://pad.odoo.com/p/r.65f4f881c9c6e817d265e6facc509d9f

I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@C3POdoo C3POdoo added the RD research & development, internal work label May 26, 2017
…installed,

Since 'Allow Cancelling Entries' option for a 'Journal' is made available to the user only when the 'account_cancel' module is installed, the 'Cancel Entries' button for 'Journal Entries' should also be made available to the user only after 'account_cancel' module gets installed and not when the 'account' module is installed. And the same thing should be applied for an invoice, that is, Invoice should be cancellable only after 'account_cancel' module is installed.
@hch-odoo hch-odoo force-pushed the master-account-hide-cancel-journal-entry-button-hch branch from 62d4519 to 1268c95 Compare June 12, 2017 11:43
@qdp-odoo qdp-odoo merged commit 4e593ab into odoo:master Jul 4, 2017
@xmo-odoo xmo-odoo deleted the master-account-hide-cancel-journal-entry-button-hch branch November 20, 2019 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants