← Back to team overview

credativ team mailing list archive

Re: [Question #186589]: how to customize the ordered stae in sales order form.

 

Question #186589 on OpenERP Server changed:
https://answers.launchpad.net/openobject-server/+question/186589

    Status: Open => Answered

Gautam proposed the following answer:
Hi, 
Its defined in openobject-addons/sale/sale.py:
'state': fields.selection([
            ('draft', 'Quotation'),
            ('waiting_date', 'Waiting Schedule'),
            ('manual', 'To Invoice'),
            ('progress', 'In Progress'),
            ('shipping_except', 'Shipping Exception'),
            ('invoice_except', 'Invoice Exception'),
            ('done', 'Done'),
            ('cancel', 'Cancelled')
            ], 'Order State', readonly=True, help="Givwizard = self.browse(cr, uid, ids)[0]es the state of the quotation or sales order. \nThe exception state is automatically set when a cancel operation occurs in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception). \nThe 'Waiting Schedule' state is set when the invoice is confirmed but waiting for the scheduler to run on the order date.", select=True),
        

You can write a module to override the labels.

-- 
You received this question notification because you are a member of
OpenERP Framework Experts, which is an answer contact for OpenERP
Server.