Harry (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-attachment-rga into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-attachment-rga/+merge/126167
In the web client, the "Attachment" top menu should only be visible if you
install the "document" module.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-attachment-rga/+merge/126167
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-attachment-rga.
=== modified file 'document/__openerp__.py'
--- document/__openerp__.py 2012-08-22 13:02:32 +0000
+++ document/__openerp__.py 2012-09-25 06:36:24 +0000
@@ -57,6 +57,7 @@
],
'demo': [ 'document_demo.xml','board_document_demo.xml'],
'test': ['test/document_test2.yml'],
+ 'js': ['static/src/js/document.js'],
'installable': True,
'auto_install': False,
'certificate': '0070515416461',
=== added directory 'document/static'
=== added directory 'document/static/src'
=== added directory 'document/static/src/js'
=== added file 'document/static/src/js/document.js'
--- document/static/src/js/document.js 1970-01-01 00:00:00 +0000
+++ document/static/src/js/document.js 2012-09-25 06:36:24 +0000
@@ -0,0 +1,10 @@
+openerp.document = function (instance) {
+ _t = instance.web._t;
+ instance.web.SidebarAttachement =instance.web.Sidebar.include({
+ init : function(){
+ this._super.apply(this, arguments);
+ this.sections. splice(1, 0, { 'name' : 'files', 'label' : _t('Attachment(s)'), });
+ this.items['files'] = [];
+ }
+ });
+};
\ No newline at end of file
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp