Register all buttons are registered in ir.model.button

issue6389
review36621002
This commit is contained in:
Sergi Almacellas Abellana committed 2018-03-01 12:44:36 +01:00
1 parent c8d761d86a
commit 121abe04e9
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ this repository contains the full copyright notices and license terms. -->
</xpath>
<xpath expr="/form/notebook/page[@id='general']/group/group[@id='buttons']"
position="inside">
<button string="Invoice" name="invoice"/>
<button name="invoice"/>
</xpath>
<xpath expr="/form/notebook" position="inside">
<page name="invoiced_progress">
+1
View File
@@ -11,6 +11,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.model.button" id="work_invoice_button">
<field name="name">invoice</field>
<field name="string">Invoice</field>
<field name="model" search="[('model', '=', 'project.work')]"/>
</record>
<record model="ir.model.button-res.group"