mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-23 05:42:13 -06:00
[NEW] New module: attachment_attach_non_editable
In odoo, by default, you can't add attachments to a record if the form view is set as not editable (``edit='false'`` in the form tag) This module adds a new form view attribute, ``attach=``, which lets you enable attachment uploads even in non-editable forms.
This commit is contained in:
20
attachment_attach_non_editable/__manifest__.py
Normal file
20
attachment_attach_non_editable/__manifest__.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2016 MONK Software
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
{
|
||||
"name": "Force enable attachments",
|
||||
"version": "10.0.1.0.0",
|
||||
"author": "MONK Software, Odoo Community Association (OCA)",
|
||||
"category": "Knowledge",
|
||||
"license": "AGPL-3",
|
||||
"website": "https://odoo-community.org/",
|
||||
"depends": ["document"],
|
||||
"data": [
|
||||
'templates/web.xml',
|
||||
],
|
||||
"qweb": [
|
||||
'static/src/xml/sidebar.xml',
|
||||
],
|
||||
"installable": True,
|
||||
"auto_install": False,
|
||||
}
|
||||
Reference in New Issue
Block a user