~openerp-community/openobject-addons/trunk-addons-community

« back to all changes in this revision

Viewing changes to business/business.py

  • Committer: Serpent Consulting Services
  • Date: 2012-10-18 13:01:50 UTC
  • Revision ID: support@serpentcs.com-20121018130150-78rigy0ksqfoxncq
[MIGRATE] business, base_xml_sample : Made modules intallable and compatible to 6.1 

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
20
 
21
21
from osv import osv, fields
22
 
import tools
23
 
from mx import DateTime
24
 
import netsvc
25
22
 
26
23
def _default_purchase_analytic( obj, cr, uid, context):
27
24
    #print '_default_purchase_analytic',context
73
70
business_business()
74
71
 
75
72
class sale_order(osv.osv):
76
 
  _name = "sale.order"
77
73
  _inherit = "sale.order"
78
74
  _description = "Sale order with business affair"
79
75
 
95
91
sale_order()
96
92
 
97
93
class purchase_order(osv.osv):
98
 
  _name = "purchase.order"
99
94
  _inherit = "purchase.order"
100
95
  _description = "Purchase order with business affair"
101
96
 
112
107
purchase_order()
113
108
 
114
109
class purchase_order_line(osv.osv):
115
 
  _name = "purchase.order.line"
116
110
  _inherit = "purchase.order.line"
117
111
  _description = "purchase order line with business affair"
118
112
 
122
116
purchase_order_line()
123
117
 
124
118
class account_invoice(osv.osv):
125
 
  _name = "account.invoice"
126
119
  _inherit = "account.invoice"
127
120
  _description = "invoice with business affair"
128
121
 
135
128
 
136
129
 
137
130
class project(osv.osv):
138
 
  _name = "project.project"
139
131
  _inherit="project.project"
140
132
  _description = "Project with business affair"
141
133