[FIX]purchase_requisition: put js file in a bundle

bzr revid: csn@openerp.com-20140509092717-07wp6u6fc5so07jz
This commit is contained in:
Cedric Snauwaert 2014-05-09 11:27:17 +02:00
parent 6f99764697
commit 1685b4a265
2 changed files with 14 additions and 4 deletions

View File

@ -33,11 +33,9 @@ related requisition. This new object will regroup and will allow you to easily
keep track and order all your purchase orders.
""",
'depends' : ['purchase'],
'js': [
'static/src/js/web_addons.js',
],
'demo': ['purchase_requisition_demo.xml'],
'data': ['security/purchase_tender.xml',
'data': ['views/purchase_requisition.xml',
'security/purchase_tender.xml',
'wizard/purchase_requisition_partner_view.xml',
'wizard/bid_line_qty_view.xml',
'purchase_requisition_data.xml',

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- vim:fdn=3:
-->
<openerp>
<data>
<template id="assets_backend" name="purchase requisition assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/purchase_requisition/static/src/js/web_addons.js"></script>
</xpath>
</template>
</data>
</openerp>