[FIX]GOLEM Resource Account : keep reservation_id on invoice context, thanks Youssef for catching the bug

This commit is contained in:
Fabien BOURGEOIS 2018-04-16 19:18:12 +02:00
parent 988e53bc50
commit 07e2291189
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<sheet>
<group>
<field name="reservation_id" readonly="1" />
<field name="invoice_ids" widget="many2many" readonly="1">
<field name="invoice_ids" widget="many2many" readonly="1"
context="{'reservation_id': reservation_id}">
<tree>
<field name="partner_id" />
<field name="amount_total" />