Correct Ramesh, That is for viewing the invoice details on screen after the Invoice has been created (taking information from an Invoice_header table and related records in the Line_items) but the Invoice Preview provided to the user appears identical (although the information comes from the Company and Line_items tables). (If I understand it correctly, this is where web2py Components, mentioned by Dave, would come in useful, allowing re-use of code. With a bit of tweaking I think the same code could provide both views).
Regards Peter On Wednesday, 12 July 2017 13:55:46 UTC+1, Ramesh Meda wrote: > > Peter, > > Thank you, that could work for reading invoice. I guess it might require > a bit more for accepting / creating new invoice... or do I get this wrong. > > Regards, > Ramesh. > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.