changeset 7e73a479cca5 in tryton-tweet:default
details: https://hg.tryton.org/tryton-tweet?cmd=changeset&node=7e73a479cca5
description:
        Update broken links

        Setuptools moved to github
        Tryton uses custom domain for readthedocs

        issue11519
        review431161003
diffstat:

 tips |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r 9c6dfb74a2ad -r 7e73a479cca5 tips
--- a/tips      Wed May 11 11:19:07 2022 +0200
+++ b/tips      Thu May 26 10:31:28 2022 +0200
@@ -1,5 +1,5 @@
 Always use the Tryton module name for the folder (even with prefix) because of
-https://bitbucket.org/pypa/setuptools/issues/230
+https://github.com/pypa/setuptools/issues/230
 https://github.com/pypa/pip/issues/3160
 
 You can display the same field many times in the same view with different 
widgets.
@@ -22,22 +22,22 @@
 
https://trytond.readthedocs.org/en/latest/topics/views/extension.html#extending-view
 
 Any button is linked to a method, use decorator to launch an action on 
client-side
-https://trytond.readthedocs.org/en/latest/ref/models/models.html?highlight=ModelView.button#trytond.model.ModelView.button_action
+https://docs.tryton.org/projects/server/en/latest/ref/models.html?highlight=ModelView.button#trytond.model.ModelView.button_action
 
-Customize how to order on a field with the attribute order_field
-https://trytond.readthedocs.org/en/latest/ref/models/fields.html#trytond.model.fields.Field.order_field
-example: http://hg.tryton.org/modules/party/file/fc0862209992/party.py#l37
+Customize how to order on a field with a classmethod returning a list of SQL 
expression
+https://docs.tryton.org/projects/server/en/latest/ref/fields.html#ordering
+example: https://hg.tryton.org/modules/party/file/6c6c3c0d2e1d/party.py#l111
 
 on_change can add/update/delete lines in On2Many recursively
 
 You can call on_change methods from within an on_change
-https://docs.tryton.org/projects/server/en/latest/ref/models/fields.html#trytond.model.fields.depends
+https://docs.tryton.org/projects/server/en/latest/ref/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
 
 By default, records created via XML are immutable but behavior can be override:
-https://trytond.readthedocs.org/en/latest/ref/models/models.html#trytond.model.ModelStorage.check_xml_record
+https://docs.tryton.org/projects/server/en/latest/ref/models.html#trytond.model.ModelStorage.check_xml_record
 
 currency field on sale, purchase and invoice becomes read-only once a line is
 added #UXP
@@ -52,7 +52,7 @@
 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
+https://docs.tryton.org/projects/server/en/latest/ref/fields.html#trytond.model.fields.Field.required
 
 Define a view by inheriting from an other model, useful for model sharing the
 same definition
@@ -73,7 +73,7 @@
 username
 
 To activate the history on a ModelSQL just set _history = True
-https://trytond.readthedocs.org/en/latest/ref/models/models.html#trytond.model.ModelSQL._history
+https://docs.tryton.org/projects/server/en/latest/ref/models.html#trytond.model.ModelSQL._history
 
 There are 3 options to retrieve reports: Open, E-Mail and Print
 

Reply via email to