Browse Source

[REF] auto-fix conventions

pull/26/head
moylop260 10 years ago
parent
commit
3b0ed9dd21
  1. 2
      contract/__init__.py
  2. 2
      contract/account_analytic_analysis_recurring.py

2
contract/__init__.py

@ -19,4 +19,4 @@
# #
############################################################################## ##############################################################################
import account_analytic_analysis_recurring
from . import account_analytic_analysis_recurring

2
contract/account_analytic_analysis_recurring.py

@ -92,7 +92,7 @@ class AccountAnalyticInvoiceLine(orm.Model):
'uom_id': uom_id or res.uom_id.id or False, 'uom_id': uom_id or res.uom_id.id or False,
'price_unit': res.list_price or 0.0}) 'price_unit': res.list_price or 0.0})
if res.description: if res.description:
result['name'] += '\n'+res.description
result['name'] += '\n' + res.description
res_final = {'value': result} res_final = {'value': result}
if result['uom_id'] != res.uom_id.id: if result['uom_id'] != res.uom_id.id:

Loading…
Cancel
Save