In the GitHub world, a Pull Request (or PR for short) is a request made by a developer for the maintainers of a project to include some new developments. Such a PR may contain a bug fix or a new feature. These requests are reviewed and tested before being pulled in the main branch.
This recipe explains how to apply a PR to your Odoo project in order to test an improvement or a bug fix.
As in the previous recipe, suppose you reported an issue with partner_address_street3
and received a notification that the issue was solved in a pull request, which is not yet merged in the 9.0 branch of the project. The developer asks you to validate the fix in PR #123. You need to update a test instance with this branch.
You should not try out such branches directly on a production database, so first create a test environment with a copy of the production database (see Chapter 1, Installing the Odoo Development Environment, and Chapter 16, Server Deployment...