From ffd0c86ec2cfc8f6266df01016f40f3dc5f2f670 Mon Sep 17 00:00:00 2001 From: "Quentin (OpenERP)" Date: Fri, 30 Mar 2012 11:08:37 +0200 Subject: [PATCH] [FIX] a lot of fixes in several modules, as the result of the code review of the merge of the objects res.partner and res.partner.address bzr revid: qdp-launchpad@openerp.com-20120330090837-s87z2qzsvynhlbwr --- addons/account/account.py | 2 +- addons/account/account_invoice_view.xml | 4 +- addons/account/account_pre_install.yml | 2 +- addons/account/partner_view.xml | 2 +- .../account/report/account_print_invoice.rml | 8 +- .../report/report_account_invoice_layout.rml | 8 +- .../report/special_message_invoice.rml | 6 +- addons/account_payment/account_payment.py | 73 ++++--------------- addons/analytic/analytic.py | 13 ---- addons/audittrail/audittrail.py | 2 +- .../base_calendar_invite_attendee_view.xml | 2 +- addons/crm/crm_lead.py | 21 +----- addons/crm/crm_lead_view.xml | 4 +- addons/crm/crm_phonecall.py | 10 --- addons/crm/crm_phonecall_view.xml | 1 - addons/crm/res_partner.py | 10 +-- addons/crm/test/ui/crm_demo.yml | 2 +- addons/crm/wizard/crm_phonecall_to_partner.py | 7 +- addons/edi/models/res_company.py | 1 - addons/edi/models/res_partner.py | 2 +- addons/event/event.py | 3 +- addons/event/event_view.xml | 2 +- addons/hr_expense/hr_expense.py | 2 - addons/l10n_ch/report/bvr.mako | 2 +- addons/l10n_ch/report/report_webkit_html.mako | 2 +- .../report/report_webkit_html_view.xml | 2 +- addons/point_of_sale/report/pos_receipt.py | 2 +- addons/purchase/edi/purchase_order.py | 10 +-- addons/purchase/purchase.py | 3 +- addons/purchase/purchase_demo.xml | 2 +- addons/purchase/purchase_view.xml | 23 ------ addons/purchase/report/order.rml | 6 +- addons/purchase/report/request_quotation.rml | 10 +-- addons/purchase/security/ir.model.access.csv | 1 - .../report/purchase_requisition.rml | 2 +- addons/report_intrastat/report/invoice.rml | 10 +-- addons/sale/edi/sale_order.py | 10 +-- addons/sale/report/sale_order.rml | 6 +- .../sale_layout/report/report_sale_layout.rml | 10 +-- addons/stock/stock.py | 6 +- .../survey/wizard/survey_send_invitation.py | 6 +- addons/warning/warning.py | 2 +- 42 files changed, 94 insertions(+), 208 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index d902d2cb482..75bfc891980 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -2100,7 +2100,7 @@ class account_tax(osv.osv): "Deprecated, use compute_all(...)['taxes'] instead of compute(...) to manage prices with tax included") return self._compute(cr, uid, taxes, price_unit, quantity, product, partner) - def _compute(self, cr, uid, taxes, price_unit, quantity,product=None, partner=None): + def _compute(self, cr, uid, taxes, price_unit, quantity, product=None, partner=None): """ Compute tax values for given PRICE_UNIT, QUANTITY and a buyer/seller ADDRESS_ID. diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 406fd56ee31..6d499b4d3ad 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -152,7 +152,7 @@