diff options
| author | Meghna Jaswani <mja@odoo.com> | 2019-05-09 09:58:28 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2019-05-22 07:30:43 +0000 |
| commit | 21922709145bed43e36686f3aa22942909f9b586 (patch) | |
| tree | 68ef4aee8be956ecb1ff3cdcfd91827249b3d18e /doc/_extensions/autojsdoc/parser/parser.py | |
| parent | 370acf653fc86a310f9b269bc6781a430bce5f70 (diff) | |
[FIX] base : fixed traceback when print and then save document layout in SaleOrder.
In Sales > Order > SaleOrder > Print > Choose Document Layout > Save: when data is saved there is comes a traceback as write method is called directly on Save button.
(sale_management)
Hence write method should not be called and args passed returns an empty list.
- we defined dummy method to be called on save
Similarly, in TimeOff > Reporting > Report by Department > Print > Choose Document Layout > Save and Print : write_company_and_print_report method is called on Save and Print button
(hr_holidays)
-write method which is called inside write_company_and_print_report is removed as empty args list is passed.
reference is taken from- https://github.com/odoo/odoo/commit/1ced3bfca457ac50845637bcd42a8e53bd7f088d
opw:1973947
closes odoo/odoo#33454
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'doc/_extensions/autojsdoc/parser/parser.py')
0 files changed, 0 insertions, 0 deletions
