[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 6ccf24e485
commit fb51cf9dc0

View File

@ -27,7 +27,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<sheet> <sheet>
<group> <group>
<field name="reservation_id" readonly="1" /> <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> <tree>
<field name="partner_id" /> <field name="partner_id" />
<field name="amount_total" /> <field name="amount_total" />