Skip to content

[agreement_legal] error uploading signed document #62

@ygol

Description

@ygol

Module

agreement_legal

Describe the bug

Unable to upload an asset in the field "signed_contract"

To Reproduce

Affected versions: 17.0

Steps to reproduce the behavior:

  1. Go to an agreement's form view
  2. Click on the button "upload your file" under the tab "Signature"
  3. Try to save the record
  4. The following error is raized:
TypeError: Cannot read properties of undefined (reading 'writeText')
    at ClientErrorDialog.onClickClipboard (http://oca-agreement-17-0-3d72191d4cbc.runboat.odoo-community.org/web/assets/885b213/web.assets_web.min.js:2372:48)
    at Object.mainEventHandler (http://oca-agreement-17-0-3d72191d4cbc.runboat.odoo-community.org/web/assets/885b213/web.assets_web.min.js:1584:77)
    at HTMLButtonElement.listener (http://oca-agreement-17-0-3d72191d4cbc.runboat.odoo-community.org/web/assets/885b213/web.assets_web.min.js:735:15)

Expected behavior
No error

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstalePR/Issue without recent activity, it'll be soon closed automatically.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions