Browse Source

[FIX] contract: Correct references in the contract report

pull/202/head
Pedro M. Baeza 7 years ago
parent
commit
ae0bd20309
  1. 2
      contract/__manifest__.py
  2. 1
      contract/models/account_analytic_contract.py
  3. 4
      contract/report/report_contract.xml

2
contract/__manifest__.py

@ -8,7 +8,7 @@
{ {
'name': 'Contracts Management - Recurring', 'name': 'Contracts Management - Recurring',
'version': '11.0.1.3.0',
'version': '11.0.1.4.0',
'category': 'Contract Management', 'category': 'Contract Management',
'license': 'AGPL-3', 'license': 'AGPL-3',
'author': "OpenERP SA, " 'author': "OpenERP SA, "

1
contract/models/account_analytic_contract.py

@ -74,4 +74,3 @@ class AccountAnalyticContract(models.Model):
('type', '=', 'sale'), ('type', '=', 'sale'),
('company_id', '=', company_id)] ('company_id', '=', company_id)]
return self.env['account.journal'].search(domain, limit=1) return self.env['account.journal'].search(domain, limit=1)

4
contract/report/report_contract.xml

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

Loading…
Cancel
Save