Tryton · @tryton
70 followers · 135 posts · Server fosstodon.org

Use widget many2many on One2Many & vice versa. many2many replaces create/delete by add/remove, one2many can have both with add_remove

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
70 followers · 133 posts · Server fosstodon.org

You can update any lines inside a One2Many via on_change calls because even non-saved lines have id

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
69 followers · 131 posts · Server fosstodon.org

Don't care about the number of ids when browsing, the LRU cache will keep memory usage low

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
65 followers · 129 posts · Server fosstodon.org

You can display the same field many times in the same view with different widgets.

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
63 followers · 128 posts · Server fosstodon.org

Always use the Tryton module name for the folder (even with prefix) because of github.com/pypa/setuptools/iss github.com/pypa/pip/issues/316

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
63 followers · 128 posts · Server fosstodon.org

You can display the same field many times in the same view with different widgets.

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
63 followers · 128 posts · Server fosstodon.org

Use the automatic option in the reconciliation wizard to reconcile all suggestions automatically

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
61 followers · 122 posts · Server fosstodon.org

You can define read and write access per fields, the server will remove or read-only the fields on the fly

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
57 followers · 116 posts · Server fosstodon.org

When defining a list/tree view make non-essential columns optional so users can choose whether to display them

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
47 followers · 99 posts · Server fosstodon.org

trytond ensures XML records and database records are always in sync

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
47 followers · 98 posts · Server fosstodon.org

Use the automatic option in the reconciliation wizard to reconcile all suggestions automatically

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
47 followers · 97 posts · Server fosstodon.org

You can define icons used by the client in your module on the server side

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
46 followers · 96 posts · Server fosstodon.org

The client automatically hide the relation field in One2Many widget so no need of specific view definition

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
44 followers · 94 posts · Server fosstodon.org

When you delete/remove a line in a One2Many or Many2Many widget, the line stays crossed out to allow you to undo the deletion until you save the record

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
43 followers · 93 posts · Server fosstodon.org

The client automatically hide the relation field in One2Many widget so no need of specific view definition

#TrytonTips

Last updated 2 years ago

Tryton · @tryton
40 followers · 92 posts · Server fosstodon.org

#TrytonTips

Last updated 3 years ago

Tryton · @tryton
38 followers · 91 posts · Server fosstodon.org

You can define icons used by the client in your module on the server side

#TrytonTips

Last updated 3 years ago

Tryton · @tryton
38 followers · 87 posts · Server fosstodon.org

Install unaccent function on your database to get search performed without accent

#TrytonTips

Last updated 3 years ago

Tryton · @tryton
40 followers · 85 posts · Server fosstodon.org

#TrytonTips

Last updated 3 years ago

Tryton · @tryton
39 followers · 82 posts · Server fosstodon.org

You can display the same field many times in the same view with different widgets.

#TrytonTips

Last updated 3 years ago