changeset 73d1d1f0490a in proteus:6.0
details: https://hg.tryton.org/proteus?cmd=changeset&node=73d1d1f0490a
description:
Rename zip into postal_code
(grafted from 4c2db8d802dd4d6615b958135d0176064f448ca7)
diffstat:
doc/index.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 9d54b1468250 -r 73d1d1f0490a doc/index.rst
--- a/doc/index.rst Mon May 03 15:32:42 2021 +0200
+++ b/doc/index.rst Wed May 05 16:00:40 2021 +0200
@@ -67,7 +67,7 @@
Addresses are store on party with a `One2Many` field. So the new address just
needs to be appended to the list `addresses`.
- >>> address = party.addresses.new(zip='42')
+ >>> address = party.addresses.new(postal_code='42')
>>> party.save()
>>> party.addresses #doctest: +ELLIPSIS
[proteus.Model.get('party.address')(...)]
@@ -108,9 +108,9 @@
Addresses are ordered by sequence which means they can be stored following a
specific order. The `set_sequence` method stores the current order.
- >>> address = party.addresses.new(zip='69')
+ >>> address = party.addresses.new(postal_code='69')
>>> party.save()
- >>> address = party.addresses.new(zip='23')
+ >>> address = party.addresses.new(postal_code='23')
>>> party.save()
Now changing the order.