[MIG] document_url: Migration to 12.0

[UPD] README.rst

[UPD] Update document_url.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: knowledge-12.0/knowledge-12.0-document_url
Translate-URL: https://translation.odoo-community.org/projects/knowledge-12-0/knowledge-12-0-document_url/

[UPD] README.rst
This commit is contained in:
ernesto
2019-04-25 15:07:56 -04:00
committed by Víctor Martínez
parent d0a4b66b65
commit 3f68cb106e
80 changed files with 1297 additions and 1593 deletions

View File

@@ -7,6 +7,7 @@ from urllib import parse
class AddUrlWizard(models.Model):
_name = 'ir.attachment.add_url'
_description = 'Wizard to add URL attachment'
name = fields.Char('Name', required=True)
url = fields.Char('URL', required=True)
@@ -29,4 +30,4 @@ class AddUrlWizard(models.Model):
'res_model': self.env.context['active_model'],
}
attachment_obj.create(attachment)
return {'type': 'ir.actions.act_close_wizard_and_reload_view'}
return {'type': 'ir.actions.act_window_close'}