Skip to content

Commit

Permalink
Updated the link to Odoo 17
Browse files Browse the repository at this point in the history
  • Loading branch information
dasunhegoda committed Aug 13, 2024
1 parent 979d0b1 commit 4f9f7d2
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/howto/developer_guides/custom_areas.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class SPPArea(models.Model):

```

The code mentioned above will introduce a new field to the spp_area table for storing the province name of an area. To understand further, refer to the following documentation [Link 1](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/04_basicmodel.html), [Link 2](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/14_other_module.html), [Link 3](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/13_inheritance.html)
The code mentioned above will introduce a new field to the spp_area table for storing the province name of an area. To understand further, refer to the following documentation [Link 1](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/03_basicmodel.html), [Link 2](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/13_other_module.html), [Link 3](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/12_inheritance.html)

4. To integrate new fields into the UI, the following steps should be followed.

Expand Down Expand Up @@ -80,7 +80,7 @@ The code mentioned above will introduce a new field to the spp_area table for st
</record>
```

Further references [Link 1](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/07_basicviews.html), [Link 2](https://www.odoo.com/documentation/15.0/developer/reference/backend/views.html)
Further references [Link 1](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/06_basicviews.html), [Link 2](https://www.odoo.com/documentation/17.0/developer/reference/user_interface/view_records.html)

5. Install the module to include the new changes, then apply these updates through the backend App by selecting 'Update' in the Area module.

Expand Down
2 changes: 1 addition & 1 deletion docs/howto/developer_guides/custom_audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class CustomAuditRule(models.Model):
active = fields.Boolean(default=True)
```

The code mentioned above will introduce a new field to the `spp_audit_rule` table for storing the state of a rule. To understand further, refer to the following documentation [Link 1](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/04_basicmodel.html), [Link 2](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/14_other_module.html), [Link 3](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/13_inheritance.html)
The code mentioned above will introduce a new field to the `spp_audit_rule` table for storing the state of a rule. To understand further, refer to the following documentation [Link 1](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/03_basicmodel.html), [Link 2](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/13_other_module.html), [Link 3](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/12_inheritance.html)

4. To integrate new fields into the UI, the following steps should be followed. Create a new file called `views/spp_audit_rule_views.xml` in the module. Add the below code to the manifest file.

Expand Down
2 changes: 1 addition & 1 deletion docs/howto/developer_guides/custom_cr.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class ChangeRequestTypeCustomAddChildren(models.Model):

```

10. Make sure that the python file where the newly created model and the inherited model is already added in the `models/__init__.py`. To understand more about these. Refer to the following links [Link 1](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/13_inheritance.html), [Link 2](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/04_basicmodel.html)
10. Make sure that the python file where the newly created model and the inherited model is already added in the `models/__init__.py`. To understand more about these. Refer to the following links [Link 1](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/12_inheritance.html), [Link 2](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/03_basicmodel.html)

11. In the view, create a file `views/change_request_add_children_view.xml` and add the following views.

Expand Down
2 changes: 1 addition & 1 deletion docs/howto/developer_guides/custom_entitlement.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class G2PEntitlementCustom(models.Model):
rec.day_duration = delta.days
```

The code mentioned above will introduce a new field to the `g2p_entitlement` table for storing the duration of an entitlement. To understand further, refer to the following documentation [Link 1](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/04_basicmodel.html), [Link 2](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/14_other_module.html), [Link 3](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/13_inheritance.html)
The code mentioned above will introduce a new field to the `g2p_entitlement` table for storing the duration of an entitlement. To understand further, refer to the following documentation [Link 1](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/03_basicmodel.html), [Link 2](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/13_other_module.html), [Link 3](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/12_inheritance.html)

Here the values of `valid_until`, `valid_from` fields are derived from the values of cycle’s start date and end date fields. The mentioned fields are from the table `g2p.cycle`.

Expand Down
2 changes: 1 addition & 1 deletion docs/howto/developer_guides/custom_registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class OpenSPPGroupCustom(models.Model):

```

To understand further, refer to the following documentation given here [Link 1](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/04_basicmodel.html), [Link 2](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/14_other_module.html), [Link 3](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/13_inheritance.html)
To understand further, refer to the following documentation [Link 1](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/03_basicmodel.html), [Link 2](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/13_other_module.html), [Link 3](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/12_inheritance.html)

6. The following steps should be followed to integrate the new fields into the UI. Create new files named `views/individual_views.xml` and `views/group_membership_views.xml` in the module. Add the below code to the manifest file.

Expand Down
2 changes: 1 addition & 1 deletion docs/howto/developer_guides/custom_service_points.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class OpenSPPServicePoint(models.Model):

```

The code mentioned above will introduce the new fields to the `spp_service_point` table for storing the operating hours for weekdays and weekends. To understand further, refer to the following documentation given here [Link 1](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/04_basicmodel.html), [Link 2](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/14_other_module.html), [Link 3](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/13_inheritance.html)
The code mentioned above will introduce the new fields to the `spp_service_point` table for storing the operating hours for weekdays and weekends. To understand further, refer to the following documentation [Link 1](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/03_basicmodel.html), [Link 2](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/13_other_module.html), [Link 3](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/12_inheritance.html)

4. To integrate new fields into the UI, the following steps should be followed. Create a new file called `views/service_point_views.xml` in the module. Add the below code to the manifest file.

Expand Down
2 changes: 1 addition & 1 deletion docs/howto/developer_guides/indicators.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class SampleModel(models.Model):

This approach ensures that the value of the total is persisted in the database, reducing computation needs for repeated access.

This overview covers the basics of computed fields in Odoo. For a more in-depth understanding, including advanced techniques and best practices, refer to the official Odoo [documentation](https://www.odoo.com/documentation/15.0/developer/tutorials/getting_started/09_compute_onchange.html) on computed fields.
This overview covers the basics of computed fields in Odoo. For a more in-depth understanding, including advanced techniques and best practices, refer to the official Odoo [documentation](https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/08_compute_onchange.html) on computed fields.

## 3. Sample Use-case 1

Expand Down

0 comments on commit 4f9f7d2

Please sign in to comment.