DocType as Facade

I'm thinking of a good way of composing my doctypes following some principles that I believe are best practices for databases such as the normalization rules.

Below is a pre-proposal for how I'm fazerndo few things:


Imagem inline 1

The idea is to create a doctype (which is not a table, and the user can not create), to serve as a facade for all kinds of people of dismemberment.


I was wondering what you guys think about this model.




Best Regards.


Maxwell Morais

Python Developer powered by Webnotes framework <3

+55 11 954329659



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CABK1YkNkeY2Oa5mv5V%2B%3DdyhB6UV_NMi-aKMSoyihKLGkstPugw%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Hi Max,


On Thu, Mar 20, 2014 at 1:46 PM, Maxwell Morais <ma...@gmail.com> wrote:
I'm thinking of a good way of composing my doctypes following some principles that I believe are best practices for databases such as the normalization rules.

Below is a pre-proposal for how I'm fazerndo few things:


Imagem inline 1


I think what want in Django terms is a Form with ModelForms with different models. The crux of it is that Forms look like models in code but are a part of the view. You could

The idea is to create a doctype (which is not a table, and the user can not create), to serve as a facade for all kinds of people of dismemberment.


I was wondering what you guys think about this model.




Best Regards.


Maxwell Morais

Python Developer powered by Webnotes framework <3



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-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/CABK1YkNkeY2Oa5mv5V%2B%3DdyhB6UV_NMi-aKMSoyihKLGkstPugw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.




--
Pratik
erpnext
Max - its interesting, but a bit complicated for now.

Once we fix the MVC, there are a few other normalizations we need to do.

Customer = Supplier = Party
Lead = Contact
Communication = Comment

Lets get these low hanging ones out of the way first!


On Thursday, March 20, 2014 1:46:21 PM UTC+5:30, Maxwell wrote:
I'm thinking of a good way of composing my doctypes following some principles that I believe are best practices for databases such as the normalization rules. 

Below is a pre-proposal for how I'm fazerndo few things:


Imagem inline 1

The idea is to create a doctype (which is not a table, and the user can not create), to serve as a facade for all kinds of people of dismemberment.


I was wondering what you guys think about this model.




Best Regards.


Maxwell Morais

Python Developer powered by Webnotes framework <3

+55 11 954329659



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1cfd6a5f-92f9-4f17-930c-1b8500ae5195%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.