Fix documentation build errors.

Shorten attribute to attr, shorten method to meth and fix Fields typo.

issue2042
review40004
This commit is contained in:
Ian Wilson committed 2011-06-05 19:44:09 -07:00
1 parent 83e164d6f4
commit a98d2a147f
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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
+2 -2
View File
@@ -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)