Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web_translate_dialog/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"author": "Camptocamp,Odoo Community Association (OCA)",
"version": "8.0.1.0.0",
"depends": ['web'],
'data': ['view/web_translate.xml'],
'data': ['view/web_translate.xml','view/partner_view.xml'],
'qweb': ["static/src/xml/base.xml"],
'installable': True,
}
10 changes: 10 additions & 0 deletions web_translate_dialog/view/partner_view.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<openerp>
<data>

<record id="purchase.act_res_partner_2_supplier_invoices" model="ir.actions.act_window">
<field name="domain">[('type','=','in_invoice'),('partner_id','=',active_id)]</field>
<field name="context">{'default_type': 'in_invoice', 'type': 'in_invoice', 'journal_type': 'purchase'}</field>
</record>

</data>
</openerp>