projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a2a45
)
ACCOUNT: use invoice date for analytic line
author
ced
<>
Wed, 28 Feb 2007 12:02:22 +0000
(12:02 +0000)
committer
ced
<>
Wed, 28 Feb 2007 12:02:22 +0000
(12:02 +0000)
bzr revid: ced-
4ae24c28c6d26a4427f184280e065724bbd2796b
addons/account/invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/invoice.py
b/addons/account/invoice.py
index
990778a
..
097ba5e
100644
(file)
--- a/
addons/account/invoice.py
+++ b/
addons/account/invoice.py
@@
-274,7
+274,7
@@
class account_invoice(osv.osv):
if il['account_analytic_id']:
il['analytic_lines'] = [(0,0, {
'name': il['name'],
- 'date': time.strftime('%Y-%m-%d'),
+ 'date': inv['date_invoice'],
'account_id': il['account_analytic_id'],
'unit_amount': il['quantity'],
'amount': il['price'] * sign,