define_table('company')
define_table('client', Field('id', 'reference company'), primarykey=['id'])
define_table('supplier', Field('id', 'reference company'),
primarykey=['id'])
On Thursday, June 20, 2019 at 7:02:31 PM UTC+3, Paul Arsenio Blanco Reyes
wrote:
>
> It turns out that I have a company table, in turn, the company can be
> classified as a client, as a supplier or both together. How to assign a
> consecutive to the company according to its classification?
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/2bceab32-9c85-4dcc-ab7d-96fa12cc3be8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.