diff --git a/addons/account/invoice.py b/addons/account/invoice.py index d0c2f44064d..ed78d5025a8 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -94,7 +94,7 @@ class account_invoice(osv.osv): 'number': fields.char('Invoice Number', size=32,readonly=True), 'reference': fields.char('Invoice Reference', size=64), - 'project_id': fields.many2one('account.analytic.account', 'Analytic Account', readonly=True, states={'draft':[('readonly',False)]}), + 'project_id': fields.many2one('account.analytic.account', 'Analytic Account', readonly=True, states={'draft':[('readonly',False)]}, relate=True), 'comment': fields.text('Additionnal Information'), 'state': fields.selection([ diff --git a/addons/crm/scripts/tinyerp-mailgate/fetchmailrc b/addons/crm/scripts/tinyerp-mailgate/fetchmailrc index 7b44d958d22..9b9b04e6826 100755 --- a/addons/crm/scripts/tinyerp-mailgate/fetchmailrc +++ b/addons/crm/scripts/tinyerp-mailgate/fetchmailrc @@ -1,5 +1,5 @@ # .fetchmailrc poll pop.tiny.be proto pop3: -username testsup@tiny.be password tiny mda "/home/pinky/code/terp/trunk/server/bin/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py -u3 -padmin -ssupport -etestsup@tiny.be -dfp@tiny.be" +username efl@tiny.be password fle843 mda "/home/pinky/code/terp/trunk/server/bin/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py -u3 -padmin -ssupport -eefl@tiny.be -mfp@tiny.be -dterp" diff --git a/addons/hr_timesheet/hr_timesheet.py b/addons/hr_timesheet/hr_timesheet.py index c53a07e5558..530d490c9af 100644 --- a/addons/hr_timesheet/hr_timesheet.py +++ b/addons/hr_timesheet/hr_timesheet.py @@ -58,7 +58,8 @@ class hr_analytic_timesheet(osv.osv): return super(hr_analytic_timesheet, self).unlink(cr, uid, ids, context) def on_change_unit_amount(self, cr, uid, id, prod_id, unit_amount, unit, context={}): - return self.pool.get('account.analytic.line').on_change_unit_amount(cr, uid, id, prod_id, unit_amount,unit, context) + res = self.pool.get('account.analytic.line').on_change_unit_amount(cr, uid, id, prod_id, unit_amount,unit, context) + return res def _getEmployeeProduct(self, cr, uid, context): emp_obj = self.pool.get('hr.employee') diff --git a/addons/purchase_discount/purchase_discount_report.xml b/addons/purchase_discount/purchase_discount_report.xml index af653d79cbb..91bccdd6177 100644 --- a/addons/purchase_discount/purchase_discount_report.xml +++ b/addons/purchase_discount/purchase_discount_report.xml @@ -3,7 +3,7 @@