~alejandro-morera/siesa/siesa

« back to all changes in this revision

Viewing changes to collection_day/account_invoice.py

  • Committer: Alejando Morera
  • Date: 2014-12-22 22:01:31 UTC
  • Revision ID: alejandro.morera@siesacr.com-20141222220131-hy8actyew52x1qjd
[ADD] add files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import time
 
2
from lxml import etree
 
3
import decimal_precision as dp
 
4
 
 
5
import netsvc
 
6
import pooler
 
7
from osv import fields, osv, orm
 
8
from tools.translate import _
 
9
 
 
10
class account_invoice(osv.osv):
 
11
    _inherit = "account.invoice"
 
12
    _columns = {
 
13
        'collection_id': fields.many2one('sale.collection.day', 'Collection')
 
14
    }
 
15
account_invoice()