Hello everyone,
I am making a new app that is gathering a series of existing doctypes from ERPnext into the same place. I noticed that there is a way in the backend, of course, to call for other doctypes from other modules. If you take a look at the Accounts Module of ERPnext. You will notice a section call Masters and it contains doctypes from the Selling Module. That’s what I am trying to achieve here, I looked at the desktop.py for Accounts and saw the code that I thought would link this, so I made a quick example in my custom app but nothing pulls through. There we no tutorials on how to do this, can anyone help me grasp this concept.
Here the code I used.
-- coding: utf-8 --
from future import unicode_literals
from frappe import _
That is where I pulled my code from, never the less it working at all. Remember this is in a custom app. Even when I try to install it gives me an error. I think on the top of the code its needs to import from ERPnext.
As I stated before in the original post, I am making a custom app that is gathering certain doctypes from other modules. I pulled the code from your sample before…its the same code I used in one of my examples…It doesn’t work its missing something.
I did this, it still not working, I checked the code and corrected a couple of syntax errors, but nothing its pulling through, the APP won’t even show on Erpnext