-
- Downloads
[MIG] invoice_xunnel: Migration to v18.0
Changelog: Models: - Remove `documents_workflow_rule` model since it was removed and now workflows are converted to `documents`-linked `ir.actions.server` and can be configured to link a document to any model check this commits for reference [1][2]. Assets: - Document inspector no longer exists in 18.0 check this commit for reference [2]. - Library notify.min.js used to display an alert when an item of a xml is selected was replaced by the use of notification service native in Odoo. Tests: - In past versions `test_controller_main` had an error at getting acces_token in httprequest.args. Now we asigned an example token to the mock request to prevent this error. - Folder creation is now done in `documents.document` model. - Some test were updated to use `setUpClass` method instead of `setUp` for better performance. Views: - Changes in xpath expressions in `documents_views.xml` since document_view_kanban change its structure. I18n: - Regenerate translations. [1]: https://github.com/Vauxoo/enterprise/commit/1d11b642 [2]: https://github.com/Vauxoo/enterprise/commit/a32825e
Showing
- invoice_xunnel/__manifest__.py 3 additions, 4 deletionsinvoice_xunnel/__manifest__.py
- invoice_xunnel/data/ir_actions_server_data.xml 16 additions, 0 deletionsinvoice_xunnel/data/ir_actions_server_data.xml
- invoice_xunnel/i18n/es.po 25 additions, 132 deletionsinvoice_xunnel/i18n/es.po
- invoice_xunnel/models/__init__.py 0 additions, 1 deletioninvoice_xunnel/models/__init__.py
- invoice_xunnel/models/documents.py 24 additions, 0 deletionsinvoice_xunnel/models/documents.py
- invoice_xunnel/models/documents_workflow_rule.py 0 additions, 29 deletionsinvoice_xunnel/models/documents_workflow_rule.py
- invoice_xunnel/models/res_company.py 1 addition, 1 deletioninvoice_xunnel/models/res_company.py
- invoice_xunnel/static/src/js/documents_attachment_viewer.js 5 additions, 2 deletionsinvoice_xunnel/static/src/js/documents_attachment_viewer.js
- invoice_xunnel/static/src/js/documents_inspector.js 0 additions, 14 deletionsinvoice_xunnel/static/src/js/documents_inspector.js
- invoice_xunnel/static/src/lib/notify.min.js 0 additions, 1 deletioninvoice_xunnel/static/src/lib/notify.min.js
- invoice_xunnel/static/src/xml/templates.xml 0 additions, 35 deletionsinvoice_xunnel/static/src/xml/templates.xml
- invoice_xunnel/tests/__init__.py 1 addition, 1 deletioninvoice_xunnel/tests/__init__.py
- invoice_xunnel/tests/test_controllers_main.py 19 additions, 9 deletionsinvoice_xunnel/tests/test_controllers_main.py
- invoice_xunnel/tests/test_documents.py 7 additions, 3 deletionsinvoice_xunnel/tests/test_documents.py
- invoice_xunnel/tests/test_documents_action.py 59 additions, 0 deletionsinvoice_xunnel/tests/test_documents_action.py
- invoice_xunnel/tests/test_documents_workflow_rule.py 0 additions, 64 deletionsinvoice_xunnel/tests/test_documents_workflow_rule.py
- invoice_xunnel/tests/test_ir_attachment.py 9 additions, 8 deletionsinvoice_xunnel/tests/test_ir_attachment.py
- invoice_xunnel/tests/test_res_company.py 3 additions, 3 deletionsinvoice_xunnel/tests/test_res_company.py
- invoice_xunnel/views/documents_views.xml 12 additions, 14 deletionsinvoice_xunnel/views/documents_views.xml
- invoice_xunnel/wizards/documents.py 2 additions, 2 deletionsinvoice_xunnel/wizards/documents.py
Loading
Please register or sign in to comment