[FIX] project_issue_sheet: make invoiceable field autofield for worklogs

When setting a worklog on a project_issue, the field to_invoice is prefilled with on_change_account_id based on the contract settings. As the field was not present on the list view, the information was lost and every worklog was not written as invoiceable, even if enabled on the contract. opw 609082.
This commit is contained in:
Martin Trigaux 2014-07-01 15:48:53 +02:00
parent 3d3134108d
commit 451b6b9f3a
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@
<field invisible="1" name="product_uom_id" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)"/>
<field invisible="1" name="amount"/>
<field invisible="1" name="general_account_id"/>
<field invisible="1" name="to_invoice"/>
</tree>
</field>
</page>