[FIX+IMP] contract: Real fix to company_id missing + improvements + Correct references in the contract report

* company_id was empty because an onchange, not inheritance nor visibility
* Added multi-company group to company_id fields
* Added multi-company access rule to contract templates
* Fix double %% in XML dates that was causing an error
* When creating a contract, recurring_invoices is set by default
This commit is contained in:
Pedro M. Baeza
2017-11-28 12:19:57 -08:00
committed by Christopher Rogos
parent 1381348339
commit 5084e5924b
16 changed files with 165 additions and 110 deletions

View File

@@ -2,9 +2,9 @@
<odoo>
<template id="report_contract_document">
<t t-call="report.html_container">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="report.external_layout">
<t t-call="web.external_layout">
<div class="page">
<div class="oe_structure"/>
<div class="row" id="partner_info">