Skip to content

Commit 1dc563f

Browse files
jensensstevepiercy
andauthored
Update docs/backend/behaviors.md
Co-authored-by: Steve Piercy <[email protected]>
1 parent 1c718b2 commit 1dc563f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/backend/behaviors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ The add and edit forms contain a new field `Price (net)`.
252252

253253
This field is not displayed in most views.
254254
To display the data entered in this field, you need to modify the page template by adding the `price_net` field as `context.price_net`.
255-
To access the `price_vat` and `price_gross` fields, you need to get the adapter in your view class:
255+
To access the `price_vat` and `price_gross` fields from a browser view, you need to get the adapter from the context of the view:
256256

257257
```Python
258258
from .price import IPriceBehavior

0 commit comments

Comments
 (0)