From a98d2a147ff4e23053ada06b10a5d8da69139aa9 Mon Sep 17 00:00:00 2001 From: Ian Wilson Date: Sun, 5 Jun 2011 19:44:09 -0700 Subject: [PATCH] Fix documentation build errors. Shorten attribute to attr, shorten method to meth and fix Fields typo. issue2042 review40004 --- doc/ref/models/fields.rst | 4 ++-- doc/ref/models/models.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/ref/models/fields.rst b/doc/ref/models/fields.rst index e99a788212..4d741c22ba 100644 --- a/doc/ref/models/fields.rst +++ b/doc/ref/models/fields.rst @@ -210,8 +210,8 @@ A single line string field. ComboboxEntry in the client. .. warning:: - Note that you may need to set :attribute:`Fields.loading` to ``lazy`` - when :attribute:`Char.translate` is ``True``. + Note that you may need to set :attr:`Field.loading` to ``lazy`` + when :attr:`Char.translate` is ``True``. .. Sha diff --git a/doc/ref/models/models.rst b/doc/ref/models/models.rst index 151576e221..855ea6e418 100644 --- a/doc/ref/models/models.rst +++ b/doc/ref/models/models.rst @@ -224,13 +224,13 @@ Instance methods: .. method:: ModelStorage.trigger_write_get_eligibles(ids) Return eligible record ids for write actions by triggers. This dictionary - is to pass to :method:`~ModelStorage.trigger_write`. + is to pass to :meth:`~ModelStorage.trigger_write`. .. method:: ModelStorage.trigger_write(eligibles) Trigger write actions. It will call actions defined in ``ir.trigger`` if ``on_write`` is set and ``condition`` was false before - :method:`~ModelStorage.write` and true after. + :meth:`~ModelStorage.write` and true after. .. method:: ModelStorage.delete(ids)