changeset 6163b9717e7c in tryton-tweet:default details: https://hg.tryton.org/tryton-tweet?cmd=changeset;node=6163b9717e7c description: Reword some tips and remove link to former Google groups diffstat:
tips | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diffs (48 lines): diff -r f2609c4d8ece -r 6163b9717e7c tips --- a/tips Thu May 14 09:21:29 2020 +0200 +++ b/tips Wed Jul 22 08:51:34 2020 +0200 @@ -4,15 +4,12 @@ You can display the same field many times in the same view with different widgets. -How to get the total of products in all warehouses? -https://groups.google.com/forum/#!topic/tryton/JYJpuHsJfCM/discussion - trytond ensures XML records and database records are always in sync -run production server with optimized bytecode to skip the assert +Run production server with optimized bytecode to skip the assert https://docs.python.org/2/using/cmdline.html#cmdoption-O -A factor can be applied when displaying a field: +A factor can be applied when displaying a numeric field: https://trytond.readthedocs.org/en/latest/topics/views/index.html#common-attributes-factor You can use any Model for the menu and even write a wizard to switch to @@ -34,7 +31,7 @@ on_change can add/update/delete lines in On2Many recursively You can call on_change methods from within an on_change -http://hg.tryton.org/modules/account_invoice/file/b118fb67fe8c/invoice.py#l1642 +https://docs.tryton.org/projects/server/en/latest/ref/models/fields.html#trytond.model.fields.depends Create a plugin for client, just drop the module in the directory and define a method get_plugins returning the methods @@ -51,14 +48,14 @@ trytond read only once a record from database thanks to the shared cache by transaction -Thanks to the new workflow engine when un-reconcile lines, invoices go back to +Thanks to the workflow engine when un-reconcile lines, invoices go back to state open required is supported on xxx2Many fields on client-side and validated on server-side https://trytond.readthedocs.org/en/latest/ref/models/fields.html#required -Define a view by inheriting from an other model, useful for model with inherits -like product +Define a view by inheriting from an other model, useful for model sharing the +same definition http://hg.tryton.org/modules/product/file/08bf1068fc23/product.xml#l81 Don't care about the number of ids when browsing, the LRU cache will keep
