mirror of
https://github.com/frappe/frappe.git
synced 2026-04-24 01:14:06 -06:00
Page:
Migrating to Version 13
Pages
(Client Side Scripting)Fetch values from another document
(Client Side Scripting)Fetching child tables
App Development using GitHub
Client Side Scripting Index
Client side scripting(Archive)
Client side scripting
Deprecations
Developer Cheatsheet
Frappe Framework Front End Routing and Document Creation
Frappe Push Notification Client Reference
Frappe Test Record Loading: Startup Sequence
Generating Test Records in Frappe
Home
Installing Frappe ERPNext on MacOS
Migrating to Version 13
Migrating to Version 14
Migrating to nightly version
Migrating to version 15
Migrating to version 16
Pull Request Review Guidelines
Setup MariaDB Server
Setup NFS Server
The Hitchhiker's Guide to Installing Frappe on Linux
The Hitchhiker's Guide to Installing Frappe on Mac OS X
Tree view for custom DocType
Using Desk Modules, Calendar and List View in Frappe Framework
Using Frappe with Amazon RDS (or any other DBaaS)
Using the VSCode Debugger with Frappe
Writing an IntegrationTestCase in Frappe: A Step‐by‐Step Guide
query builder migration
No results
10
Migrating to Version 13
Suraj Shetty edited this page 2021-06-21 18:33:18 +05:30
Table of Contents
This page is intended to make it easier for users who maintain custom apps / forks to migrate their installations to Version 13.
Whitelisting Document methods
If you were accessing any document methods using one of the following constructs, the method needs to be whitelisted in the doctype class. Additionally, if you were setting document methods as options for Button fields, those will need to be whitelisted as well.
frm.call("my_method")
// or
frappe.call({
doc: frm.doc,
method: "my_method"
})
class ToDo:
+ frappe.whitelist()
def my_method(self):
pass
Docs: https://frappeframework.com/docs/user/en/api/form#frmcall