~ecommerce-addons-core-editors/e-commerce-addons/github-6.1

« back to all changes in this revision

Viewing changes to sale_quick_payment/wizard/pay_sale_order.py

  • Committer: sebastien beau
  • Date: 2012-08-21 13:57:44 UTC
  • mto: (269.1.1)
  • mto: This revision was merged to the branch mainline in revision 273.
  • Revision ID: git-v1:5a17b67295468f3c90564a729144ebc41da38618
[REF] refactor/clean code due to orm change in 6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#                                                                               #
20
20
#################################################################################
21
21
 
22
 
from osv import fields,osv
 
22
 
 
23
from openerp.osv.orm import TransientModel
 
24
from openerp.osv import fields
23
25
import decimal_precision as dp
24
26
from datetime import datetime
25
27
 
26
 
class pay_sale_order(osv.osv_memory):
 
28
class pay_sale_order(TransientModel):
27
29
    _name = 'pay.sale.order'
28
30
    _description = 'Wizard to generate a payment from the sale order'
29
31