Skip to content

Commit 2840a4b

Browse files
Callum027Callum Dickinson
andauthored
Tag v0.2.1 (#16)
New release because I forgot the release notes, and I (understandably) can't reuse an existing version on PyPI. Co-authored-by: Callum Dickinson <[email protected]>
1 parent 7a675a5 commit 2840a4b

File tree

11 files changed

+27
-27
lines changed

11 files changed

+27
-27
lines changed

docs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- towncrier release notes start -->
44

5-
## [0.2.0](https://github.com/catalyst-cloud/python-openstack-odooclient/releases/tag/0.2.0) - 2025-12-16
5+
## [0.2.1](https://github.com/catalyst-cloud/python-openstack-odooclient/releases/tag/0.2.1) - 2025-12-16
66

77
### Removed
88

docs/managers/account-move.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ message_main_attachment_id: int | None
186186
The ID of the main [attachment](attachment.md) on the account move (invoice),
187187
if there is one.
188188

189-
*Added in version 0.2.0.*
189+
*Added in version 0.2.1.*
190190

191191
### `message_main_attachment_name`
192192

@@ -197,7 +197,7 @@ message_main_attachment_name: str | None
197197
The name of the main [attachment](attachment.md) on the account move (invoice),
198198
if there is one.
199199

200-
*Added in version 0.2.0.*
200+
*Added in version 0.2.1.*
201201

202202
### `message_main_attachment`
203203

@@ -209,7 +209,7 @@ The main [attachment](attachment.md) on the account move (invoice), if there is
209209
This fetches the full record from Odoo once,
210210
and caches it for subsequent accesses.
211211

212-
*Added in version 0.2.0.*
212+
*Added in version 0.2.1.*
213213

214214
### `move_type`
215215

docs/managers/attachment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Attachments
22

3-
*Added in version 0.2.0.*
3+
*Added in version 0.2.1.*
44

55
This page documents how to use the manager and record objects
66
for attachments.

docs/managers/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ for example, when updating a model ref, either its ID
803803
(e.g. ``user_id``) or object (e.g. ``user``) field names
804804
can be used.
805805

806-
*Added in version 0.2.0.*
806+
*Added in version 0.2.1.*
807807

808808
#### Parameters
809809

@@ -1427,7 +1427,7 @@ can be used.
14271427
If you need an updated version of the record object,
14281428
use the [`refresh`](#refresh) method to fetch the latest version.
14291429

1430-
*Added in version 0.2.0.*
1430+
*Added in version 0.2.1.*
14311431

14321432
##### Parameters
14331433

docs/managers/product.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ active: bool
262262

263263
Whether or not this product is active (enabled).
264264

265-
*Added in version 0.2.0.*
265+
*Added in version 0.2.1.*
266266

267267
### `categ_id`
268268

@@ -329,7 +329,7 @@ The Default Code for this product, if set.
329329
In the OpenStack Integration add-on, this is used to store
330330
the rated unit for the service product.
331331

332-
*Changed in version 0.2.0*: Made `default_code` optional.
332+
*Changed in version 0.2.1*: Made `default_code` optional.
333333

334334
### `description`
335335

@@ -373,7 +373,7 @@ sale_ok: bool
373373

374374
Whether or not this product is sellable.
375375

376-
*Added in version 0.2.0.*
376+
*Added in version 0.2.1.*
377377

378378
### `uom_id`
379379

docs/managers/sale-order.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Cancel the given sale order.
6060
... )
6161
```
6262

63-
*Added in version 0.2.0.*
63+
*Added in version 0.2.1.*
6464

6565
#### Parameters
6666

@@ -228,7 +228,7 @@ invoice_count: int
228228

229229
The number of [invoices (account moves)](account-move.md) generated from the sale order.
230230

231-
*Added in version 0.2.0.*
231+
*Added in version 0.2.1.*
232232

233233
### `invoice_ids`
234234

@@ -238,7 +238,7 @@ invoice_ids: list[int]
238238

239239
A list of IDs for [invoices (account moves)](account-move.md) generated from the sale order.
240240

241-
*Added in version 0.2.0.*
241+
*Added in version 0.2.1.*
242242

243243
### `invoices`
244244

@@ -251,7 +251,7 @@ The [invoices (account moves)](account-move.md) generated from the sale order.
251251
This fetches the full records from Odoo once,
252252
and caches them for subsequent accesses.
253253

254-
*Added in version 0.2.0.*
254+
*Added in version 0.2.1.*
255255

256256
### `invoice_status`
257257

@@ -425,7 +425,7 @@ Cancel this sale order.
425425
>>> sale_order.action_cancel()
426426
```
427427

428-
*Added in version 0.2.0.*
428+
*Added in version 0.2.1.*
429429

430430
### `action_confirm`
431431

openstack_odooclient/base/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def __init__(
173173
This is populated by the manager classes themselves when created,
174174
and used by the ``Attachment.res_model_manager`` field.
175175
176-
*Added in version 0.2.0.*
176+
*Added in version 0.2.1.*
177177
"""
178178
self._record_manager_mapping: dict[
179179
Type[RecordBase[Any]],

openstack_odooclient/base/record/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def update(self, **fields: Any) -> None:
195195
this method. If you need an updated version of the record
196196
object, use the `refresh` method to fetch the latest version.
197197
198-
*Added in version 0.2.0.*
198+
*Added in version 0.2.1.*
199199
"""
200200
...
201201

openstack_odooclient/base/record_manager/protocol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def get_by_unique_field(
380380
When ``optional`` is ``True``, ``None`` is returned if a record
381381
with the given name does not exist, instead of raising an error.
382382
383-
*Added in version 0.2.0.*
383+
*Added in version 0.2.1.*
384384
385385
:param field: The unique field name to query by
386386
:type field: str
@@ -604,7 +604,7 @@ def update(self, record: int | R, **fields: Any) -> None:
604604
when updating a model ref, either its ID (e.g. ``user_id``)
605605
or object (e.g. ``user``) field names can be used.
606606
607-
*Added in version 0.2.0.*
607+
*Added in version 0.2.1.*
608608
609609
:param record: The record to update (object or ID)
610610
:type record: int | R

openstack_odooclient/managers/product.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Product(RecordBase["ProductManager"]):
2929
active: bool
3030
"""Whether or not this product is active (enabled).
3131
32-
*Added in version 0.2.0.*
32+
*Added in version 0.2.1.*
3333
"""
3434

3535
categ_id: Annotated[int, ModelRef("categ_id", ProductCategory)]
@@ -64,7 +64,7 @@ class Product(RecordBase["ProductManager"]):
6464
In the OpenStack Integration add-on, this is used to store
6565
the rated unit for the service product.
6666
67-
*Changed in version 0.2.0*: Made `default_code` optional.
67+
*Changed in version 0.2.1*: Made `default_code` optional.
6868
"""
6969

7070
description: str
@@ -85,7 +85,7 @@ class Product(RecordBase["ProductManager"]):
8585
sale_ok: bool
8686
"""Whether or not this product is sellable.
8787
88-
*Added in version 0.2.0.*
88+
*Added in version 0.2.1.*
8989
"""
9090

9191
uom_id: Annotated[int, ModelRef("uom_id", Uom)]

0 commit comments

Comments
 (0)