diff options
| author | Raf Geens <raf@odoo.com> | 2020-09-10 12:21:40 +0000 |
|---|---|---|
| committer | Raf Geens <raf@odoo.com> | 2020-09-10 15:20:07 +0000 |
| commit | f0f4d9af2a1f9ae3ff0bdff47012b387f973ec38 (patch) | |
| tree | a259f0cab9f72b75d7fc15ba3b0366568f0c0fb9 /doc/reference/guidelines.rst | |
| parent | 9f171d44cd0d130c907797413b04406af8a1193e (diff) | |
[IMP] doc: How to add a print action on a report record
If you define a report using `<report>` it will implicitly add that
action to a Print menu in the model's views. If you use ``<record>`` to
do the same, that won't happen unless you also set `binding_model_id`.
In older versions that wasn't really an issue because people mainly used
`<report>`, but it was deprecated in 13.5, hence this update. And it
applies to versions older than 13.5 as well, I tested until 11.0.
X-original-commit: 6768d4190993e95b50785ac4ebf3be7213ef5e3f
Diffstat (limited to 'doc/reference/guidelines.rst')
0 files changed, 0 insertions, 0 deletions
