-
-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default related action to open related records
The related action button now opens by default the record on which the job is working. It uses the default views of the job. The exact behavior depends of the number of records in the job: * No record (job called on a model): display a message indicating that there is no available action * One record: open the default view in form * Several records: open the default view in list The related action can still be overridden by the 'related_action' decorator.
- Loading branch information
Showing
4 changed files
with
192 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. [ The change log. The goal of this file is to help readers | ||
understand changes between version. The primary audience is | ||
end users and integrators. Purely technical changes such as | ||
code refactoring must not be mentioned here. | ||
This file may contain ONE level of section titles, underlined | ||
with the ~ (tilde) character. Other section markers are | ||
forbidden and will likely break the structure of the README.rst | ||
or other documents where this fragment is included. ] | ||
Next | ||
~~~~ | ||
|
||
* [ADD] Default "related action" for jobs, opening a form or list view (when | ||
the job is linked to respectively one record on several). | ||
(Backport from `#46 <https://github.com/OCA/queue/pull/46>`_) | ||
|
||
10.0.1.0.0 | ||
~~~~~~~~~~ | ||
|
||
* Starting the changelog from there |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters