Skip to content

Commit

Permalink
[FIX] Sale_pricelist_recalculation : Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay (OpenERP) committed Jan 7, 2011
1 parent ce40a30 commit c5f70e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sale_pricelist_recalculation/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'version': '1.0',
'category': 'Sales & Purchases',
'description': """
This module adds a wizard on sale order which will let the user change the pricelist
This module adds a wizard on sales order which will let the user change the pricelist
and the concerned sale order lines will take an effect.
""",
'author': 'OpenERP SA',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def change_pricelist_products(self, cr, uid, ids, context):
date_order = sale_obj.date_order

if sale_obj.pricelist_id.id == pricelist_id.id:
raise osv.except_osv(_('Warning'),_('The Pricelist is already applied to the sale order!'))
raise osv.except_osv(_('Warning'),_('The Pricelist is already applied to the sales order!'))

if sale_obj['state'] == 'draft':
sale_order_pool.write(cr, uid, context['active_id'], {'pricelist_id': pricelist_id.id})
Expand All @@ -48,7 +48,7 @@ def change_pricelist_products(self, cr, uid, ids, context):
if 'price_unit' in vals['value'].keys():
order_line_obj.write(cr, uid, line.id, {'price_unit': vals['value']['price_unit']},context=context)
else:
raise osv.except_osv(_('Warning'),_('PriceList cannot be changed! Make sure the Sale Order is in "Quotation" state!'))
raise osv.except_osv(_('Warning'),_('PriceList cannot be changed! Make sure the Sales Order is in "Quotation" state!'))
return {}

sale_extended_wizard()
Expand Down

0 comments on commit c5f70e1

Please sign in to comment.