Hi, guys!
I’m developing a simple registration of persons, to show some differences between Django, web2py and Frappe for some friends, and I have is the following:
Doctype Person: He represents:
Each variation is a form loaded in a Section Break, what I would do is:
Add a parameter called “ViewMode” in the url eg:
https://localhost.com/app.html#Form/Person/New Person 1?viewmode=Customer
And starting this parameter which manage the Section Breaks should be visible.
I just do not know how to manage URLs with frappe, someone could give me a help?
--
Note:
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CABK1YkOegNPNVToqVtJVKHBAc3OnXJ91hWWShnoohFgbSbkmcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hi, Anand!
I understand your perspective and I will use this, but, the Form (“widget”) is for me like a table, with one difference, tables represents One to Many relations, a form represents a One to One and Links represents a Many to One relation.
In my case I’m have these motivations to use a Form:
All person requires one or more addresses - the address showed in Person View is the primary address
A Individual person does not contains the same details that a Company
All persons are distincts with few details:
Bank:
Company:
Individual
The idea is to partition the tables according to each segmentation of people.
This makes them slightly larger pieces, but improves standardization Database.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CAAQzbF3X9%3DS%2BRizv%3DC4EfVhjRavrj3N7LmXf3DL3-3i1w5DNiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.