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

Attached Field in Document is not updated. #28

Open
hkmj-erp opened this issue Jun 28, 2024 · 0 comments
Open

Attached Field in Document is not updated. #28

hkmj-erp opened this issue Jun 28, 2024 · 0 comments

Comments

@hkmj-erp
Copy link

####  To change the Local Field of Document
            if self.attached_to_field:
                frappe.db.set_value(
                    self.attached_to_doctype,
                    self.attached_to_name,
                    self.attached_to_field,
                    self.file_url,
                )
####

On change in File, please update the connected field value also which holds the path to File.

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

No branches or pull requests

1 participant